13 references to Scan
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.ApiProjection.cs (3)
215var declarations = GoDeclarationScanner.Scan( 267var declarations = GoDeclarationScanner.Scan( 861var 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)
473var declarations = GoDeclarationScanner.Scan(source, includeBodyDocs: true); 512var constant = Assert.Single(GoDeclarationScanner.Scan(source, includeBodyDocs: false), declaration => declaration.Kind == GoDeclarationKind.Constant); 537var declarations = GoDeclarationScanner.Scan(source, includeBodyDocs: false); 552var declarations = GoDeclarationScanner.Scan(s_generated.Value["base.go"], includeBodyDocs: false); 703.SelectMany(file => GoDeclarationScanner.Scan(s_generated.Value[file], includeBodyDocs: false))