13 references to Scan
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.ApiProjection.cs (3)
215
var declarations = GoDeclarationScanner.
Scan
(
267
var declarations = GoDeclarationScanner.
Scan
(
861
var helpers = GoDeclarationScanner.
Scan
(
GoDeclarationScanner.cs (5)
125
/// Scans the hand-written runtime source like <see cref="
Scan
"/> without body documentation, but throws
126
/// when the source declares an exported construct that <see cref="
Scan
"/> does not model.
129
/// <see cref="
Scan
"/> skips such a construct or reads only the first line of it, so the export would
143
?
Scan
(source, includeBodyDocs: false)
186
/// <see cref="
Scan
"/> skips unexported types, but some of them are part of what an exported type
Aspire.Hosting.CodeGeneration.Go.Tests (5)
GoApiExportTests.cs (5)
473
var declarations = GoDeclarationScanner.
Scan
(source, includeBodyDocs: true);
512
var constant = Assert.Single(GoDeclarationScanner.
Scan
(source, includeBodyDocs: false), declaration => declaration.Kind == GoDeclarationKind.Constant);
537
var declarations = GoDeclarationScanner.
Scan
(source, includeBodyDocs: false);
552
var declarations = GoDeclarationScanner.
Scan
(s_generated.Value["base.go"], includeBodyDocs: false);
703
.SelectMany(file => GoDeclarationScanner.
Scan
(s_generated.Value[file], includeBodyDocs: false))