9 references to IsExported
Aspire.Hosting.CodeGeneration.Go (9)
GoDeclarationScanner.cs (9)
250
if (!
IsExported
(name))
309
if (space <= 0 || !
IsExported
(declaration[..space]))
353
if (!
IsExported
(name))
390
if (!
IsExported
(functionName))
437
if (parts.Length == 2 &&
IsExported
(parts[0]))
480
"var" => rest.StartsWith('(') ||
IsExported
(rest),
481
"const" =>
IsExported
(rest),
482
"type" => rest.StartsWith('(') || (
IsExported
(rest) && CutBody(line).EndsWith(" interface", StringComparison.Ordinal)),
483
"func" =>
IsExported
(rest.StartsWith('(') ? rest[(rest.IndexOf(')') + 1)..].TrimStart() : rest)