Skip to content

[I] ModelStatementNode

Extends

Properties

PropertyModifierTypeDescriptionOverridesInherited from
_id?publicnumberUnique id across the process used to look up NodeLinks-BaseNode._id
bodyRangereadonlyTextRange---
decoratorsreadonlyreadonly DecoratorExpressionNode[]---
directives?readonlyreadonly DirectiveExpressionNode[]--BaseNode.directives
docs?readonlyreadonly DocNode[]--BaseNode.docs
endreadonlynumberThe ending position measured in UTF-16 code units from the start of the full string. Exclusive.-BaseNode.end
extends?readonlyExpression---
flagsreadonlyNodeFlags--BaseNode.flags
idreadonlyIdentifierNode--DeclarationNode.id
is?readonlyExpression---
kindreadonlyModelStatement-BaseNode.kind-
locals?readonlySymbolTable--TemplateDeclarationNode.locals
parent?readonlyTypeSpecScriptNode | NamespaceStatementNode-BaseNode.parent-
posreadonlynumberThe starting position of the ranger measured in UTF-16 code units from the start of the full string. Inclusive.-BaseNode.pos
propertiesreadonlyreadonly (ModelPropertyNode | ModelSpreadPropertyNode)[]---
symbolreadonlySymCould 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
templateParametersreadonlyreadonly TemplateParameterDeclarationNode[]--TemplateDeclarationNode.templateParameters
templateParametersRangereadonlyTextRange--TemplateDeclarationNode.templateParametersRange