Skip to content

[I] EnumStatementNode

Extends

Properties

PropertyModifierTypeDescriptionOverridesInherited from
_id?publicnumberUnique id across the process used to look up NodeLinks-BaseNode._id
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
flagsreadonlyNodeFlags--BaseNode.flags
idreadonlyIdentifierNode--DeclarationNode.id
kindreadonlyEnumStatement-BaseNode.kind-
membersreadonlyreadonly (EnumMemberNode | EnumSpreadMemberNode)[]---
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
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