Skip to main contentModule document
Source - DocumentAnalysis
- Result of document-level analysis: source, AST, diagnostics, scope, types, definition map, doc maps, class hierarchy.
- DocumentAnalysisOptions
- Options for building a
DocumentAnalysis.
- RootSymbolKind
- Kind of root-level symbol for definition map (matches scope seeding order).
- build_class_super
- Build map
class_name -> superclass_name from the AST (for visibility: subclass can see protected). - build_definition_map
- Build (name, kind) -> (path, start, end) for root-level symbols (includes first, then main).
- decl_span_for_name_span
- Find the declaration node span (for
doc_map lookup) that contains the given name span.