Skip to main content
Version: Next 🚧

[I] ScalarConstructorNode

Extends

Properties

PropertyModifierTypeDescriptionOverridesInherited from
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
flagsreadonlyNodeFlags--BaseNode.flags
idreadonlyIdentifierNode---
kindreadonlyScalarConstructor-BaseNode.kind-
parametersreadonlyFunctionParameterNode[]---
parent?readonlyScalarStatementNode-BaseNode.parent-
posreadonlynumberThe starting position of the ranger measured in UTF-16 code units from the start of the full string. Inclusive.-BaseNode.pos
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