_id? | public | number | Unique id across the process used to look up NodeLinks | - | BaseNode ._id |
comments | readonly | readonly Comment [] | - | - | - |
directives? | readonly | readonly DirectiveExpressionNode [] | - | - | BaseNode .directives |
docs? | readonly | readonly DocNode [] | - | - | BaseNode .docs |
end | readonly | number | The ending position measured in UTF-16 code units from the start of the full string. Exclusive. | - | BaseNode .end |
file | readonly | SourceFile | - | - | - |
flags | readonly | NodeFlags | - | - | BaseNode .flags |
id | readonly | IdentifierNode | - | - | DeclarationNode .id |
inScopeNamespaces | readonly | readonly NamespaceStatementNode [] | - | - | - |
kind | readonly | TypeSpecScript | - | BaseNode .kind | - |
locals | readonly | SymbolTable | - | - | - |
namespaces | readonly | NamespaceStatementNode [] | - | - | - |
parent? | readonly | Node | - | - | BaseNode .parent |
parseDiagnostics | readonly | readonly Diagnostic [] | - | - | - |
parseOptions | readonly | ParseOptions | - | - | - |
pos | readonly | number | The starting position of the ranger measured in UTF-16 code units from the start of the full string. Inclusive. | - | BaseNode .pos |
printable | readonly | boolean | - | - | - |
statements | readonly | readonly Statement [] | - | - | - |
symbol | readonly | Sym | Could be undefined but making this optional creates a lot of noise. In practice, you will likely only access symbol in cases where you know the node has a symbol. | - | BaseNode .symbol |
usings | readonly | readonly UsingStatementNode [] | - | - | - |