AST Specification
The following auto-generated documentation describes the Abstract Syntax Tree (AST) generated by @typescript-eslint/typescript-estree for parsers such as @typescript-eslint/parser.
Enumerationsโ
AST_NODE_TYPESโ
Defined in: ast-node-types.ts:1
Enumeration Membersโ
| Enumeration Member | Value | Defined in |
|---|---|---|
AccessorProperty | "AccessorProperty" | ast-node-types.ts:2 |
ArrayExpression | "ArrayExpression" | ast-node-types.ts:3 |
ArrayPattern | "ArrayPattern" | ast-node-types.ts:4 |
ArrowFunctionExpression | "ArrowFunctionExpression" | ast-node-types.ts:5 |
AssignmentExpression | "AssignmentExpression" | ast-node-types.ts:6 |
AssignmentPattern | "AssignmentPattern" | ast-node-types.ts:7 |
AwaitExpression | "AwaitExpression" | ast-node-types.ts:8 |
BinaryExpression | "BinaryExpression" | ast-node-types.ts:9 |
BlockStatement | "BlockStatement" | ast-node-types.ts:10 |
BreakStatement | "BreakStatement" | ast-node-types.ts:11 |
CallExpression | "CallExpression" | ast-node-types.ts:12 |
CatchClause | "CatchClause" | ast-node-types.ts:13 |
ChainExpression | "ChainExpression" | ast-node-types.ts:14 |
ClassBody | "ClassBody" | ast-node-types.ts:15 |
ClassDeclaration | "ClassDeclaration" | ast-node-types.ts:16 |
ClassExpression | "ClassExpression" | ast-node-types.ts:17 |
ConditionalExpression | "ConditionalExpression" | ast-node-types.ts:18 |
ContinueStatement | "ContinueStatement" | ast-node-types.ts:19 |
DebuggerStatement | "DebuggerStatement" | ast-node-types.ts:20 |
Decorator | "Decorator" | ast-node-types.ts:21 |
DoWhileStatement | "DoWhileStatement" | ast-node-types.ts:22 |
EmptyStatement | "EmptyStatement" | ast-node-types.ts:23 |
ExportAllDeclaration | "ExportAllDeclaration" | ast-node-types.ts:24 |
ExportDefaultDeclaration | "ExportDefaultDeclaration" | ast-node-types.ts:25 |
ExportNamedDeclaration | "ExportNamedDeclaration" | ast-node-types.ts:26 |
ExportSpecifier | "ExportSpecifier" | ast-node-types.ts:27 |
ExpressionStatement | "ExpressionStatement" | ast-node-types.ts:28 |
ForInStatement | "ForInStatement" | ast-node-types.ts:29 |
ForOfStatement | "ForOfStatement" | ast-node-types.ts:30 |
ForStatement | "ForStatement" | ast-node-types.ts:31 |
FunctionDeclaration | "FunctionDeclaration" | ast-node-types.ts:32 |
FunctionExpression | "FunctionExpression" | ast-node-types.ts:33 |
Identifier | "Identifier" | ast-node-types.ts:34 |
IfStatement | "IfStatement" | ast-node-types.ts:35 |
ImportAttribute | "ImportAttribute" | ast-node-types.ts:36 |
ImportDeclaration | "ImportDeclaration" | ast-node-types.ts:37 |
ImportDefaultSpecifier | "ImportDefaultSpecifier" | ast-node-types.ts:38 |
ImportExpression | "ImportExpression" | ast-node-types.ts:39 |
ImportNamespaceSpecifier | "ImportNamespaceSpecifier" | ast-node-types.ts:40 |
ImportSpecifier | "ImportSpecifier" | ast-node-types.ts:41 |
JSXAttribute | "JSXAttribute" | ast-node-types.ts:42 |
JSXClosingElement | "JSXClosingElement" | ast-node-types.ts:43 |
JSXClosingFragment | "JSXClosingFragment" | ast-node-types.ts:44 |
JSXElement | "JSXElement" | ast-node-types.ts:45 |
JSXEmptyExpression | "JSXEmptyExpression" | ast-node-types.ts:46 |
JSXExpressionContainer | "JSXExpressionContainer" | ast-node-types.ts:47 |
JSXFragment | "JSXFragment" | ast-node-types.ts:48 |
JSXIdentifier | "JSXIdentifier" | ast-node-types.ts:49 |
JSXMemberExpression | "JSXMemberExpression" | ast-node-types.ts:50 |
JSXNamespacedName | "JSXNamespacedName" | ast-node-types.ts:51 |
JSXOpeningElement | "JSXOpeningElement" | ast-node-types.ts:52 |
JSXOpeningFragment | "JSXOpeningFragment" | ast-node-types.ts:53 |
JSXSpreadAttribute | "JSXSpreadAttribute" | ast-node-types.ts:54 |
JSXSpreadChild | "JSXSpreadChild" | ast-node-types.ts:55 |
JSXText | "JSXText" | ast-node-types.ts:56 |
LabeledStatement | "LabeledStatement" | ast-node-types.ts:57 |
Literal | "Literal" | ast-node-types.ts:58 |
LogicalExpression | "LogicalExpression" | ast-node-types.ts:59 |
MemberExpression | "MemberExpression" | ast-node-types.ts:60 |
MetaProperty | "MetaProperty" | ast-node-types.ts:61 |
MethodDefinition | "MethodDefinition" | ast-node-types.ts:62 |
NewExpression | "NewExpression" | ast-node-types.ts:63 |
ObjectExpression | "ObjectExpression" | ast-node-types.ts:64 |
ObjectPattern | "ObjectPattern" | ast-node-types.ts:65 |
PrivateIdentifier | "PrivateIdentifier" | ast-node-types.ts:66 |
Program | "Program" | ast-node-types.ts:67 |
Property | "Property" | ast-node-types.ts:68 |
PropertyDefinition | "PropertyDefinition" | ast-node-types.ts:69 |
RestElement | "RestElement" | ast-node-types.ts:70 |
ReturnStatement | "ReturnStatement" | ast-node-types.ts:71 |
SequenceExpression | "SequenceExpression" | ast-node-types.ts:72 |
SpreadElement | "SpreadElement" | ast-node-types.ts:73 |
StaticBlock | "StaticBlock" | ast-node-types.ts:74 |
Super | "Super" | ast-node-types.ts:75 |
SwitchCase | "SwitchCase" | ast-node-types.ts:76 |
SwitchStatement | "SwitchStatement" | ast-node-types.ts:77 |
TaggedTemplateExpression | "TaggedTemplateExpression" | ast-node-types.ts:78 |
TemplateElement | "TemplateElement" | ast-node-types.ts:79 |
TemplateLiteral | "TemplateLiteral" | ast-node-types.ts:80 |
ThisExpression | "ThisExpression" | ast-node-types.ts:81 |
ThrowStatement | "ThrowStatement" | ast-node-types.ts:82 |
TryStatement | "TryStatement" | ast-node-types.ts:83 |
TSAbstractAccessorProperty | "TSAbstractAccessorProperty" | ast-node-types.ts:93 |
TSAbstractKeyword | "TSAbstractKeyword" | ast-node-types.ts:94 |
TSAbstractMethodDefinition | "TSAbstractMethodDefinition" | ast-node-types.ts:95 |
TSAbstractPropertyDefinition | "TSAbstractPropertyDefinition" | ast-node-types.ts:96 |
TSAnyKeyword | "TSAnyKeyword" | ast-node-types.ts:97 |
TSArrayType | "TSArrayType" | ast-node-types.ts:98 |
TSAsExpression | "TSAsExpression" | ast-node-types.ts:99 |
TSAsyncKeyword | "TSAsyncKeyword" | ast-node-types.ts:100 |
TSBigIntKeyword | "TSBigIntKeyword" | ast-node-types.ts:101 |
TSBooleanKeyword | "TSBooleanKeyword" | ast-node-types.ts:102 |
TSCallSignatureDeclaration | "TSCallSignatureDeclaration" | ast-node-types.ts:103 |
TSClassImplements | "TSClassImplements" | ast-node-types.ts:104 |
TSConditionalType | "TSConditionalType" | ast-node-types.ts:105 |
TSConstructorType | "TSConstructorType" | ast-node-types.ts:106 |
TSConstructSignatureDeclaration | "TSConstructSignatureDeclaration" | ast-node-types.ts:107 |
TSDeclareFunction | "TSDeclareFunction" | ast-node-types.ts:108 |
TSDeclareKeyword | "TSDeclareKeyword" | ast-node-types.ts:109 |
TSEmptyBodyFunctionExpression | "TSEmptyBodyFunctionExpression" | ast-node-types.ts:110 |
TSEnumBody | "TSEnumBody" | ast-node-types.ts:111 |
TSEnumDeclaration | "TSEnumDeclaration" | ast-node-types.ts:112 |
TSEnumMember | "TSEnumMember" | ast-node-types.ts:113 |
TSExportAssignment | "TSExportAssignment" | ast-node-types.ts:114 |
TSExportKeyword | "TSExportKeyword" | ast-node-types.ts:115 |
TSExternalModuleReference | "TSExternalModuleReference" | ast-node-types.ts:116 |
TSFunctionType | "TSFunctionType" | ast-node-types.ts:117 |
TSImportEqualsDeclaration | "TSImportEqualsDeclaration" | ast-node-types.ts:118 |
TSImportType | "TSImportType" | ast-node-types.ts:119 |
TSIndexedAccessType | "TSIndexedAccessType" | ast-node-types.ts:120 |
TSIndexSignature | "TSIndexSignature" | ast-node-types.ts:121 |
TSInferType | "TSInferType" | ast-node-types.ts:122 |
TSInstantiationExpression | "TSInstantiationExpression" | ast-node-types.ts:123 |
TSInterfaceBody | "TSInterfaceBody" | ast-node-types.ts:124 |
TSInterfaceDeclaration | "TSInterfaceDeclaration" | ast-node-types.ts:125 |
TSInterfaceHeritage | "TSInterfaceHeritage" | ast-node-types.ts:126 |
TSIntersectionType | "TSIntersectionType" | ast-node-types.ts:127 |
TSIntrinsicKeyword | "TSIntrinsicKeyword" | ast-node-types.ts:128 |
TSLiteralType | "TSLiteralType" | ast-node-types.ts:129 |
TSMappedType | "TSMappedType" | ast-node-types.ts:130 |
TSMethodSignature | "TSMethodSignature" | ast-node-types.ts:131 |
TSModuleBlock | "TSModuleBlock" | ast-node-types.ts:132 |
TSModuleDeclaration | "TSModuleDeclaration" | ast-node-types.ts:133 |
TSNamedTupleMember | "TSNamedTupleMember" | ast-node-types.ts:134 |
TSNamespaceExportDeclaration | "TSNamespaceExportDeclaration" | ast-node-types.ts:135 |
TSNeverKeyword | "TSNeverKeyword" | ast-node-types.ts:136 |
TSNonNullExpression | "TSNonNullExpression" | ast-node-types.ts:137 |
TSNullKeyword | "TSNullKeyword" | ast-node-types.ts:138 |
TSNumberKeyword | "TSNumberKeyword" | ast-node-types.ts:139 |
TSObjectKeyword | "TSObjectKeyword" | ast-node-types.ts:140 |
TSOptionalType | "TSOptionalType" | ast-node-types.ts:141 |
TSParameterProperty | "TSParameterProperty" | ast-node-types.ts:142 |
TSPrivateKeyword | "TSPrivateKeyword" | ast-node-types.ts:143 |
TSPropertySignature | "TSPropertySignature" | ast-node-types.ts:144 |
TSProtectedKeyword | "TSProtectedKeyword" | ast-node-types.ts:145 |
TSPublicKeyword | "TSPublicKeyword" | ast-node-types.ts:146 |
TSQualifiedName | "TSQualifiedName" | ast-node-types.ts:147 |
TSReadonlyKeyword | "TSReadonlyKeyword" | ast-node-types.ts:148 |
TSRestType | "TSRestType" | ast-node-types.ts:149 |
TSSatisfiesExpression | "TSSatisfiesExpression" | ast-node-types.ts:150 |
TSStaticKeyword | "TSStaticKeyword" | ast-node-types.ts:151 |
TSStringKeyword | "TSStringKeyword" | ast-node-types.ts:152 |
TSSymbolKeyword | "TSSymbolKeyword" | ast-node-types.ts:153 |
TSTemplateLiteralType | "TSTemplateLiteralType" | ast-node-types.ts:154 |
TSThisType | "TSThisType" | ast-node-types.ts:155 |
TSTupleType | "TSTupleType" | ast-node-types.ts:156 |
TSTypeAliasDeclaration | "TSTypeAliasDeclaration" | ast-node-types.ts:157 |
TSTypeAnnotation | "TSTypeAnnotation" | ast-node-types.ts:158 |
TSTypeAssertion | "TSTypeAssertion" | ast-node-types.ts:159 |
TSTypeLiteral | "TSTypeLiteral" | ast-node-types.ts:160 |
TSTypeOperator | "TSTypeOperator" | ast-node-types.ts:161 |
TSTypeParameter | "TSTypeParameter" | ast-node-types.ts:162 |
TSTypeParameterDeclaration | "TSTypeParameterDeclaration" | ast-node-types.ts:163 |
TSTypeParameterInstantiation | "TSTypeParameterInstantiation" | ast-node-types.ts:164 |
TSTypePredicate | "TSTypePredicate" | ast-node-types.ts:165 |
TSTypeQuery | "TSTypeQuery" | ast-node-types.ts:166 |
TSTypeReference | "TSTypeReference" | ast-node-types.ts:167 |
TSUndefinedKeyword | "TSUndefinedKeyword" | ast-node-types.ts:168 |
TSUnionType | "TSUnionType" | ast-node-types.ts:169 |
TSUnknownKeyword | "TSUnknownKeyword" | ast-node-types.ts:170 |
TSVoidKeyword | "TSVoidKeyword" | ast-node-types.ts:171 |
UnaryExpression | "UnaryExpression" | ast-node-types.ts:84 |
UpdateExpression | "UpdateExpression" | ast-node-types.ts:85 |
VariableDeclaration | "VariableDeclaration" | ast-node-types.ts:86 |
VariableDeclarator | "VariableDeclarator" | ast-node-types.ts:87 |
WhileStatement | "WhileStatement" | ast-node-types.ts:88 |
WithStatement | "WithStatement" | ast-node-types.ts:89 |
YieldExpression | "YieldExpression" | ast-node-types.ts:90 |
AST_TOKEN_TYPESโ
Defined in: ast-token-types.ts:1
Enumeration Membersโ
| Enumeration Member | Value | Defined in |
|---|---|---|
Block | "Block" | ast-token-types.ts:16 |
Boolean | "Boolean" | ast-token-types.ts:2 |
Identifier | "Identifier" | ast-token-types.ts:3 |
JSXIdentifier | "JSXIdentifier" | ast-token-types.ts:4 |
JSXText | "JSXText" | ast-token-types.ts:6 |
Keyword | "Keyword" | ast-token-types.ts:7 |
Line | "Line" | ast-token-types.ts:17 |
Null | "Null" | ast-token-types.ts:8 |
Numeric | "Numeric" | ast-token-types.ts:9 |
PrivateIdentifier | "PrivateIdentifier" | ast-token-types.ts:5 |
Punctuator | "Punctuator" | ast-token-types.ts:10 |
RegularExpression | "RegularExpression" | ast-token-types.ts:11 |
String | "String" | ast-token-types.ts:12 |
Template | "Template" | ast-token-types.ts:13 |
Interfacesโ
AccessorPropertyComputedNameโ
Defined in: element/AccessorProperty/spec.ts:7
Extendsโ
PropertyDefinitionComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | true | - | - | PropertyDefinitionComputedNameBase.computed | base/PropertyDefinitionBase.ts:29 |
declare | boolean | - | - | PropertyDefinitionComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | Expression | - | - | PropertyDefinitionComputedNameBase.key | base/PropertyDefinitionBase.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | AccessorProperty | - | PropertyDefinitionComputedNameBase.type | - | element/AccessorProperty/spec.ts:8 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | Expression | - | - | PropertyDefinitionComputedNameBase.value | base/PropertyDefinitionBase.ts:25 |
AccessorPropertyNonComputedNameโ
Defined in: element/AccessorProperty/spec.ts:11
Extendsโ
PropertyDefinitionNonComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionNonComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | false | - | - | PropertyDefinitionNonComputedNameBase.computed | base/PropertyDefinitionBase.ts:34 |
declare | boolean | - | - | PropertyDefinitionNonComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionNonComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionNonComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | PropertyNameNonComputed | - | - | PropertyDefinitionNonComputedNameBase.key | base/PropertyDefinitionBase.ts:35 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionNonComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionNonComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionNonComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionNonComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionNonComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionNonComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | AccessorProperty | - | PropertyDefinitionNonComputedNameBase.type | - | element/AccessorProperty/spec.ts:12 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionNonComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | Expression | - | - | PropertyDefinitionNonComputedNameBase.value | base/PropertyDefinitionBase.ts:25 |
ArrayExpressionโ
Defined in: expression/ArrayExpression/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
elements | ( | null | Expression | SpreadElement)[] | an element will be null in the case of a sparse array: [1, ,3] | - | - | expression/ArrayExpression/spec.ts:11 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ArrayExpression | - | BaseNode.type | - | expression/ArrayExpression/spec.ts:7 |
ArrayPatternโ
Defined in: parameter/ArrayPattern/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
decorators | Decorator[] | - | - | - | parameter/ArrayPattern/spec.ts:9 |
elements | (null | DestructuringPattern)[] | - | - | - | parameter/ArrayPattern/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | - | parameter/ArrayPattern/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ArrayPattern | - | BaseNode.type | - | parameter/ArrayPattern/spec.ts:8 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | - | parameter/ArrayPattern/spec.ts:12 |
ArrowFunctionExpressionโ
Defined in: expression/ArrowFunctionExpression/spec.ts:9
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | boolean | - | - | - | expression/ArrowFunctionExpression/spec.ts:11 |
body | Expression | BlockStatement | - | - | - | expression/ArrowFunctionExpression/spec.ts:12 |
expression | boolean | - | - | - | expression/ArrowFunctionExpression/spec.ts:13 |
generator | false | - | - | - | expression/ArrowFunctionExpression/spec.ts:14 |
id | null | - | - | - | expression/ArrowFunctionExpression/spec.ts:15 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | - | - | - | expression/ArrowFunctionExpression/spec.ts:16 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | - | - | - | expression/ArrowFunctionExpression/spec.ts:17 |
type | ArrowFunctionExpression | - | BaseNode.type | - | expression/ArrowFunctionExpression/spec.ts:10 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | - | expression/ArrowFunctionExpression/spec.ts:18 |
AssignmentExpressionโ
Defined in: expression/AssignmentExpression/spec.ts:9
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
left | Expression | - | - | - | expression/AssignmentExpression/spec.ts:11 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
operator | ValueOf<AssignmentOperatorToText> | - | - | - | expression/AssignmentExpression/spec.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | expression/AssignmentExpression/spec.ts:13 |
type | AssignmentExpression | - | BaseNode.type | - | expression/AssignmentExpression/spec.ts:10 |
AssignmentOperatorToTextโ
Defined in: expression/AssignmentExpression/AssignmentOperatorToText.ts:3
Extended byโ
Propertiesโ
AssignmentPatternโ
Defined in: parameter/AssignmentPattern/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
decorators | Decorator[] | - | - | - | parameter/AssignmentPattern/spec.ts:10 |
left | BindingName | - | - | - | parameter/AssignmentPattern/spec.ts:11 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | - | parameter/AssignmentPattern/spec.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | parameter/AssignmentPattern/spec.ts:13 |
type | AssignmentPattern | - | BaseNode.type | - | parameter/AssignmentPattern/spec.ts:9 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | - | parameter/AssignmentPattern/spec.ts:14 |
AwaitExpressionโ
Defined in: expression/AwaitExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | Expression | - | - | - | expression/AwaitExpression/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | AwaitExpression | - | BaseNode.type | - | expression/AwaitExpression/spec.ts:6 |
BaseNodeโ
Defined in: base/BaseNode.ts:5
Extendsโ
Extended byโ
ExportAllDeclarationExportDefaultDeclarationImportDeclarationTSEnumDeclarationTSInterfaceDeclarationTSNamespaceExportDeclarationTSTypeAliasDeclarationSpreadElementStaticBlockTSEnumMemberTSIndexSignatureArrayExpressionArrowFunctionExpressionAssignmentExpressionAwaitExpressionPrivateInExpressionSymmetricBinaryExpressionCallExpressionChainExpressionConditionalExpressionIdentifierImportExpressionJSXElementJSXFragmentLogicalExpressionMetaPropertyNewExpressionObjectExpressionSequenceExpressionSuperTaggedTemplateExpressionTemplateLiteralThisExpressionTSAsExpressionTSInstantiationExpressionTSNonNullExpressionTSSatisfiesExpressionTSTypeAssertionYieldExpressionJSXAttributeJSXClosingElementJSXClosingFragmentJSXEmptyExpressionJSXExpressionContainerJSXIdentifierJSXMemberExpressionJSXNamespacedNameJSXOpeningElementJSXOpeningFragmentJSXSpreadAttributeJSXSpreadChildJSXTextArrayPatternAssignmentPatternObjectPatternRestElementTSParameterPropertyCatchClauseClassBodyDecoratorEmptyStatementImportAttributeImportDefaultSpecifierImportNamespaceSpecifierImportSpecifierPrivateIdentifierSwitchCaseTemplateElementTSEnumBodyTSExternalModuleReferenceTSInterfaceBodyTSModuleBlockTSTypeAnnotationTSTypeParameterTSTypeParameterDeclarationTSTypeParameterInstantiationBlockStatementBreakStatementContinueStatementDebuggerStatementDoWhileStatementExpressionStatementForInStatementForOfStatementForStatementIfStatementLabeledStatementReturnStatementSwitchStatementThrowStatementTryStatementTSExportAssignmentWhileStatementWithStatementTSAbstractKeywordTSAnyKeywordTSArrayTypeTSAsyncKeywordTSBigIntKeywordTSBooleanKeywordTSConditionalTypeTSDeclareKeywordTSExportKeywordTSImportTypeTSIndexedAccessTypeTSInferTypeTSIntersectionTypeTSIntrinsicKeywordTSLiteralTypeTSMappedTypeTSNamedTupleMemberTSNeverKeywordTSNullKeywordTSNumberKeywordTSObjectKeywordTSOptionalTypeTSPrivateKeywordTSProtectedKeywordTSPublicKeywordTSQualifiedNameTSReadonlyKeywordTSRestTypeTSStaticKeywordTSStringKeywordTSSymbolKeywordTSTemplateLiteralTypeTSThisTypeTSTupleTypeTSTypeLiteralTSTypeOperatorTSTypePredicateTSTypeQueryTSTypeReferenceTSUndefinedKeywordTSUnionTypeTSUnknownKeywordTSVoidKeyword
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | NodeOrTokenData.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | NodeOrTokenData.range | base/NodeOrTokenData.ts:14 |
type | AST_NODE_TYPES | - | NodeOrTokenData.type | - | base/BaseNode.ts:6 |
BigIntLiteralโ
Defined in: expression/literal/BigIntLiteral/spec.ts:3
Extendsโ
LiteralBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
bigint | string | - | - | - | expression/literal/BigIntLiteral/spec.ts:4 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LiteralBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LiteralBase.range | base/NodeOrTokenData.ts:14 |
raw | string | - | - | LiteralBase.raw | base/LiteralBase.ts:6 |
type | Literal | - | - | LiteralBase.type | base/LiteralBase.ts:5 |
value | null | bigint | - | LiteralBase.value | - | expression/literal/BigIntLiteral/spec.ts:5 |
BinaryOperatorToTextโ
Defined in: expression/BinaryExpression/BinaryOperatorToText.ts:4
Propertiesโ
BlockCommentโ
Defined in: token/BlockComment/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Block | - | BaseToken.type | - | token/BlockComment/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
BlockStatementโ
Defined in: statement/BlockStatement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement[] | - | - | - | statement/BlockStatement/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | BlockStatement | - | BaseNode.type | - | statement/BlockStatement/spec.ts:6 |
BooleanLiteralโ
Defined in: expression/literal/BooleanLiteral/spec.ts:3
Extendsโ
LiteralBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LiteralBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LiteralBase.range | base/NodeOrTokenData.ts:14 |
raw | "false" | "true" | - | LiteralBase.raw | - | expression/literal/BooleanLiteral/spec.ts:4 |
type | Literal | - | - | LiteralBase.type | base/LiteralBase.ts:5 |
value | boolean | - | LiteralBase.value | - | expression/literal/BooleanLiteral/spec.ts:5 |
BooleanTokenโ
Defined in: token/BooleanToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Boolean | - | BaseToken.type | - | token/BooleanToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
BreakStatementโ
Defined in: statement/BreakStatement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
label | null | Identifier | - | - | - | statement/BreakStatement/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | BreakStatement | - | BaseNode.type | - | statement/BreakStatement/spec.ts:6 |
CallExpressionโ
Defined in: expression/CallExpression/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
arguments | CallExpressionArgument[] | - | - | - | expression/CallExpression/spec.ts:9 |
callee | Expression | - | - | - | expression/CallExpression/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | - | expression/CallExpression/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | CallExpression | - | BaseNode.type | - | expression/CallExpression/spec.ts:8 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | - | expression/CallExpression/spec.ts:12 |
CatchClauseโ
Defined in: special/CatchClause/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | BlockStatement | - | - | - | special/CatchClause/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
param | null | BindingName | - | - | - | special/CatchClause/spec.ts:9 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | CatchClause | - | BaseNode.type | - | special/CatchClause/spec.ts:7 |
ChainExpressionโ
Defined in: expression/ChainExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | ChainElement | - | - | - | expression/ChainExpression/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ChainExpression | - | BaseNode.type | - | expression/ChainExpression/spec.ts:6 |
ClassBodyโ
Defined in: special/ClassBody/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | ClassElement[] | - | - | - | special/ClassBody/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ClassBody | - | BaseNode.type | - | special/ClassBody/spec.ts:6 |
ClassDeclarationWithNameโ
Defined in: declaration/ClassDeclaration/spec.ts:15
A normal class declaration:
class A {}
Extendsโ
ClassDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
abstract | boolean | Whether the class is an abstract class. Example abstract class Foo {} | - | ClassDeclarationBase.abstract | base/ClassBase.ts:18 |
body | ClassBody | The class body. | - | ClassDeclarationBase.body | base/ClassBase.ts:22 |
declare | boolean | Whether the class has been declared: Example declare class Foo {} | - | ClassDeclarationBase.declare | base/ClassBase.ts:30 |
decorators | Decorator[] | The decorators declared for the class. Example @deco class Foo {} | - | ClassDeclarationBase.decorators | base/ClassBase.ts:39 |
id | Identifier | The class's name. - For a ClassExpression this may be null if the name is omitted. - For a ClassDeclaration this may be null if and only if the parent is an ExportDefaultDeclaration. | ClassDeclarationBase.id | - | declaration/ClassDeclaration/spec.ts:16 |
implements | TSClassImplements[] | The implemented interfaces for the class. | - | ClassDeclarationBase.implements | base/ClassBase.ts:50 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ClassDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | ClassDeclarationBase.range | base/NodeOrTokenData.ts:14 |
superClass | null | LeftHandSideExpression | The super class this class extends. | - | ClassDeclarationBase.superClass | base/ClassBase.ts:54 |
superTypeArguments | | undefined | TSTypeParameterInstantiation | The generic type parameters passed to the superClass. | - | ClassDeclarationBase.superTypeArguments | base/ClassBase.ts:58 |
type | ClassDeclaration | - | - | ClassDeclarationBase.type | declaration/ClassDeclaration/spec.ts:6 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameters declared for the class. | - | ClassDeclarationBase.typeParameters | base/ClassBase.ts:62 |
ClassDeclarationWithOptionalNameโ
Defined in: declaration/ClassDeclaration/spec.ts:25
Default-exported class declarations have optional names:
export default class {}
Extendsโ
ClassDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
abstract | boolean | Whether the class is an abstract class. Example abstract class Foo {} | - | ClassDeclarationBase.abstract | base/ClassBase.ts:18 |
body | ClassBody | The class body. | - | ClassDeclarationBase.body | base/ClassBase.ts:22 |
declare | boolean | Whether the class has been declared: Example declare class Foo {} | - | ClassDeclarationBase.declare | base/ClassBase.ts:30 |
decorators | Decorator[] | The decorators declared for the class. Example @deco class Foo {} | - | ClassDeclarationBase.decorators | base/ClassBase.ts:39 |
id | null | Identifier | The class's name. - For a ClassExpression this may be null if the name is omitted. - For a ClassDeclaration this may be null if and only if the parent is an ExportDefaultDeclaration. | ClassDeclarationBase.id | - | declaration/ClassDeclaration/spec.ts:26 |
implements | TSClassImplements[] | The implemented interfaces for the class. | - | ClassDeclarationBase.implements | base/ClassBase.ts:50 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ClassDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | ClassDeclarationBase.range | base/NodeOrTokenData.ts:14 |
superClass | null | LeftHandSideExpression | The super class this class extends. | - | ClassDeclarationBase.superClass | base/ClassBase.ts:54 |
superTypeArguments | | undefined | TSTypeParameterInstantiation | The generic type parameters passed to the superClass. | - | ClassDeclarationBase.superTypeArguments | base/ClassBase.ts:58 |
type | ClassDeclaration | - | - | ClassDeclarationBase.type | declaration/ClassDeclaration/spec.ts:6 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameters declared for the class. | - | ClassDeclarationBase.typeParameters | base/ClassBase.ts:62 |
ClassExpressionโ
Defined in: expression/ClassExpression/spec.ts:4
Extendsโ
ClassBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
abstract | false | Whether the class is an abstract class. Example abstract class Foo {} | ClassBase.abstract | - | expression/ClassExpression/spec.ts:6 |
body | ClassBody | The class body. | - | ClassBase.body | base/ClassBase.ts:22 |
declare | false | Whether the class has been declared: Example declare class Foo {} | ClassBase.declare | - | expression/ClassExpression/spec.ts:7 |
decorators | Decorator[] | The decorators declared for the class. Example @deco class Foo {} | - | ClassBase.decorators | base/ClassBase.ts:39 |
id | null | Identifier | The class's name. - For a ClassExpression this may be null if the name is omitted. - For a ClassDeclaration this may be null if and only if the parent is an ExportDefaultDeclaration. | - | ClassBase.id | base/ClassBase.ts:46 |
implements | TSClassImplements[] | The implemented interfaces for the class. | - | ClassBase.implements | base/ClassBase.ts:50 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ClassBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | ClassBase.range | base/NodeOrTokenData.ts:14 |
superClass | null | LeftHandSideExpression | The super class this class extends. | - | ClassBase.superClass | base/ClassBase.ts:54 |
superTypeArguments | | undefined | TSTypeParameterInstantiation | The generic type parameters passed to the superClass. | - | ClassBase.superTypeArguments | base/ClassBase.ts:58 |
type | ClassExpression | - | ClassBase.type | - | expression/ClassExpression/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameters declared for the class. | - | ClassBase.typeParameters | base/ClassBase.ts:62 |
ConditionalExpressionโ
Defined in: expression/ConditionalExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
alternate | Expression | - | - | - | expression/ConditionalExpression/spec.ts:7 |
consequent | Expression | - | - | - | expression/ConditionalExpression/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
test | Expression | - | - | - | expression/ConditionalExpression/spec.ts:9 |
type | ConditionalExpression | - | BaseNode.type | - | expression/ConditionalExpression/spec.ts:6 |
ConstDeclarationโ
Defined in: declaration/VariableDeclaration/spec.ts:73
Extendsโ
LetOrConstOrVarDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
declarations | VariableDeclaratorMaybeInit[] | In a declare const declaration, the declarators may have initializers, but not definite assignment assertions. Each declarator cannot have both an initializer and a type annotation. Even if the declaration has no declare, it may still be ambient and have no initializer. | LetOrConstOrVarDeclarationBase.declarations | - | declaration/VariableDeclaration/spec.ts:82 |
declare | boolean | Whether the declaration is declared Example declare const x = 1; | - | LetOrConstOrVarDeclarationBase.declare | declaration/VariableDeclaration/spec.ts:31 |
kind | "const" | The keyword used to declare the variable(s) Example const x = 1; let y = 2; var z = 3; | LetOrConstOrVarDeclarationBase.kind | - | declaration/VariableDeclaration/spec.ts:83 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LetOrConstOrVarDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LetOrConstOrVarDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclaration | - | - | LetOrConstOrVarDeclarationBase.type | declaration/VariableDeclaration/spec.ts:13 |
ContinueStatementโ
Defined in: statement/ContinueStatement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
label | null | Identifier | - | - | - | statement/ContinueStatement/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ContinueStatement | - | BaseNode.type | - | statement/ContinueStatement/spec.ts:6 |
DebuggerStatementโ
Defined in: statement/DebuggerStatement/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | DebuggerStatement | - | BaseNode.type | - | statement/DebuggerStatement/spec.ts:5 |
Decoratorโ
Defined in: special/Decorator/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | LeftHandSideExpression | - | - | - | special/Decorator/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | Decorator | - | BaseNode.type | - | special/Decorator/spec.ts:6 |
DoWhileStatementโ
Defined in: statement/DoWhileStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement | - | - | - | statement/DoWhileStatement/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
test | Expression | - | - | - | statement/DoWhileStatement/spec.ts:9 |
type | DoWhileStatement | - | BaseNode.type | - | statement/DoWhileStatement/spec.ts:7 |
EmptyStatementโ
Defined in: special/EmptyStatement/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | EmptyStatement | - | BaseNode.type | - | special/EmptyStatement/spec.ts:5 |
ExportAllDeclarationโ
Defined in: declaration/ExportAllDeclaration/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
assertions | ImportAttribute[] | The assertions declared for the export. Example export * from 'mod' assert \{ type: 'json' \}; Deprecated Replaced with `attributes`. | - | - | declaration/ExportAllDeclaration/spec.ts:18 |
attributes | ImportAttribute[] | The attributes declared for the export. Example export * from 'mod' with \{ type: 'json' \}; | - | - | declaration/ExportAllDeclaration/spec.ts:26 |
exported | null | Identifier | The name for the exported items (as X). null if no name is assigned. | - | - | declaration/ExportAllDeclaration/spec.ts:30 |
exportKind | ExportAndImportKind | The kind of the export. | - | - | declaration/ExportAllDeclaration/spec.ts:34 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
source | StringLiteral | The source module being exported from. | - | - | declaration/ExportAllDeclaration/spec.ts:38 |
type | ExportAllDeclaration | - | BaseNode.type | - | declaration/ExportAllDeclaration/spec.ts:9 |
ExportDefaultDeclarationโ
Defined in: declaration/ExportDefaultDeclaration/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
declaration | DefaultExportDeclarations | The declaration being exported. | - | - | declaration/ExportDefaultDeclaration/spec.ts:10 |
exportKind | "value" | The kind of the export. Always value for default exports. | - | - | declaration/ExportDefaultDeclaration/spec.ts:14 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ExportDefaultDeclaration | - | BaseNode.type | - | declaration/ExportDefaultDeclaration/spec.ts:6 |
ExportNamedDeclarationWithoutSourceWithMultipleโ
Defined in: declaration/ExportNamedDeclaration/spec.ts:68
Exporting names from the current module.
export {};
export { a, b };
Extendsโ
ExportNamedDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
assertions | ImportAttribute[] | This will always be an empty array. Deprecated Replaced with `attributes`. | ExportNamedDeclarationBase.assertions | - | declaration/ExportNamedDeclaration/spec.ts:73 |
attributes | ImportAttribute[] | This will always be an empty array. | ExportNamedDeclarationBase.attributes | - | declaration/ExportNamedDeclaration/spec.ts:77 |
declaration | null | The exported declaration. Example export const x = 1; This will be null if source is not null, or if there are specifiers | ExportNamedDeclarationBase.declaration | - | declaration/ExportNamedDeclaration/spec.ts:78 |
exportKind | ExportAndImportKind | The kind of the export. | - | ExportNamedDeclarationBase.exportKind | declaration/ExportNamedDeclaration/spec.ts:45 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ExportNamedDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | ExportNamedDeclarationBase.range | base/NodeOrTokenData.ts:14 |
source | null | The source module being exported from. | ExportNamedDeclarationBase.source | - | declaration/ExportNamedDeclaration/spec.ts:79 |
specifiers | ExportSpecifierWithIdentifierLocal[] | The specifiers being exported. Example export { a, b }; This will be an empty array if declaration is not null | ExportNamedDeclarationBase.specifiers | - | declaration/ExportNamedDeclaration/spec.ts:81 |
type | ExportNamedDeclaration | - | - | ExportNamedDeclarationBase.type | declaration/ExportNamedDeclaration/spec.ts:13 |
ExportNamedDeclarationWithoutSourceWithSingleโ
Defined in: declaration/ExportNamedDeclaration/spec.ts:90
Exporting a single named declaration.
export const x = 1;
Extendsโ
ExportNamedDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
assertions | ImportAttribute[] | This will always be an empty array. Deprecated Replaced with `attributes`. | ExportNamedDeclarationBase.assertions | - | declaration/ExportNamedDeclaration/spec.ts:95 |
attributes | ImportAttribute[] | This will always be an empty array. | ExportNamedDeclarationBase.attributes | - | declaration/ExportNamedDeclaration/spec.ts:99 |
declaration | NamedExportDeclarations | The exported declaration. Example export const x = 1; This will be null if source is not null, or if there are specifiers | ExportNamedDeclarationBase.declaration | - | declaration/ExportNamedDeclaration/spec.ts:100 |
exportKind | ExportAndImportKind | The kind of the export. | - | ExportNamedDeclarationBase.exportKind | declaration/ExportNamedDeclaration/spec.ts:45 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ExportNamedDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | ExportNamedDeclarationBase.range | base/NodeOrTokenData.ts:14 |
source | null | The source module being exported from. | ExportNamedDeclarationBase.source | - | declaration/ExportNamedDeclaration/spec.ts:101 |
specifiers | ExportSpecifierWithIdentifierLocal[] | This will always be an empty array. | ExportNamedDeclarationBase.specifiers | - | declaration/ExportNamedDeclaration/spec.ts:105 |
type | ExportNamedDeclaration | - | - | ExportNamedDeclarationBase.type | declaration/ExportNamedDeclaration/spec.ts:13 |
ExportNamedDeclarationWithSourceโ
Defined in: declaration/ExportNamedDeclaration/spec.ts:114
Export names from another module.
export { a, b } from 'mod';
Extendsโ
ExportNamedDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
assertions | ImportAttribute[] | The assertions declared for the export. Example export { foo } from 'mod' assert \{ type: 'json' \}; This will be an empty array if source is null Deprecated Replaced with `attributes`. | - | ExportNamedDeclarationBase.assertions | declaration/ExportNamedDeclaration/spec.ts:23 |
attributes | ImportAttribute[] | The attributes declared for the export. Example export { foo } from 'mod' with \{ type: 'json' \}; This will be an empty array if source is null | - | ExportNamedDeclarationBase.attributes | declaration/ExportNamedDeclaration/spec.ts:32 |
declaration | null | The exported declaration. Example export const x = 1; This will be null if source is not null, or if there are specifiers | ExportNamedDeclarationBase.declaration | - | declaration/ExportNamedDeclaration/spec.ts:115 |
exportKind | ExportAndImportKind | The kind of the export. | - | ExportNamedDeclarationBase.exportKind | declaration/ExportNamedDeclaration/spec.ts:45 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ExportNamedDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | ExportNamedDeclarationBase.range | base/NodeOrTokenData.ts:14 |
source | StringLiteral | The source module being exported from. | ExportNamedDeclarationBase.source | - | declaration/ExportNamedDeclaration/spec.ts:116 |
specifiers | ExportSpecifier[] | The specifiers being exported. Example export { a, b }; This will be an empty array if declaration is not null | - | ExportNamedDeclarationBase.specifiers | declaration/ExportNamedDeclaration/spec.ts:58 |
type | ExportNamedDeclaration | - | - | ExportNamedDeclarationBase.type | declaration/ExportNamedDeclaration/spec.ts:13 |
ExportSpecifierWithIdentifierLocalโ
Defined in: special/ExportSpecifier/spec.ts:14
Extendsโ
ExportSpecifierBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
exported | Identifier | StringLiteral | - | - | ExportSpecifierBase.exported | special/ExportSpecifier/spec.ts:9 |
exportKind | ExportAndImportKind | - | - | ExportSpecifierBase.exportKind | special/ExportSpecifier/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ExportSpecifierBase.loc | base/NodeOrTokenData.ts:12 |
local | Identifier | - | ExportSpecifierBase.local | - | special/ExportSpecifier/spec.ts:15 |
range | Range | - | - | ExportSpecifierBase.range | base/NodeOrTokenData.ts:14 |
type | ExportSpecifier | - | - | ExportSpecifierBase.type | special/ExportSpecifier/spec.ts:8 |
ExportSpecifierWithStringOrLiteralLocalโ
Defined in: special/ExportSpecifier/spec.ts:18
Extendsโ
ExportSpecifierBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
exported | Identifier | StringLiteral | - | - | ExportSpecifierBase.exported | special/ExportSpecifier/spec.ts:9 |
exportKind | ExportAndImportKind | - | - | ExportSpecifierBase.exportKind | special/ExportSpecifier/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ExportSpecifierBase.loc | base/NodeOrTokenData.ts:12 |
local | Identifier | StringLiteral | - | ExportSpecifierBase.local | - | special/ExportSpecifier/spec.ts:19 |
range | Range | - | - | ExportSpecifierBase.range | base/NodeOrTokenData.ts:14 |
type | ExportSpecifier | - | - | ExportSpecifierBase.type | special/ExportSpecifier/spec.ts:8 |
ExpressionStatementโ
Defined in: statement/ExpressionStatement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
directive | undefined | string | - | - | - | statement/ExpressionStatement/spec.ts:7 |
expression | Expression | - | - | - | statement/ExpressionStatement/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ExpressionStatement | - | BaseNode.type | - | statement/ExpressionStatement/spec.ts:6 |
ForInStatementโ
Defined in: statement/ForInStatement/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement | - | - | - | statement/ForInStatement/spec.ts:9 |
left | ForInitialiser | - | - | - | statement/ForInStatement/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | statement/ForInStatement/spec.ts:11 |
type | ForInStatement | - | BaseNode.type | - | statement/ForInStatement/spec.ts:8 |
ForOfStatementโ
Defined in: statement/ForOfStatement/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
await | boolean | - | - | - | statement/ForOfStatement/spec.ts:9 |
body | Statement | - | - | - | statement/ForOfStatement/spec.ts:10 |
left | ForOfInitialiser | - | - | - | statement/ForOfStatement/spec.ts:11 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | statement/ForOfStatement/spec.ts:12 |
type | ForOfStatement | - | BaseNode.type | - | statement/ForOfStatement/spec.ts:8 |
ForStatementโ
Defined in: statement/ForStatement/spec.ts:7
Extendsโ
Propertiesโ
FunctionDeclarationWithNameโ
Defined in: declaration/FunctionDeclaration/spec.ts:19
A normal function declaration:
function f() {}
Extendsโ
FunctionDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | boolean | Whether the function is async: async function foo() {} const x = async function () {} const x = async () => {} | - | FunctionDeclarationBase.async | base/FunctionBase.ts:18 |
body | BlockStatement | The body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null. | - | FunctionDeclarationBase.body | declaration/FunctionDeclaration/spec.ts:8 |
declare | false | This is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {} | - | FunctionDeclarationBase.declare | declaration/FunctionDeclaration/spec.ts:9 |
expression | false | This is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1) | - | FunctionDeclarationBase.expression | declaration/FunctionDeclaration/spec.ts:10 |
generator | boolean | Whether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators. | - | FunctionDeclarationBase.generator | base/FunctionBase.ts:50 |
id | Identifier | The function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration. | FunctionDeclarationBase.id | - | declaration/FunctionDeclaration/spec.ts:20 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | FunctionDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | The list of parameters declared for the function. | - | FunctionDeclarationBase.params | base/FunctionBase.ts:62 |
range | Range | - | - | FunctionDeclarationBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | The return type annotation for the function. | - | FunctionDeclarationBase.returnType | base/FunctionBase.ts:66 |
type | FunctionDeclaration | - | - | FunctionDeclarationBase.type | declaration/FunctionDeclaration/spec.ts:7 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameter declaration for the function. | - | FunctionDeclarationBase.typeParameters | base/FunctionBase.ts:70 |
FunctionDeclarationWithOptionalNameโ
Defined in: declaration/FunctionDeclaration/spec.ts:29
Default-exported function declarations have optional names:
export default function () {}
Extendsโ
FunctionDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | boolean | Whether the function is async: async function foo() {} const x = async function () {} const x = async () => {} | - | FunctionDeclarationBase.async | base/FunctionBase.ts:18 |
body | BlockStatement | The body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null. | - | FunctionDeclarationBase.body | declaration/FunctionDeclaration/spec.ts:8 |
declare | false | This is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {} | - | FunctionDeclarationBase.declare | declaration/FunctionDeclaration/spec.ts:9 |
expression | false | This is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1) | - | FunctionDeclarationBase.expression | declaration/FunctionDeclaration/spec.ts:10 |
generator | boolean | Whether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators. | - | FunctionDeclarationBase.generator | base/FunctionBase.ts:50 |
id | null | Identifier | The function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration. | FunctionDeclarationBase.id | - | declaration/FunctionDeclaration/spec.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | FunctionDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | The list of parameters declared for the function. | - | FunctionDeclarationBase.params | base/FunctionBase.ts:62 |
range | Range | - | - | FunctionDeclarationBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | The return type annotation for the function. | - | FunctionDeclarationBase.returnType | base/FunctionBase.ts:66 |
type | FunctionDeclaration | - | - | FunctionDeclarationBase.type | declaration/FunctionDeclaration/spec.ts:7 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameter declaration for the function. | - | FunctionDeclarationBase.typeParameters | base/FunctionBase.ts:70 |
FunctionExpressionโ
Defined in: expression/FunctionExpression/spec.ts:5
Extendsโ
FunctionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | boolean | Whether the function is async: async function foo() {} const x = async function () {} const x = async () => {} | - | FunctionBase.async | base/FunctionBase.ts:18 |
body | BlockStatement | The body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null. | FunctionBase.body | - | expression/FunctionExpression/spec.ts:7 |
declare | boolean | This is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {} | - | FunctionBase.declare | base/FunctionBase.ts:33 |
expression | false | This is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1) | FunctionBase.expression | - | expression/FunctionExpression/spec.ts:8 |
generator | boolean | Whether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators. | - | FunctionBase.generator | base/FunctionBase.ts:50 |
id | null | Identifier | The function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration. | - | FunctionBase.id | base/FunctionBase.ts:58 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | FunctionBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | The list of parameters declared for the function. | - | FunctionBase.params | base/FunctionBase.ts:62 |
range | Range | - | - | FunctionBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | The return type annotation for the function. | - | FunctionBase.returnType | base/FunctionBase.ts:66 |
type | FunctionExpression | - | FunctionBase.type | - | expression/FunctionExpression/spec.ts:6 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameter declaration for the function. | - | FunctionBase.typeParameters | base/FunctionBase.ts:70 |
Identifierโ
Defined in: expression/Identifier/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
decorators | Decorator[] | - | - | - | expression/Identifier/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | string | - | - | - | expression/Identifier/spec.ts:9 |
optional | boolean | - | - | - | expression/Identifier/spec.ts:10 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | Identifier | - | BaseNode.type | - | expression/Identifier/spec.ts:7 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | - | expression/Identifier/spec.ts:11 |
IdentifierTokenโ
Defined in: token/IdentifierToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Identifier | - | BaseToken.type | - | token/IdentifierToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
IfStatementโ
Defined in: statement/IfStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
alternate | null | Statement | - | - | - | statement/IfStatement/spec.ts:8 |
consequent | Statement | - | - | - | statement/IfStatement/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
test | Expression | - | - | - | statement/IfStatement/spec.ts:10 |
type | IfStatement | - | BaseNode.type | - | statement/IfStatement/spec.ts:7 |
ImportAttributeโ
Defined in: special/ImportAttribute/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
key | Identifier | Literal | - | - | - | special/ImportAttribute/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ImportAttribute | - | BaseNode.type | - | special/ImportAttribute/spec.ts:7 |
value | Literal | - | - | - | special/ImportAttribute/spec.ts:9 |
ImportDeclarationโ
Defined in: declaration/ImportDeclaration/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
assertions | ImportAttribute[] | The assertions declared for the export. Example import * from 'mod' assert \{ type: 'json' \}; Deprecated Replaced with `attributes`. | - | - | declaration/ImportDeclaration/spec.ts:18 |
attributes | ImportAttribute[] | The attributes declared for the export. Example import * from 'mod' with \{ type: 'json' \}; | - | - | declaration/ImportDeclaration/spec.ts:26 |
importKind | ExportAndImportKind | The kind of the import. | - | - | declaration/ImportDeclaration/spec.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
source | StringLiteral | The source module being imported from. | - | - | declaration/ImportDeclaration/spec.ts:34 |
specifiers | ImportClause[] | The specifiers being imported. If this is an empty array then either there are no specifiers: import {} from 'mod'; Or it is a side-effect import: import 'mod'; | - | - | declaration/ImportDeclaration/spec.ts:46 |
type | ImportDeclaration | - | BaseNode.type | - | declaration/ImportDeclaration/spec.ts:9 |
ImportDefaultSpecifierโ
Defined in: special/ImportDefaultSpecifier/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
local | Identifier | - | - | - | special/ImportDefaultSpecifier/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ImportDefaultSpecifier | - | BaseNode.type | - | special/ImportDefaultSpecifier/spec.ts:6 |
ImportExpressionโ
Defined in: expression/ImportExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
attributes | null | Expression | The attributes declared for the dynamic import. Example import('mod', \{ assert: \{ type: 'json' \} \}); Deprecated Replaced with `options`. | - | - | expression/ImportExpression/spec.ts:15 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
options | null | Expression | The options bag declared for the dynamic import. Example import('mod', \{ assert: \{ type: 'json' \} \}); | - | - | expression/ImportExpression/spec.ts:23 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
source | Expression | - | - | - | expression/ImportExpression/spec.ts:24 |
type | ImportExpression | - | BaseNode.type | - | expression/ImportExpression/spec.ts:6 |
ImportNamespaceSpecifierโ
Defined in: special/ImportNamespaceSpecifier/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
local | Identifier | - | - | - | special/ImportNamespaceSpecifier/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ImportNamespaceSpecifier | - | BaseNode.type | - | special/ImportNamespaceSpecifier/spec.ts:6 |
ImportSpecifierโ
Defined in: special/ImportSpecifier/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
imported | Identifier | StringLiteral | - | - | - | special/ImportSpecifier/spec.ts:9 |
importKind | ExportAndImportKind | - | - | - | special/ImportSpecifier/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
local | Identifier | - | - | - | special/ImportSpecifier/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ImportSpecifier | - | BaseNode.type | - | special/ImportSpecifier/spec.ts:8 |
JSXAttributeโ
Defined in: jsx/JSXAttribute/spec.ts:9
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | | JSXIdentifier | JSXNamespacedName | - | - | - | jsx/JSXAttribute/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXAttribute | - | BaseNode.type | - | jsx/JSXAttribute/spec.ts:10 |
value | | null | JSXElement | Literal | JSXExpression | - | - | - | jsx/JSXAttribute/spec.ts:12 |
JSXClosingElementโ
Defined in: jsx/JSXClosingElement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | JSXTagNameExpression | - | - | - | jsx/JSXClosingElement/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXClosingElement | - | BaseNode.type | - | jsx/JSXClosingElement/spec.ts:6 |
JSXClosingFragmentโ
Defined in: jsx/JSXClosingFragment/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXClosingFragment | - | BaseNode.type | - | jsx/JSXClosingFragment/spec.ts:5 |
JSXElementโ
Defined in: expression/JSXElement/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
children | JSXChild[] | - | - | - | expression/JSXElement/spec.ts:9 |
closingElement | null | JSXClosingElement | - | - | - | expression/JSXElement/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
openingElement | JSXOpeningElement | - | - | - | expression/JSXElement/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXElement | - | BaseNode.type | - | expression/JSXElement/spec.ts:8 |
JSXEmptyExpressionโ
Defined in: jsx/JSXEmptyExpression/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXEmptyExpression | - | BaseNode.type | - | jsx/JSXEmptyExpression/spec.ts:5 |
JSXExpressionContainerโ
Defined in: jsx/JSXExpressionContainer/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | | Expression | JSXEmptyExpression | - | - | - | jsx/JSXExpressionContainer/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXExpressionContainer | - | BaseNode.type | - | jsx/JSXExpressionContainer/spec.ts:7 |
JSXFragmentโ
Defined in: expression/JSXFragment/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
children | JSXChild[] | - | - | - | expression/JSXFragment/spec.ts:9 |
closingFragment | JSXClosingFragment | - | - | - | expression/JSXFragment/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
openingFragment | JSXOpeningFragment | - | - | - | expression/JSXFragment/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXFragment | - | BaseNode.type | - | expression/JSXFragment/spec.ts:8 |
JSXIdentifierโ
Defined in: jsx/JSXIdentifier/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | string | - | - | - | jsx/JSXIdentifier/spec.ts:6 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXIdentifier | - | BaseNode.type | - | jsx/JSXIdentifier/spec.ts:5 |
JSXIdentifierTokenโ
Defined in: token/JSXIdentifierToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | JSXIdentifier | - | BaseToken.type | - | token/JSXIdentifierToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
JSXMemberExpressionโ
Defined in: jsx/JSXMemberExpression/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
object | JSXTagNameExpression | - | - | - | jsx/JSXMemberExpression/spec.ts:8 |
property | JSXIdentifier | - | - | - | jsx/JSXMemberExpression/spec.ts:9 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXMemberExpression | - | BaseNode.type | - | jsx/JSXMemberExpression/spec.ts:7 |
JSXNamespacedNameโ
Defined in: jsx/JSXNamespacedName/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | JSXIdentifier | - | - | - | jsx/JSXNamespacedName/spec.ts:7 |
namespace | JSXIdentifier | - | - | - | jsx/JSXNamespacedName/spec.ts:8 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXNamespacedName | - | BaseNode.type | - | jsx/JSXNamespacedName/spec.ts:6 |
JSXOpeningElementโ
Defined in: jsx/JSXOpeningElement/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
attributes | ( | JSXAttribute | JSXSpreadAttribute)[] | - | - | - | jsx/JSXOpeningElement/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | JSXTagNameExpression | - | - | - | jsx/JSXOpeningElement/spec.ts:11 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
selfClosing | boolean | - | - | - | jsx/JSXOpeningElement/spec.ts:12 |
type | JSXOpeningElement | - | BaseNode.type | - | jsx/JSXOpeningElement/spec.ts:9 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | - | jsx/JSXOpeningElement/spec.ts:13 |
JSXOpeningFragmentโ
Defined in: jsx/JSXOpeningFragment/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXOpeningFragment | - | BaseNode.type | - | jsx/JSXOpeningFragment/spec.ts:5 |
JSXSpreadAttributeโ
Defined in: jsx/JSXSpreadAttribute/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | Expression | - | - | - | jsx/JSXSpreadAttribute/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXSpreadAttribute | - | BaseNode.type | - | jsx/JSXSpreadAttribute/spec.ts:6 |
JSXSpreadChildโ
Defined in: jsx/JSXSpreadChild/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | | Expression | JSXEmptyExpression | - | - | - | jsx/JSXSpreadChild/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | JSXSpreadChild | - | BaseNode.type | - | jsx/JSXSpreadChild/spec.ts:7 |
JSXTextโ
Defined in: jsx/JSXText/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
raw | string | - | - | - | jsx/JSXText/spec.ts:6 |
type | JSXText | - | BaseNode.type | - | jsx/JSXText/spec.ts:5 |
value | string | - | - | - | jsx/JSXText/spec.ts:7 |
JSXTextTokenโ
Defined in: token/JSXTextToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | JSXText | - | BaseToken.type | - | token/JSXTextToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
KeywordTokenโ
Defined in: token/KeywordToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Keyword | - | BaseToken.type | - | token/KeywordToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
LabeledStatementโ
Defined in: statement/LabeledStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement | - | - | - | statement/LabeledStatement/spec.ts:8 |
label | Identifier | - | - | - | statement/LabeledStatement/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | LabeledStatement | - | BaseNode.type | - | statement/LabeledStatement/spec.ts:7 |
LetOrVarDeclaredDeclarationโ
Defined in: declaration/VariableDeclaration/spec.ts:44
Extendsโ
LetOrConstOrVarDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
declarations | VariableDeclaratorNoInit[] | In a declare let declaration, the declarators must not have definite assignment assertions or initializers. Example using x = 1; using y =1, z = 2; | LetOrConstOrVarDeclarationBase.declarations | - | declaration/VariableDeclaration/spec.ts:55 |
declare | true | Whether the declaration is declared Example declare const x = 1; | LetOrConstOrVarDeclarationBase.declare | - | declaration/VariableDeclaration/spec.ts:56 |
kind | "let" | "var" | The keyword used to declare the variable(s) Example const x = 1; let y = 2; var z = 3; | LetOrConstOrVarDeclarationBase.kind | - | declaration/VariableDeclaration/spec.ts:57 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LetOrConstOrVarDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LetOrConstOrVarDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclaration | - | - | LetOrConstOrVarDeclarationBase.type | declaration/VariableDeclaration/spec.ts:13 |
LetOrVarNonDeclaredDeclarationโ
Defined in: declaration/VariableDeclaration/spec.ts:60
Extendsโ
LetOrConstOrVarDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
declarations | ( | VariableDeclaratorMaybeInit | VariableDeclaratorDefiniteAssignment)[] | In a let/var declaration, the declarators may have definite assignment assertions or initializers, but not both. | LetOrConstOrVarDeclarationBase.declarations | - | declaration/VariableDeclaration/spec.ts:65 |
declare | false | Whether the declaration is declared Example declare const x = 1; | LetOrConstOrVarDeclarationBase.declare | - | declaration/VariableDeclaration/spec.ts:69 |
kind | "let" | "var" | The keyword used to declare the variable(s) Example const x = 1; let y = 2; var z = 3; | LetOrConstOrVarDeclarationBase.kind | - | declaration/VariableDeclaration/spec.ts:70 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LetOrConstOrVarDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LetOrConstOrVarDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclaration | - | - | LetOrConstOrVarDeclarationBase.type | declaration/VariableDeclaration/spec.ts:13 |
LineCommentโ
Defined in: token/LineComment/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Line | - | BaseToken.type | - | token/LineComment/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
LogicalExpressionโ
Defined in: expression/LogicalExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
left | Expression | - | - | - | expression/LogicalExpression/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
operator | "&&" | "||" | "??" | - | - | - | expression/LogicalExpression/spec.ts:8 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | expression/LogicalExpression/spec.ts:9 |
type | LogicalExpression | - | BaseNode.type | - | expression/LogicalExpression/spec.ts:6 |
MemberExpressionComputedNameโ
Defined in: expression/MemberExpression/spec.ts:14
Extendsโ
MemberExpressionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
computed | true | - | MemberExpressionBase.computed | - | expression/MemberExpression/spec.ts:16 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | MemberExpressionBase.loc | base/NodeOrTokenData.ts:12 |
object | Expression | - | - | MemberExpressionBase.object | expression/MemberExpression/spec.ts:9 |
optional | boolean | - | - | MemberExpressionBase.optional | expression/MemberExpression/spec.ts:10 |
property | Expression | - | MemberExpressionBase.property | - | expression/MemberExpression/spec.ts:17 |
range | Range | - | - | MemberExpressionBase.range | base/NodeOrTokenData.ts:14 |
type | MemberExpression | - | MemberExpressionBase.type | - | expression/MemberExpression/spec.ts:15 |
MemberExpressionNonComputedNameโ
Defined in: expression/MemberExpression/spec.ts:20
Extendsโ
MemberExpressionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
computed | false | - | MemberExpressionBase.computed | - | expression/MemberExpression/spec.ts:22 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | MemberExpressionBase.loc | base/NodeOrTokenData.ts:12 |
object | Expression | - | - | MemberExpressionBase.object | expression/MemberExpression/spec.ts:9 |
optional | boolean | - | - | MemberExpressionBase.optional | expression/MemberExpression/spec.ts:10 |
property | | Identifier | PrivateIdentifier | - | MemberExpressionBase.property | - | expression/MemberExpression/spec.ts:23 |
range | Range | - | - | MemberExpressionBase.range | base/NodeOrTokenData.ts:14 |
type | MemberExpression | - | MemberExpressionBase.type | - | expression/MemberExpression/spec.ts:21 |
MetaPropertyโ
Defined in: expression/MetaProperty/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
meta | Identifier | - | - | - | expression/MetaProperty/spec.ts:7 |
property | Identifier | - | - | - | expression/MetaProperty/spec.ts:8 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | MetaProperty | - | BaseNode.type | - | expression/MetaProperty/spec.ts:6 |
MethodDefinitionComputedNameโ
Defined in: element/MethodDefinition/spec.ts:7
Extendsโ
MethodDefinitionComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | MethodDefinitionComputedNameBase.accessibility | base/MethodDefinitionBase.ts:15 |
computed | true | - | - | MethodDefinitionComputedNameBase.computed | base/MethodDefinitionBase.ts:27 |
decorators | Decorator[] | - | - | MethodDefinitionComputedNameBase.decorators | base/MethodDefinitionBase.ts:17 |
key | Expression | - | - | MethodDefinitionComputedNameBase.key | base/MethodDefinitionBase.ts:28 |
kind | "get" | "method" | "set" | "constructor" | - | - | MethodDefinitionComputedNameBase.kind | base/MethodDefinitionBase.ts:19 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | MethodDefinitionComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | MethodDefinitionComputedNameBase.optional | base/MethodDefinitionBase.ts:20 |
override | boolean | - | - | MethodDefinitionComputedNameBase.override | base/MethodDefinitionBase.ts:21 |
range | Range | - | - | MethodDefinitionComputedNameBase.range | base/NodeOrTokenData.ts:14 |
static | boolean | - | - | MethodDefinitionComputedNameBase.static | base/MethodDefinitionBase.ts:22 |
type | MethodDefinition | - | MethodDefinitionComputedNameBase.type | - | element/MethodDefinition/spec.ts:8 |
value | | FunctionExpression | TSEmptyBodyFunctionExpression | - | - | MethodDefinitionComputedNameBase.value | base/MethodDefinitionBase.ts:23 |
MethodDefinitionNonComputedNameโ
Defined in: element/MethodDefinition/spec.ts:11
Extendsโ
ClassMethodDefinitionNonComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | ClassMethodDefinitionNonComputedNameBase.accessibility | base/MethodDefinitionBase.ts:15 |
computed | false | - | - | ClassMethodDefinitionNonComputedNameBase.computed | base/MethodDefinitionBase.ts:37 |
decorators | Decorator[] | - | - | ClassMethodDefinitionNonComputedNameBase.decorators | base/MethodDefinitionBase.ts:17 |
key | ClassPropertyNameNonComputed | - | - | ClassMethodDefinitionNonComputedNameBase.key | base/MethodDefinitionBase.ts:38 |
kind | "get" | "method" | "set" | "constructor" | - | - | ClassMethodDefinitionNonComputedNameBase.kind | base/MethodDefinitionBase.ts:19 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ClassMethodDefinitionNonComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | ClassMethodDefinitionNonComputedNameBase.optional | base/MethodDefinitionBase.ts:20 |
override | boolean | - | - | ClassMethodDefinitionNonComputedNameBase.override | base/MethodDefinitionBase.ts:21 |
range | Range | - | - | ClassMethodDefinitionNonComputedNameBase.range | base/NodeOrTokenData.ts:14 |
static | boolean | - | - | ClassMethodDefinitionNonComputedNameBase.static | base/MethodDefinitionBase.ts:22 |
type | MethodDefinition | - | ClassMethodDefinitionNonComputedNameBase.type | - | element/MethodDefinition/spec.ts:12 |
value | | FunctionExpression | TSEmptyBodyFunctionExpression | - | - | ClassMethodDefinitionNonComputedNameBase.value | base/MethodDefinitionBase.ts:23 |
NewExpressionโ
Defined in: expression/NewExpression/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
arguments | CallExpressionArgument[] | - | - | - | expression/NewExpression/spec.ts:9 |
callee | Expression | - | - | - | expression/NewExpression/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | NewExpression | - | BaseNode.type | - | expression/NewExpression/spec.ts:8 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | - | expression/NewExpression/spec.ts:11 |
NodeOrTokenDataโ
Defined in: base/NodeOrTokenData.ts:4
Extended byโ
Propertiesโ
| Property | Type | Description | Defined in |
|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | base/NodeOrTokenData.ts:12 |
range | Range | - | base/NodeOrTokenData.ts:14 |
type | string | - | base/NodeOrTokenData.ts:5 |
NullLiteralโ
Defined in: expression/literal/NullLiteral/spec.ts:3
Extendsโ
LiteralBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LiteralBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LiteralBase.range | base/NodeOrTokenData.ts:14 |
raw | "null" | - | LiteralBase.raw | - | expression/literal/NullLiteral/spec.ts:4 |
type | Literal | - | - | LiteralBase.type | base/LiteralBase.ts:5 |
value | null | - | LiteralBase.value | - | expression/literal/NullLiteral/spec.ts:5 |
NullTokenโ
Defined in: token/NullToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Null | - | BaseToken.type | - | token/NullToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
NumberLiteralโ
Defined in: expression/literal/NumberLiteral/spec.ts:3
Extendsโ
LiteralBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LiteralBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LiteralBase.range | base/NodeOrTokenData.ts:14 |
raw | string | - | - | LiteralBase.raw | base/LiteralBase.ts:6 |
type | Literal | - | - | LiteralBase.type | base/LiteralBase.ts:5 |
value | number | - | LiteralBase.value | - | expression/literal/NumberLiteral/spec.ts:4 |
NumericTokenโ
Defined in: token/NumericToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Numeric | - | BaseToken.type | - | token/NumericToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
ObjectExpressionโ
Defined in: expression/ObjectExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
properties | ObjectLiteralElement[] | - | - | - | expression/ObjectExpression/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ObjectExpression | - | BaseNode.type | - | expression/ObjectExpression/spec.ts:6 |
ObjectPatternโ
Defined in: parameter/ObjectPattern/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
decorators | Decorator[] | - | - | - | parameter/ObjectPattern/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | - | parameter/ObjectPattern/spec.ts:11 |
properties | (RestElement | Property)[] | - | - | - | parameter/ObjectPattern/spec.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ObjectPattern | - | BaseNode.type | - | parameter/ObjectPattern/spec.ts:9 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | - | parameter/ObjectPattern/spec.ts:13 |
Positionโ
Defined in: base/Position.ts:1
Propertiesโ
| Property | Type | Description | Defined in |
|---|---|---|---|
column | number | Column number on the line (0-indexed) | base/Position.ts:5 |
line | number | Line number (1-indexed) | base/Position.ts:9 |
PrivateIdentifierโ
Defined in: special/PrivateIdentifier/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | string | - | - | - | special/PrivateIdentifier/spec.ts:6 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | PrivateIdentifier | - | BaseNode.type | - | special/PrivateIdentifier/spec.ts:5 |
PrivateIdentifierTokenโ
Defined in: token/PrivateIdentifierToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | PrivateIdentifier | - | BaseToken.type | - | token/PrivateIdentifierToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
PrivateInExpressionโ
Defined in: expression/BinaryExpression/spec.ts:10
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
left | PrivateIdentifier | - | - | - | expression/BinaryExpression/spec.ts:12 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
operator | "in" | - | - | - | expression/BinaryExpression/spec.ts:13 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | expression/BinaryExpression/spec.ts:14 |
type | BinaryExpression | - | BaseNode.type | - | expression/BinaryExpression/spec.ts:11 |
Programโ
Defined in: special/Program/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | ProgramStatement[] | - | - | - | special/Program/spec.ts:9 |
comments | undefined | Comment[] | - | - | - | special/Program/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | NodeOrTokenData.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | NodeOrTokenData.range | base/NodeOrTokenData.ts:14 |
sourceType | "module" | "script" | - | - | - | special/Program/spec.ts:11 |
tokens | undefined | Token[] | - | - | - | special/Program/spec.ts:12 |
type | Program | - | NodeOrTokenData.type | - | special/Program/spec.ts:8 |
PropertyComputedNameโ
Defined in: element/Property/spec.ts:28
Extendsโ
PropertyBase
Propertiesโ
PropertyDefinitionComputedNameโ
Defined in: element/PropertyDefinition/spec.ts:7
Extendsโ
PropertyDefinitionComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | true | - | - | PropertyDefinitionComputedNameBase.computed | base/PropertyDefinitionBase.ts:29 |
declare | boolean | - | - | PropertyDefinitionComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | Expression | - | - | PropertyDefinitionComputedNameBase.key | base/PropertyDefinitionBase.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | PropertyDefinition | - | PropertyDefinitionComputedNameBase.type | - | element/PropertyDefinition/spec.ts:8 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | Expression | - | - | PropertyDefinitionComputedNameBase.value | base/PropertyDefinitionBase.ts:25 |
PropertyDefinitionNonComputedNameโ
Defined in: element/PropertyDefinition/spec.ts:11
Extendsโ
ClassPropertyDefinitionNonComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | ClassPropertyDefinitionNonComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | false | - | - | ClassPropertyDefinitionNonComputedNameBase.computed | base/PropertyDefinitionBase.ts:39 |
declare | boolean | - | - | ClassPropertyDefinitionNonComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | ClassPropertyDefinitionNonComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | ClassPropertyDefinitionNonComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | ClassPropertyNameNonComputed | - | - | ClassPropertyDefinitionNonComputedNameBase.key | base/PropertyDefinitionBase.ts:40 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | ClassPropertyDefinitionNonComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | ClassPropertyDefinitionNonComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | ClassPropertyDefinitionNonComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | ClassPropertyDefinitionNonComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | ClassPropertyDefinitionNonComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | ClassPropertyDefinitionNonComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | PropertyDefinition | - | ClassPropertyDefinitionNonComputedNameBase.type | - | element/PropertyDefinition/spec.ts:12 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | ClassPropertyDefinitionNonComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | Expression | - | - | ClassPropertyDefinitionNonComputedNameBase.value | base/PropertyDefinitionBase.ts:25 |
PropertyNonComputedNameโ
Defined in: element/Property/spec.ts:32
Extendsโ
PropertyBase
Propertiesโ
PunctuatorTokenโ
Defined in: token/PunctuatorToken/spec.ts:8
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Punctuator | - | BaseToken.type | - | token/PunctuatorToken/spec.ts:9 |
value | ValueOf<PunctuatorTokenToText> | - | BaseToken.value | - | token/PunctuatorToken/spec.ts:10 |
PunctuatorTokenToTextโ
Defined in: token/PunctuatorToken/PunctuatorTokenToText.ts:5
Extendsโ
Propertiesโ
RegExpLiteralโ
Defined in: expression/literal/RegExpLiteral/spec.ts:3
Extendsโ
LiteralBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LiteralBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LiteralBase.range | base/NodeOrTokenData.ts:14 |
raw | string | - | - | LiteralBase.raw | base/LiteralBase.ts:6 |
regex | object | - | - | - | expression/literal/RegExpLiteral/spec.ts:4 |
regex.flags | string | - | - | - | expression/literal/RegExpLiteral/spec.ts:5 |
regex.pattern | string | - | - | - | expression/literal/RegExpLiteral/spec.ts:6 |
type | Literal | - | - | LiteralBase.type | base/LiteralBase.ts:5 |
value | null | RegExp | - | LiteralBase.value | - | expression/literal/RegExpLiteral/spec.ts:8 |
RegularExpressionTokenโ
Defined in: token/RegularExpressionToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
regex | object | - | - | - | token/RegularExpressionToken/spec.ts:6 |
regex.flags | string | - | - | - | token/RegularExpressionToken/spec.ts:7 |
regex.pattern | string | - | - | - | token/RegularExpressionToken/spec.ts:8 |
type | RegularExpression | - | BaseToken.type | - | token/RegularExpressionToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
RestElementโ
Defined in: parameter/RestElement/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | DestructuringPattern | - | - | - | parameter/RestElement/spec.ts:10 |
decorators | Decorator[] | - | - | - | parameter/RestElement/spec.ts:11 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | - | parameter/RestElement/spec.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | RestElement | - | BaseNode.type | - | parameter/RestElement/spec.ts:9 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | - | parameter/RestElement/spec.ts:13 |
value | undefined | AssignmentPattern | - | - | - | parameter/RestElement/spec.ts:14 |
ReturnStatementโ
Defined in: statement/ReturnStatement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | null | Expression | - | - | - | statement/ReturnStatement/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ReturnStatement | - | BaseNode.type | - | statement/ReturnStatement/spec.ts:6 |
SequenceExpressionโ
Defined in: expression/SequenceExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expressions | Expression[] | - | - | - | expression/SequenceExpression/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | SequenceExpression | - | BaseNode.type | - | expression/SequenceExpression/spec.ts:6 |
SourceLocationโ
Defined in: base/SourceLocation.ts:3
Propertiesโ
| Property | Type | Description | Defined in |
|---|---|---|---|
end | Position | The position of the first character after the parsed source region | base/SourceLocation.ts:7 |
start | Position | The position of the first character of the parsed source region | base/SourceLocation.ts:11 |
SpreadElementโ
Defined in: element/SpreadElement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | Expression | - | - | - | element/SpreadElement/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | SpreadElement | - | BaseNode.type | - | element/SpreadElement/spec.ts:6 |
StaticBlockโ
Defined in: element/StaticBlock/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement[] | - | - | - | element/StaticBlock/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | StaticBlock | - | BaseNode.type | - | element/StaticBlock/spec.ts:6 |
StringLiteralโ
Defined in: expression/literal/StringLiteral/spec.ts:3
Extendsโ
LiteralBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | LiteralBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | LiteralBase.range | base/NodeOrTokenData.ts:14 |
raw | string | - | - | LiteralBase.raw | base/LiteralBase.ts:6 |
type | Literal | - | - | LiteralBase.type | base/LiteralBase.ts:5 |
value | string | - | LiteralBase.value | - | expression/literal/StringLiteral/spec.ts:4 |
StringTokenโ
Defined in: token/StringToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | String | - | BaseToken.type | - | token/StringToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
Superโ
Defined in: expression/Super/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | Super | - | BaseNode.type | - | expression/Super/spec.ts:5 |
SwitchCaseโ
Defined in: special/SwitchCase/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
consequent | Statement[] | - | - | - | special/SwitchCase/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
test | null | Expression | - | - | - | special/SwitchCase/spec.ts:9 |
type | SwitchCase | - | BaseNode.type | - | special/SwitchCase/spec.ts:7 |
SwitchStatementโ
Defined in: statement/SwitchStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
cases | SwitchCase[] | - | - | - | statement/SwitchStatement/spec.ts:8 |
discriminant | Expression | - | - | - | statement/SwitchStatement/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | SwitchStatement | - | BaseNode.type | - | statement/SwitchStatement/spec.ts:7 |
SymmetricBinaryExpressionโ
Defined in: expression/BinaryExpression/spec.ts:17
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
left | Expression | - | - | - | expression/BinaryExpression/spec.ts:19 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
operator | ValueOf<BinaryOperatorToText> | - | - | - | expression/BinaryExpression/spec.ts:20 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Expression | - | - | - | expression/BinaryExpression/spec.ts:21 |
type | BinaryExpression | - | BaseNode.type | - | expression/BinaryExpression/spec.ts:18 |
TaggedTemplateExpressionโ
Defined in: expression/TaggedTemplateExpression/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
quasi | TemplateLiteral | - | - | - | expression/TaggedTemplateExpression/spec.ts:9 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
tag | Expression | - | - | - | expression/TaggedTemplateExpression/spec.ts:10 |
type | TaggedTemplateExpression | - | BaseNode.type | - | expression/TaggedTemplateExpression/spec.ts:8 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | - | expression/TaggedTemplateExpression/spec.ts:11 |
TemplateElementโ
Defined in: special/TemplateElement/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
tail | boolean | - | - | - | special/TemplateElement/spec.ts:6 |
type | TemplateElement | - | BaseNode.type | - | special/TemplateElement/spec.ts:5 |
value | object | - | - | - | special/TemplateElement/spec.ts:7 |
value.cooked | string | - | - | - | special/TemplateElement/spec.ts:8 |
value.raw | string | - | - | - | special/TemplateElement/spec.ts:9 |
TemplateLiteralโ
Defined in: expression/TemplateLiteral/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expressions | Expression[] | - | - | - | expression/TemplateLiteral/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
quasis | TemplateElement[] | - | - | - | expression/TemplateLiteral/spec.ts:9 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TemplateLiteral | - | BaseNode.type | - | expression/TemplateLiteral/spec.ts:7 |
TemplateTokenโ
Defined in: token/TemplateToken/spec.ts:4
Extendsโ
BaseToken
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseToken.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseToken.range | base/NodeOrTokenData.ts:14 |
type | Template | - | BaseToken.type | - | token/TemplateToken/spec.ts:5 |
value | string | - | - | BaseToken.value | base/BaseToken.ts:9 |
ThisExpressionโ
Defined in: expression/ThisExpression/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ThisExpression | - | BaseNode.type | - | expression/ThisExpression/spec.ts:5 |
ThrowStatementโ
Defined in: statement/ThrowStatement/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | Expression | - | - | - | statement/ThrowStatement/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | ThrowStatement | - | BaseNode.type | - | statement/ThrowStatement/spec.ts:6 |
TryStatementโ
Defined in: statement/TryStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
block | BlockStatement | - | - | - | statement/TryStatement/spec.ts:8 |
finalizer | null | BlockStatement | - | - | - | statement/TryStatement/spec.ts:9 |
handler | null | CatchClause | - | - | - | statement/TryStatement/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TryStatement | - | BaseNode.type | - | statement/TryStatement/spec.ts:7 |
TSAbstractAccessorPropertyComputedNameโ
Defined in: element/TSAbstractAccessorProperty/spec.ts:7
Extendsโ
PropertyDefinitionComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | true | - | - | PropertyDefinitionComputedNameBase.computed | base/PropertyDefinitionBase.ts:29 |
declare | boolean | - | - | PropertyDefinitionComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | Expression | - | - | PropertyDefinitionComputedNameBase.key | base/PropertyDefinitionBase.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | TSAbstractAccessorProperty | - | PropertyDefinitionComputedNameBase.type | - | element/TSAbstractAccessorProperty/spec.ts:8 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | - | PropertyDefinitionComputedNameBase.value | - | element/TSAbstractAccessorProperty/spec.ts:9 |
TSAbstractAccessorPropertyNonComputedNameโ
Defined in: element/TSAbstractAccessorProperty/spec.ts:12
Extendsโ
PropertyDefinitionNonComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionNonComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | false | - | - | PropertyDefinitionNonComputedNameBase.computed | base/PropertyDefinitionBase.ts:34 |
declare | boolean | - | - | PropertyDefinitionNonComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionNonComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionNonComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | PropertyNameNonComputed | - | - | PropertyDefinitionNonComputedNameBase.key | base/PropertyDefinitionBase.ts:35 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionNonComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionNonComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionNonComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionNonComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionNonComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionNonComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | TSAbstractAccessorProperty | - | PropertyDefinitionNonComputedNameBase.type | - | element/TSAbstractAccessorProperty/spec.ts:15 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionNonComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | - | PropertyDefinitionNonComputedNameBase.value | - | element/TSAbstractAccessorProperty/spec.ts:16 |
TSAbstractKeywordโ
Defined in: type/TSAbstractKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSAbstractKeyword | - | BaseNode.type | - | type/TSAbstractKeyword/spec.ts:5 |
TSAbstractMethodDefinitionComputedNameโ
Defined in: element/TSAbstractMethodDefinition/spec.ts:7
Extendsโ
MethodDefinitionComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | MethodDefinitionComputedNameBase.accessibility | base/MethodDefinitionBase.ts:15 |
computed | true | - | - | MethodDefinitionComputedNameBase.computed | base/MethodDefinitionBase.ts:27 |
decorators | Decorator[] | - | - | MethodDefinitionComputedNameBase.decorators | base/MethodDefinitionBase.ts:17 |
key | Expression | - | - | MethodDefinitionComputedNameBase.key | base/MethodDefinitionBase.ts:28 |
kind | "get" | "method" | "set" | "constructor" | - | - | MethodDefinitionComputedNameBase.kind | base/MethodDefinitionBase.ts:19 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | MethodDefinitionComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | MethodDefinitionComputedNameBase.optional | base/MethodDefinitionBase.ts:20 |
override | boolean | - | - | MethodDefinitionComputedNameBase.override | base/MethodDefinitionBase.ts:21 |
range | Range | - | - | MethodDefinitionComputedNameBase.range | base/NodeOrTokenData.ts:14 |
static | boolean | - | - | MethodDefinitionComputedNameBase.static | base/MethodDefinitionBase.ts:22 |
type | TSAbstractMethodDefinition | - | MethodDefinitionComputedNameBase.type | - | element/TSAbstractMethodDefinition/spec.ts:8 |
value | | FunctionExpression | TSEmptyBodyFunctionExpression | - | - | MethodDefinitionComputedNameBase.value | base/MethodDefinitionBase.ts:23 |
TSAbstractMethodDefinitionNonComputedNameโ
Defined in: element/TSAbstractMethodDefinition/spec.ts:11
Extendsโ
MethodDefinitionNonComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | MethodDefinitionNonComputedNameBase.accessibility | base/MethodDefinitionBase.ts:15 |
computed | false | - | - | MethodDefinitionNonComputedNameBase.computed | base/MethodDefinitionBase.ts:32 |
decorators | Decorator[] | - | - | MethodDefinitionNonComputedNameBase.decorators | base/MethodDefinitionBase.ts:17 |
key | PropertyNameNonComputed | - | - | MethodDefinitionNonComputedNameBase.key | base/MethodDefinitionBase.ts:33 |
kind | "get" | "method" | "set" | "constructor" | - | - | MethodDefinitionNonComputedNameBase.kind | base/MethodDefinitionBase.ts:19 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | MethodDefinitionNonComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | MethodDefinitionNonComputedNameBase.optional | base/MethodDefinitionBase.ts:20 |
override | boolean | - | - | MethodDefinitionNonComputedNameBase.override | base/MethodDefinitionBase.ts:21 |
range | Range | - | - | MethodDefinitionNonComputedNameBase.range | base/NodeOrTokenData.ts:14 |
static | boolean | - | - | MethodDefinitionNonComputedNameBase.static | base/MethodDefinitionBase.ts:22 |
type | TSAbstractMethodDefinition | - | MethodDefinitionNonComputedNameBase.type | - | element/TSAbstractMethodDefinition/spec.ts:14 |
value | | FunctionExpression | TSEmptyBodyFunctionExpression | - | - | MethodDefinitionNonComputedNameBase.value | base/MethodDefinitionBase.ts:23 |
TSAbstractPropertyDefinitionComputedNameโ
Defined in: element/TSAbstractPropertyDefinition/spec.ts:7
Extendsโ
PropertyDefinitionComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | true | - | - | PropertyDefinitionComputedNameBase.computed | base/PropertyDefinitionBase.ts:29 |
declare | boolean | - | - | PropertyDefinitionComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | Expression | - | - | PropertyDefinitionComputedNameBase.key | base/PropertyDefinitionBase.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | TSAbstractPropertyDefinition | - | PropertyDefinitionComputedNameBase.type | - | element/TSAbstractPropertyDefinition/spec.ts:8 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | - | PropertyDefinitionComputedNameBase.value | - | element/TSAbstractPropertyDefinition/spec.ts:9 |
TSAbstractPropertyDefinitionNonComputedNameโ
Defined in: element/TSAbstractPropertyDefinition/spec.ts:12
Extendsโ
PropertyDefinitionNonComputedNameBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | PropertyDefinitionNonComputedNameBase.accessibility | base/PropertyDefinitionBase.ts:14 |
computed | false | - | - | PropertyDefinitionNonComputedNameBase.computed | base/PropertyDefinitionBase.ts:34 |
declare | boolean | - | - | PropertyDefinitionNonComputedNameBase.declare | base/PropertyDefinitionBase.ts:16 |
decorators | Decorator[] | - | - | PropertyDefinitionNonComputedNameBase.decorators | base/PropertyDefinitionBase.ts:17 |
definite | boolean | - | - | PropertyDefinitionNonComputedNameBase.definite | base/PropertyDefinitionBase.ts:18 |
key | PropertyNameNonComputed | - | - | PropertyDefinitionNonComputedNameBase.key | base/PropertyDefinitionBase.ts:35 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | PropertyDefinitionNonComputedNameBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | PropertyDefinitionNonComputedNameBase.optional | base/PropertyDefinitionBase.ts:20 |
override | boolean | - | - | PropertyDefinitionNonComputedNameBase.override | base/PropertyDefinitionBase.ts:21 |
range | Range | - | - | PropertyDefinitionNonComputedNameBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | PropertyDefinitionNonComputedNameBase.readonly | base/PropertyDefinitionBase.ts:22 |
static | boolean | - | - | PropertyDefinitionNonComputedNameBase.static | base/PropertyDefinitionBase.ts:23 |
type | TSAbstractPropertyDefinition | - | PropertyDefinitionNonComputedNameBase.type | - | element/TSAbstractPropertyDefinition/spec.ts:15 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | PropertyDefinitionNonComputedNameBase.typeAnnotation | base/PropertyDefinitionBase.ts:24 |
value | null | - | PropertyDefinitionNonComputedNameBase.value | - | element/TSAbstractPropertyDefinition/spec.ts:16 |
TSAnyKeywordโ
Defined in: type/TSAnyKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSAnyKeyword | - | BaseNode.type | - | type/TSAnyKeyword/spec.ts:5 |
TSArrayTypeโ
Defined in: type/TSArrayType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
elementType | TypeNode | - | - | - | type/TSArrayType/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSArrayType | - | BaseNode.type | - | type/TSArrayType/spec.ts:6 |
TSAsExpressionโ
Defined in: expression/TSAsExpression/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | - | expression/TSAsExpression/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSAsExpression | - | BaseNode.type | - | expression/TSAsExpression/spec.ts:7 |
typeAnnotation | TypeNode | - | - | - | expression/TSAsExpression/spec.ts:9 |
TSAsyncKeywordโ
Defined in: type/TSAsyncKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSAsyncKeyword | - | BaseNode.type | - | type/TSAsyncKeyword/spec.ts:5 |
TSBigIntKeywordโ
Defined in: type/TSBigIntKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSBigIntKeyword | - | BaseNode.type | - | type/TSBigIntKeyword/spec.ts:5 |
TSBooleanKeywordโ
Defined in: type/TSBooleanKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSBooleanKeyword | - | BaseNode.type | - | type/TSBooleanKeyword/spec.ts:5 |
TSCallSignatureDeclarationโ
Defined in: element/TSCallSignatureDeclaration/spec.ts:4
Extendsโ
TSFunctionSignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSFunctionSignatureBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | - | - | TSFunctionSignatureBase.params | base/TSFunctionSignatureBase.ts:7 |
range | Range | - | - | TSFunctionSignatureBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | - | - | TSFunctionSignatureBase.returnType | base/TSFunctionSignatureBase.ts:8 |
type | TSCallSignatureDeclaration | - | TSFunctionSignatureBase.type | - | element/TSCallSignatureDeclaration/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | TSFunctionSignatureBase.typeParameters | base/TSFunctionSignatureBase.ts:9 |
TSClassImplementsโ
Defined in: special/TSClassImplements/spec.ts:4
Extendsโ
TSHeritageBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | TSHeritageBase.expression | base/TSHeritageBase.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSHeritageBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSHeritageBase.range | base/NodeOrTokenData.ts:14 |
type | TSClassImplements | - | TSHeritageBase.type | - | special/TSClassImplements/spec.ts:5 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | TSHeritageBase.typeArguments | base/TSHeritageBase.ts:8 |
TSConditionalTypeโ
Defined in: type/TSConditionalType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
checkType | TypeNode | - | - | - | type/TSConditionalType/spec.ts:7 |
extendsType | TypeNode | - | - | - | type/TSConditionalType/spec.ts:8 |
falseType | TypeNode | - | - | - | type/TSConditionalType/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
trueType | TypeNode | - | - | - | type/TSConditionalType/spec.ts:10 |
type | TSConditionalType | - | BaseNode.type | - | type/TSConditionalType/spec.ts:6 |
TSConstructorTypeโ
Defined in: type/TSConstructorType/spec.ts:4
Extendsโ
TSFunctionSignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
abstract | boolean | - | - | - | type/TSConstructorType/spec.ts:6 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSFunctionSignatureBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | - | - | TSFunctionSignatureBase.params | base/TSFunctionSignatureBase.ts:7 |
range | Range | - | - | TSFunctionSignatureBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | - | - | TSFunctionSignatureBase.returnType | base/TSFunctionSignatureBase.ts:8 |
type | TSConstructorType | - | TSFunctionSignatureBase.type | - | type/TSConstructorType/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | TSFunctionSignatureBase.typeParameters | base/TSFunctionSignatureBase.ts:9 |
TSConstructSignatureDeclarationโ
Defined in: element/TSConstructSignatureDeclaration/spec.ts:4
Extendsโ
TSFunctionSignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSFunctionSignatureBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | - | - | TSFunctionSignatureBase.params | base/TSFunctionSignatureBase.ts:7 |
range | Range | - | - | TSFunctionSignatureBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | - | - | TSFunctionSignatureBase.returnType | base/TSFunctionSignatureBase.ts:8 |
type | TSConstructSignatureDeclaration | - | TSFunctionSignatureBase.type | - | element/TSConstructSignatureDeclaration/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | TSFunctionSignatureBase.typeParameters | base/TSFunctionSignatureBase.ts:9 |
TSDeclareFunctionNoDeclareโ
Defined in: declaration/TSDeclareFunction/spec.ts:44
Function declaration without the declare keyword:
function foo(): void;
This can either be an overload signature or a declaration in an ambient context
(e.g. declare module)
Extendsโ
TSDeclareFunctionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | boolean | Whether the function is async: async function foo() {} const x = async function () {} const x = async () => {} | - | TSDeclareFunctionBase.async | base/FunctionBase.ts:18 |
body | undefined | TS1183: An implementation cannot be declared in ambient contexts. | - | TSDeclareFunctionBase.body | declaration/TSDeclareFunction/spec.ts:9 |
declare | false | Whether the declaration has declare modifier. | TSDeclareFunctionBase.declare | - | declaration/TSDeclareFunction/spec.ts:45 |
expression | false | This is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1) | - | TSDeclareFunctionBase.expression | declaration/TSDeclareFunction/spec.ts:14 |
generator | false | - TS1221: Generators are not allowed in an ambient context. - TS1222: An overload signature cannot be declared as a generator. | TSDeclareFunctionBase.generator | - | declaration/TSDeclareFunction/spec.ts:50 |
id | null | Identifier | The function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration. | - | TSDeclareFunctionBase.id | base/FunctionBase.ts:58 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSDeclareFunctionBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | The list of parameters declared for the function. | - | TSDeclareFunctionBase.params | base/FunctionBase.ts:62 |
range | Range | - | - | TSDeclareFunctionBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | The return type annotation for the function. | - | TSDeclareFunctionBase.returnType | base/FunctionBase.ts:66 |
type | TSDeclareFunction | - | - | TSDeclareFunctionBase.type | declaration/TSDeclareFunction/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameter declaration for the function. | - | TSDeclareFunctionBase.typeParameters | base/FunctionBase.ts:70 |
TSDeclareFunctionWithDeclareโ
Defined in: declaration/TSDeclareFunction/spec.ts:23
Function declaration with the declare keyword:
declare function foo(): void;
Extendsโ
TSDeclareFunctionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | false | TS1040: 'async' modifier cannot be used in an ambient context. | TSDeclareFunctionBase.async | - | declaration/TSDeclareFunction/spec.ts:27 |
body | undefined | TS1183: An implementation cannot be declared in ambient contexts. | - | TSDeclareFunctionBase.body | declaration/TSDeclareFunction/spec.ts:9 |
declare | true | Whether the declaration has declare modifier. | TSDeclareFunctionBase.declare | - | declaration/TSDeclareFunction/spec.ts:28 |
expression | false | This is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1) | - | TSDeclareFunctionBase.expression | declaration/TSDeclareFunction/spec.ts:14 |
generator | false | TS1221: Generators are not allowed in an ambient context. | TSDeclareFunctionBase.generator | - | declaration/TSDeclareFunction/spec.ts:32 |
id | null | Identifier | The function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration. | - | TSDeclareFunctionBase.id | base/FunctionBase.ts:58 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSDeclareFunctionBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | The list of parameters declared for the function. | - | TSDeclareFunctionBase.params | base/FunctionBase.ts:62 |
range | Range | - | - | TSDeclareFunctionBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | The return type annotation for the function. | - | TSDeclareFunctionBase.returnType | base/FunctionBase.ts:66 |
type | TSDeclareFunction | - | - | TSDeclareFunctionBase.type | declaration/TSDeclareFunction/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameter declaration for the function. | - | TSDeclareFunctionBase.typeParameters | base/FunctionBase.ts:70 |
TSDeclareKeywordโ
Defined in: type/TSDeclareKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSDeclareKeyword | - | BaseNode.type | - | type/TSDeclareKeyword/spec.ts:5 |
TSEmptyBodyFunctionExpressionโ
Defined in: expression/TSEmptyBodyFunctionExpression/spec.ts:4
Extendsโ
FunctionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
async | boolean | Whether the function is async: async function foo() {} const x = async function () {} const x = async () => {} | - | FunctionBase.async | base/FunctionBase.ts:18 |
body | null | The body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null. | FunctionBase.body | - | expression/TSEmptyBodyFunctionExpression/spec.ts:6 |
declare | boolean | This is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {} | - | FunctionBase.declare | base/FunctionBase.ts:33 |
expression | boolean | This is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1) | - | FunctionBase.expression | base/FunctionBase.ts:41 |
generator | boolean | Whether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators. | - | FunctionBase.generator | base/FunctionBase.ts:50 |
id | null | The function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration. | FunctionBase.id | - | expression/TSEmptyBodyFunctionExpression/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | FunctionBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | The list of parameters declared for the function. | - | FunctionBase.params | base/FunctionBase.ts:62 |
range | Range | - | - | FunctionBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | The return type annotation for the function. | - | FunctionBase.returnType | base/FunctionBase.ts:66 |
type | TSEmptyBodyFunctionExpression | - | FunctionBase.type | - | expression/TSEmptyBodyFunctionExpression/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameter declaration for the function. | - | FunctionBase.typeParameters | base/FunctionBase.ts:70 |
TSEnumBodyโ
Defined in: special/TSEnumBody/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
members | TSEnumMember[] | - | - | - | special/TSEnumBody/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSEnumBody | - | BaseNode.type | - | special/TSEnumBody/spec.ts:6 |
TSEnumDeclarationโ
Defined in: declaration/TSEnumDeclaration/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TSEnumBody | The body of the enum. | - | - | declaration/TSEnumDeclaration/spec.ts:12 |
const | boolean | Whether this is a const enum. Example const enum Foo {} | - | - | declaration/TSEnumDeclaration/spec.ts:20 |
declare | boolean | Whether this is a declared enum. Example declare enum Foo {} | - | - | declaration/TSEnumDeclaration/spec.ts:28 |
id | Identifier | The enum name. | - | - | declaration/TSEnumDeclaration/spec.ts:32 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
members | TSEnumMember[] | The enum members. Deprecated Use body instead. | - | - | declaration/TSEnumDeclaration/spec.ts:37 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSEnumDeclaration | - | BaseNode.type | - | declaration/TSEnumDeclaration/spec.ts:8 |
TSEnumMemberโ
Defined in: element/TSEnumMember/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
computed | boolean | Deprecated the enum member is always non-computed. | - | - | element/TSEnumMember/spec.ts:14 |
id | Identifier | StringLiteral | - | - | - | element/TSEnumMember/spec.ts:9 |
initializer | undefined | Expression | - | - | - | element/TSEnumMember/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSEnumMember | - | BaseNode.type | - | element/TSEnumMember/spec.ts:8 |
TSExportAssignmentโ
Defined in: statement/TSExportAssignment/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | - | statement/TSExportAssignment/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSExportAssignment | - | BaseNode.type | - | statement/TSExportAssignment/spec.ts:6 |
TSExportKeywordโ
Defined in: type/TSExportKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSExportKeyword | - | BaseNode.type | - | type/TSExportKeyword/spec.ts:5 |
TSExternalModuleReferenceโ
Defined in: special/TSExternalModuleReference/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | StringLiteral | - | - | - | special/TSExternalModuleReference/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSExternalModuleReference | - | BaseNode.type | - | special/TSExternalModuleReference/spec.ts:6 |
TSFunctionTypeโ
Defined in: type/TSFunctionType/spec.ts:4
Extendsโ
TSFunctionSignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSFunctionSignatureBase.loc | base/NodeOrTokenData.ts:12 |
params | Parameter[] | - | - | TSFunctionSignatureBase.params | base/TSFunctionSignatureBase.ts:7 |
range | Range | - | - | TSFunctionSignatureBase.range | base/NodeOrTokenData.ts:14 |
returnType | undefined | TSTypeAnnotation | - | - | TSFunctionSignatureBase.returnType | base/TSFunctionSignatureBase.ts:8 |
type | TSFunctionType | - | TSFunctionSignatureBase.type | - | type/TSFunctionType/spec.ts:5 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | TSFunctionSignatureBase.typeParameters | base/TSFunctionSignatureBase.ts:9 |
TSImportEqualsNamespaceDeclarationโ
Defined in: declaration/TSImportEqualsDeclaration/spec.ts:31
Extendsโ
TSImportEqualsDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
id | Identifier | The locally imported name. | - | TSImportEqualsDeclarationBase.id | declaration/TSImportEqualsDeclaration/spec.ts:13 |
importKind | "value" | The kind of the import. | TSImportEqualsDeclarationBase.importKind | - | declaration/TSImportEqualsDeclaration/spec.ts:35 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSImportEqualsDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
moduleReference | TSQualifiedName | Identifier | The value being aliased. import F1 = A; import F2 = A.B.C; | TSImportEqualsDeclarationBase.moduleReference | - | declaration/TSImportEqualsDeclaration/spec.ts:43 |
range | Range | - | - | TSImportEqualsDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | TSImportEqualsDeclaration | - | - | TSImportEqualsDeclarationBase.type | declaration/TSImportEqualsDeclaration/spec.ts:9 |
TSImportEqualsRequireDeclarationโ
Defined in: declaration/TSImportEqualsDeclaration/spec.ts:46
Extendsโ
TSImportEqualsDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
id | Identifier | The locally imported name. | - | TSImportEqualsDeclarationBase.id | declaration/TSImportEqualsDeclaration/spec.ts:13 |
importKind | ExportAndImportKind | The kind of the import. | TSImportEqualsDeclarationBase.importKind | - | declaration/TSImportEqualsDeclaration/spec.ts:50 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSImportEqualsDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
moduleReference | TSExternalModuleReference | The value being aliased. import F3 = require('mod'); | TSImportEqualsDeclarationBase.moduleReference | - | declaration/TSImportEqualsDeclaration/spec.ts:57 |
range | Range | - | - | TSImportEqualsDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | TSImportEqualsDeclaration | - | - | TSImportEqualsDeclarationBase.type | declaration/TSImportEqualsDeclaration/spec.ts:9 |
TSImportTypeโ
Defined in: type/TSImportType/spec.ts:9
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | TypeNode | Deprecated Use `source` instead. | - | - | type/TSImportType/spec.ts:12 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
options | null | ObjectExpression | - | - | - | type/TSImportType/spec.ts:13 |
qualifier | null | EntityName | - | - | - | type/TSImportType/spec.ts:14 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
source | StringLiteral | - | - | - | type/TSImportType/spec.ts:15 |
type | TSImportType | - | BaseNode.type | - | type/TSImportType/spec.ts:10 |
typeArguments | | null | TSTypeParameterInstantiation | - | - | - | type/TSImportType/spec.ts:16 |
TSIndexedAccessTypeโ
Defined in: type/TSIndexedAccessType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
indexType | TypeNode | - | - | - | type/TSIndexedAccessType/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
objectType | TypeNode | - | - | - | type/TSIndexedAccessType/spec.ts:8 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSIndexedAccessType | - | BaseNode.type | - | type/TSIndexedAccessType/spec.ts:6 |
TSIndexSignatureโ
Defined in: element/TSIndexSignature/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | - | element/TSIndexSignature/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
parameters | Parameter[] | - | - | - | element/TSIndexSignature/spec.ts:10 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | - | element/TSIndexSignature/spec.ts:11 |
static | boolean | - | - | - | element/TSIndexSignature/spec.ts:12 |
type | TSIndexSignature | - | BaseNode.type | - | element/TSIndexSignature/spec.ts:8 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | - | element/TSIndexSignature/spec.ts:13 |
TSInferTypeโ
Defined in: type/TSInferType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSInferType | - | BaseNode.type | - | type/TSInferType/spec.ts:6 |
typeParameter | TSTypeParameter | - | - | - | type/TSInferType/spec.ts:7 |
TSInstantiationExpressionโ
Defined in: expression/TSInstantiationExpression/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | - | expression/TSInstantiationExpression/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSInstantiationExpression | - | BaseNode.type | - | expression/TSInstantiationExpression/spec.ts:7 |
typeArguments | TSTypeParameterInstantiation | - | - | - | expression/TSInstantiationExpression/spec.ts:9 |
TSInterfaceBodyโ
Defined in: special/TSInterfaceBody/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TypeElement[] | - | - | - | special/TSInterfaceBody/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSInterfaceBody | - | BaseNode.type | - | special/TSInterfaceBody/spec.ts:6 |
TSInterfaceDeclarationโ
Defined in: declaration/TSInterfaceDeclaration/spec.ts:8
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TSInterfaceBody | The body of the interface | - | - | declaration/TSInterfaceDeclaration/spec.ts:13 |
declare | boolean | Whether the interface was declared | - | - | declaration/TSInterfaceDeclaration/spec.ts:17 |
extends | TSInterfaceHeritage[] | The types this interface extends | - | - | declaration/TSInterfaceDeclaration/spec.ts:21 |
id | Identifier | The name of this interface | - | - | declaration/TSInterfaceDeclaration/spec.ts:25 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSInterfaceDeclaration | - | BaseNode.type | - | declaration/TSInterfaceDeclaration/spec.ts:9 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameters declared for the interface. Empty declaration (<>) is different from no declaration. | - | - | declaration/TSInterfaceDeclaration/spec.ts:30 |
TSInterfaceHeritageโ
Defined in: special/TSInterfaceHeritage/spec.ts:4
Extendsโ
TSHeritageBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | TSHeritageBase.expression | base/TSHeritageBase.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSHeritageBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSHeritageBase.range | base/NodeOrTokenData.ts:14 |
type | TSInterfaceHeritage | - | TSHeritageBase.type | - | special/TSInterfaceHeritage/spec.ts:5 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | TSHeritageBase.typeArguments | base/TSHeritageBase.ts:8 |
TSIntersectionTypeโ
Defined in: type/TSIntersectionType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSIntersectionType | - | BaseNode.type | - | type/TSIntersectionType/spec.ts:6 |
types | TypeNode[] | - | - | - | type/TSIntersectionType/spec.ts:7 |
TSIntrinsicKeywordโ
Defined in: type/TSIntrinsicKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSIntrinsicKeyword | - | BaseNode.type | - | type/TSIntrinsicKeyword/spec.ts:5 |
TSLiteralTypeโ
Defined in: type/TSLiteralType/spec.ts:11
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
literal | | BigIntLiteral | BooleanLiteral | NumberLiteral | StringLiteral | TemplateLiteral | UnaryExpressionMinus | UnaryExpressionPlus | - | - | - | type/TSLiteralType/spec.ts:13 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSLiteralType | - | BaseNode.type | - | type/TSLiteralType/spec.ts:12 |
TSMappedTypeโ
Defined in: type/TSMappedType/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
constraint | TypeNode | - | - | - | type/TSMappedType/spec.ts:9 |
key | Identifier | - | - | - | type/TSMappedType/spec.ts:10 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
nameType | null | TypeNode | - | - | - | type/TSMappedType/spec.ts:11 |
optional | undefined | boolean | "-" | "+" | - | - | - | type/TSMappedType/spec.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
readonly | undefined | boolean | "-" | "+" | - | - | - | type/TSMappedType/spec.ts:13 |
type | TSMappedType | - | BaseNode.type | - | type/TSMappedType/spec.ts:8 |
typeAnnotation | undefined | TypeNode | - | - | - | type/TSMappedType/spec.ts:14 |
typeParameter | TSTypeParameter | Deprecated Use `constraint` and `key` instead. | - | - | type/TSMappedType/spec.ts:16 |
TSMethodSignatureComputedNameโ
Defined in: element/TSMethodSignature/spec.ts:27
Extendsโ
TSMethodSignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | TSMethodSignatureBase.accessibility | element/TSMethodSignature/spec.ts:15 |
computed | true | - | TSMethodSignatureBase.computed | - | element/TSMethodSignature/spec.ts:28 |
key | Expression | - | TSMethodSignatureBase.key | - | element/TSMethodSignature/spec.ts:29 |
kind | "get" | "method" | "set" | - | - | TSMethodSignatureBase.kind | element/TSMethodSignature/spec.ts:18 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSMethodSignatureBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | TSMethodSignatureBase.optional | element/TSMethodSignature/spec.ts:19 |
params | Parameter[] | - | - | TSMethodSignatureBase.params | element/TSMethodSignature/spec.ts:20 |
range | Range | - | - | TSMethodSignatureBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | TSMethodSignatureBase.readonly | element/TSMethodSignature/spec.ts:21 |
returnType | undefined | TSTypeAnnotation | - | - | TSMethodSignatureBase.returnType | element/TSMethodSignature/spec.ts:22 |
static | boolean | - | - | TSMethodSignatureBase.static | element/TSMethodSignature/spec.ts:23 |
type | TSMethodSignature | - | - | TSMethodSignatureBase.type | element/TSMethodSignature/spec.ts:14 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | TSMethodSignatureBase.typeParameters | element/TSMethodSignature/spec.ts:24 |
TSMethodSignatureNonComputedNameโ
Defined in: element/TSMethodSignature/spec.ts:31
Extendsโ
TSMethodSignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | TSMethodSignatureBase.accessibility | element/TSMethodSignature/spec.ts:15 |
computed | false | - | TSMethodSignatureBase.computed | - | element/TSMethodSignature/spec.ts:32 |
key | PropertyNameNonComputed | - | TSMethodSignatureBase.key | - | element/TSMethodSignature/spec.ts:33 |
kind | "get" | "method" | "set" | - | - | TSMethodSignatureBase.kind | element/TSMethodSignature/spec.ts:18 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSMethodSignatureBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | TSMethodSignatureBase.optional | element/TSMethodSignature/spec.ts:19 |
params | Parameter[] | - | - | TSMethodSignatureBase.params | element/TSMethodSignature/spec.ts:20 |
range | Range | - | - | TSMethodSignatureBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | TSMethodSignatureBase.readonly | element/TSMethodSignature/spec.ts:21 |
returnType | undefined | TSTypeAnnotation | - | - | TSMethodSignatureBase.returnType | element/TSMethodSignature/spec.ts:22 |
static | boolean | - | - | TSMethodSignatureBase.static | element/TSMethodSignature/spec.ts:23 |
type | TSMethodSignature | - | - | TSMethodSignatureBase.type | element/TSMethodSignature/spec.ts:14 |
typeParameters | | undefined | TSTypeParameterDeclaration | - | - | TSMethodSignatureBase.typeParameters | element/TSMethodSignature/spec.ts:24 |
TSModuleBlockโ
Defined in: special/TSModuleBlock/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | ProgramStatement[] | - | - | - | special/TSModuleBlock/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSModuleBlock | - | BaseNode.type | - | special/TSModuleBlock/spec.ts:6 |
TSModuleDeclarationGlobalโ
Defined in: declaration/TSModuleDeclaration/spec.ts:70
Extendsโ
TSModuleDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TSModuleBlock | The body of the module. This can only be undefined for the code declare module 'mod'; | TSModuleDeclarationBase.body | - | declaration/TSModuleDeclaration/spec.ts:71 |
declare | boolean | Whether the module is declared Example declare namespace F {} | - | TSModuleDeclarationBase.declare | declaration/TSModuleDeclaration/spec.ts:25 |
global | boolean | Whether this is a global declaration Example declare global {} Deprecated Use kind instead | - | TSModuleDeclarationBase.global | declaration/TSModuleDeclaration/spec.ts:36 |
id | Identifier | This will always be an Identifier with name global | TSModuleDeclarationBase.id | - | declaration/TSModuleDeclaration/spec.ts:75 |
kind | "global" | The keyword used to define this module declaration Example namespace Foo {} ^^^^^^^^^ module 'foo' {} ^^^^^^ global {} ^^^^^^ | TSModuleDeclarationBase.kind | - | declaration/TSModuleDeclaration/spec.ts:76 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSModuleDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSModuleDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | TSModuleDeclaration | - | - | TSModuleDeclarationBase.type | declaration/TSModuleDeclaration/spec.ts:12 |
TSModuleDeclarationModuleWithIdentifierIdโ
Defined in: declaration/TSModuleDeclaration/spec.ts:114
The legacy module declaration, replaced with namespace declarations.
module A {}
Extendsโ
TSModuleDeclarationModuleBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TSModuleBlock | The body of the module. This can only be undefined for the code declare module 'mod'; | TSModuleDeclarationModuleBase.body | - | declaration/TSModuleDeclaration/spec.ts:116 |
declare | boolean | Whether the module is declared Example declare namespace F {} | - | TSModuleDeclarationModuleBase.declare | declaration/TSModuleDeclaration/spec.ts:25 |
global | boolean | Whether this is a global declaration Example declare global {} Deprecated Use kind instead | - | TSModuleDeclarationModuleBase.global | declaration/TSModuleDeclaration/spec.ts:36 |
id | Identifier | The name of the module namespace A {} namespace A.B.C {} module 'a' {} | TSModuleDeclarationModuleBase.id | - | declaration/TSModuleDeclaration/spec.ts:117 |
kind | "module" | - | TSModuleDeclarationModuleBase.kind | - | declaration/TSModuleDeclaration/spec.ts:120 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSModuleDeclarationModuleBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSModuleDeclarationModuleBase.range | base/NodeOrTokenData.ts:14 |
type | TSModuleDeclaration | - | - | TSModuleDeclarationModuleBase.type | declaration/TSModuleDeclaration/spec.ts:12 |
TSModuleDeclarationModuleWithStringIdDeclaredโ
Defined in: declaration/TSModuleDeclaration/spec.ts:102
A string module declaration that is declared:
declare module 'foo' {}
declare module 'foo';
Extendsโ
TSModuleDeclarationModuleBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body? | TSModuleBlock | The body of the module. This can only be undefined for the code declare module 'mod'; | TSModuleDeclarationModuleBase.body | - | declaration/TSModuleDeclaration/spec.ts:103 |
declare | true | Whether the module is declared Example declare namespace F {} | TSModuleDeclarationModuleBase.declare | - | declaration/TSModuleDeclaration/spec.ts:104 |
global | boolean | Whether this is a global declaration Example declare global {} Deprecated Use kind instead | - | TSModuleDeclarationModuleBase.global | declaration/TSModuleDeclaration/spec.ts:36 |
id | StringLiteral | The name of the module namespace A {} namespace A.B.C {} module 'a' {} | TSModuleDeclarationModuleBase.id | - | declaration/TSModuleDeclaration/spec.ts:105 |
kind | "module" | - | TSModuleDeclarationModuleBase.kind | - | declaration/TSModuleDeclaration/spec.ts:106 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSModuleDeclarationModuleBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSModuleDeclarationModuleBase.range | base/NodeOrTokenData.ts:14 |
type | TSModuleDeclaration | - | - | TSModuleDeclarationModuleBase.type | declaration/TSModuleDeclaration/spec.ts:12 |
TSModuleDeclarationModuleWithStringIdNotDeclaredโ
Defined in: declaration/TSModuleDeclaration/spec.ts:89
A string module declaration that is not declared:
module 'foo' {}
Extendsโ
TSModuleDeclarationModuleBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TSModuleBlock | The body of the module. This can only be undefined for the code declare module 'mod'; | TSModuleDeclarationModuleBase.body | - | declaration/TSModuleDeclaration/spec.ts:90 |
declare | false | Whether the module is declared Example declare namespace F {} | TSModuleDeclarationModuleBase.declare | - | declaration/TSModuleDeclaration/spec.ts:91 |
global | boolean | Whether this is a global declaration Example declare global {} Deprecated Use kind instead | - | TSModuleDeclarationModuleBase.global | declaration/TSModuleDeclaration/spec.ts:36 |
id | StringLiteral | The name of the module namespace A {} namespace A.B.C {} module 'a' {} | TSModuleDeclarationModuleBase.id | - | declaration/TSModuleDeclaration/spec.ts:92 |
kind | "module" | - | TSModuleDeclarationModuleBase.kind | - | declaration/TSModuleDeclaration/spec.ts:93 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSModuleDeclarationModuleBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSModuleDeclarationModuleBase.range | base/NodeOrTokenData.ts:14 |
type | TSModuleDeclaration | - | - | TSModuleDeclarationModuleBase.type | declaration/TSModuleDeclaration/spec.ts:12 |
TSModuleDeclarationNamespaceโ
Defined in: declaration/TSModuleDeclaration/spec.ts:64
Extendsโ
TSModuleDeclarationBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | TSModuleBlock | The body of the module. This can only be undefined for the code declare module 'mod'; | TSModuleDeclarationBase.body | - | declaration/TSModuleDeclaration/spec.ts:65 |
declare | boolean | Whether the module is declared Example declare namespace F {} | - | TSModuleDeclarationBase.declare | declaration/TSModuleDeclaration/spec.ts:25 |
global | boolean | Whether this is a global declaration Example declare global {} Deprecated Use kind instead | - | TSModuleDeclarationBase.global | declaration/TSModuleDeclaration/spec.ts:36 |
id | TSQualifiedName | Identifier | The name of the module namespace A {} namespace A.B.C {} module 'a' {} | TSModuleDeclarationBase.id | - | declaration/TSModuleDeclaration/spec.ts:66 |
kind | "namespace" | The keyword used to define this module declaration Example namespace Foo {} ^^^^^^^^^ module 'foo' {} ^^^^^^ global {} ^^^^^^ | TSModuleDeclarationBase.kind | - | declaration/TSModuleDeclaration/spec.ts:67 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSModuleDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | TSModuleDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | TSModuleDeclaration | - | - | TSModuleDeclarationBase.type | declaration/TSModuleDeclaration/spec.ts:12 |
TSNamedTupleMemberโ
Defined in: type/TSNamedTupleMember/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
elementType | TypeNode | - | - | - | type/TSNamedTupleMember/spec.ts:8 |
label | Identifier | - | - | - | type/TSNamedTupleMember/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | - | type/TSNamedTupleMember/spec.ts:10 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSNamedTupleMember | - | BaseNode.type | - | type/TSNamedTupleMember/spec.ts:7 |
TSNamespaceExportDeclarationโ
Defined in: declaration/TSNamespaceExportDeclaration/spec.ts:11
For the following declaration:
export as namespace X;
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
id | Identifier | The name of the global variable that's exported as namespace | - | - | declaration/TSNamespaceExportDeclaration/spec.ts:16 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSNamespaceExportDeclaration | - | BaseNode.type | - | declaration/TSNamespaceExportDeclaration/spec.ts:12 |
TSNeverKeywordโ
Defined in: type/TSNeverKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSNeverKeyword | - | BaseNode.type | - | type/TSNeverKeyword/spec.ts:5 |
TSNonNullExpressionโ
Defined in: expression/TSNonNullExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | - | expression/TSNonNullExpression/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSNonNullExpression | - | BaseNode.type | - | expression/TSNonNullExpression/spec.ts:6 |
TSNullKeywordโ
Defined in: type/TSNullKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSNullKeyword | - | BaseNode.type | - | type/TSNullKeyword/spec.ts:5 |
TSNumberKeywordโ
Defined in: type/TSNumberKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSNumberKeyword | - | BaseNode.type | - | type/TSNumberKeyword/spec.ts:5 |
TSObjectKeywordโ
Defined in: type/TSObjectKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSObjectKeyword | - | BaseNode.type | - | type/TSObjectKeyword/spec.ts:5 |
TSOptionalTypeโ
Defined in: type/TSOptionalType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSOptionalType | - | BaseNode.type | - | type/TSOptionalType/spec.ts:6 |
typeAnnotation | TypeNode | - | - | - | type/TSOptionalType/spec.ts:7 |
TSParameterPropertyโ
Defined in: parameter/TSParameterProperty/spec.ts:12
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | - | parameter/TSParameterProperty/spec.ts:14 |
decorators | Decorator[] | - | - | - | parameter/TSParameterProperty/spec.ts:15 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
override | boolean | - | - | - | parameter/TSParameterProperty/spec.ts:16 |
parameter | ParameterPropertyParameter | - | - | - | parameter/TSParameterProperty/spec.ts:17 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | - | parameter/TSParameterProperty/spec.ts:18 |
static | boolean | - | - | - | parameter/TSParameterProperty/spec.ts:19 |
type | TSParameterProperty | - | BaseNode.type | - | parameter/TSParameterProperty/spec.ts:13 |
TSPrivateKeywordโ
Defined in: type/TSPrivateKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSPrivateKeyword | - | BaseNode.type | - | type/TSPrivateKeyword/spec.ts:5 |
TSPropertySignatureComputedNameโ
Defined in: element/TSPropertySignature/spec.ts:22
Extendsโ
TSPropertySignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | TSPropertySignatureBase.accessibility | element/TSPropertySignature/spec.ts:13 |
computed | true | - | TSPropertySignatureBase.computed | - | element/TSPropertySignature/spec.ts:23 |
key | Expression | - | TSPropertySignatureBase.key | - | element/TSPropertySignature/spec.ts:24 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSPropertySignatureBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | TSPropertySignatureBase.optional | element/TSPropertySignature/spec.ts:16 |
range | Range | - | - | TSPropertySignatureBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | TSPropertySignatureBase.readonly | element/TSPropertySignature/spec.ts:17 |
static | boolean | - | - | TSPropertySignatureBase.static | element/TSPropertySignature/spec.ts:18 |
type | TSPropertySignature | - | - | TSPropertySignatureBase.type | element/TSPropertySignature/spec.ts:12 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | TSPropertySignatureBase.typeAnnotation | element/TSPropertySignature/spec.ts:19 |
TSPropertySignatureNonComputedNameโ
Defined in: element/TSPropertySignature/spec.ts:27
Extendsโ
TSPropertySignatureBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
accessibility | undefined | Accessibility | - | - | TSPropertySignatureBase.accessibility | element/TSPropertySignature/spec.ts:13 |
computed | false | - | TSPropertySignatureBase.computed | - | element/TSPropertySignature/spec.ts:28 |
key | PropertyNameNonComputed | - | TSPropertySignatureBase.key | - | element/TSPropertySignature/spec.ts:29 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | TSPropertySignatureBase.loc | base/NodeOrTokenData.ts:12 |
optional | boolean | - | - | TSPropertySignatureBase.optional | element/TSPropertySignature/spec.ts:16 |
range | Range | - | - | TSPropertySignatureBase.range | base/NodeOrTokenData.ts:14 |
readonly | boolean | - | - | TSPropertySignatureBase.readonly | element/TSPropertySignature/spec.ts:17 |
static | boolean | - | - | TSPropertySignatureBase.static | element/TSPropertySignature/spec.ts:18 |
type | TSPropertySignature | - | - | TSPropertySignatureBase.type | element/TSPropertySignature/spec.ts:12 |
typeAnnotation | undefined | TSTypeAnnotation | - | - | TSPropertySignatureBase.typeAnnotation | element/TSPropertySignature/spec.ts:19 |
TSProtectedKeywordโ
Defined in: type/TSProtectedKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSProtectedKeyword | - | BaseNode.type | - | type/TSProtectedKeyword/spec.ts:5 |
TSPublicKeywordโ
Defined in: type/TSPublicKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSPublicKeyword | - | BaseNode.type | - | type/TSPublicKeyword/spec.ts:5 |
TSQualifiedNameโ
Defined in: type/TSQualifiedName/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
left | EntityName | - | - | - | type/TSQualifiedName/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
right | Identifier | - | - | - | type/TSQualifiedName/spec.ts:9 |
type | TSQualifiedName | - | BaseNode.type | - | type/TSQualifiedName/spec.ts:7 |
TSReadonlyKeywordโ
Defined in: type/TSReadonlyKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSReadonlyKeyword | - | BaseNode.type | - | type/TSReadonlyKeyword/spec.ts:5 |
TSRestTypeโ
Defined in: type/TSRestType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSRestType | - | BaseNode.type | - | type/TSRestType/spec.ts:6 |
typeAnnotation | TypeNode | - | - | - | type/TSRestType/spec.ts:7 |
TSSatisfiesExpressionโ
Defined in: expression/TSSatisfiesExpression/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | - | expression/TSSatisfiesExpression/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSSatisfiesExpression | - | BaseNode.type | - | expression/TSSatisfiesExpression/spec.ts:7 |
typeAnnotation | TypeNode | - | - | - | expression/TSSatisfiesExpression/spec.ts:9 |
TSStaticKeywordโ
Defined in: type/TSStaticKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSStaticKeyword | - | BaseNode.type | - | type/TSStaticKeyword/spec.ts:5 |
TSStringKeywordโ
Defined in: type/TSStringKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSStringKeyword | - | BaseNode.type | - | type/TSStringKeyword/spec.ts:5 |
TSSymbolKeywordโ
Defined in: type/TSSymbolKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSSymbolKeyword | - | BaseNode.type | - | type/TSSymbolKeyword/spec.ts:5 |
TSTemplateLiteralTypeโ
Defined in: type/TSTemplateLiteralType/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
quasis | TemplateElement[] | - | - | - | type/TSTemplateLiteralType/spec.ts:8 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTemplateLiteralType | - | BaseNode.type | - | type/TSTemplateLiteralType/spec.ts:7 |
types | TypeNode[] | - | - | - | type/TSTemplateLiteralType/spec.ts:9 |
TSThisTypeโ
Defined in: type/TSThisType/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSThisType | - | BaseNode.type | - | type/TSThisType/spec.ts:5 |
TSTupleTypeโ
Defined in: type/TSTupleType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
elementTypes | TypeNode[] | - | - | - | type/TSTupleType/spec.ts:7 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTupleType | - | BaseNode.type | - | type/TSTupleType/spec.ts:6 |
TSTypeAliasDeclarationโ
Defined in: declaration/TSTypeAliasDeclaration/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
declare | boolean | Whether the type was declared. Example declare type T = 1; | - | - | declaration/TSTypeAliasDeclaration/spec.ts:16 |
id | Identifier | The name of the type. | - | - | declaration/TSTypeAliasDeclaration/spec.ts:20 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeAliasDeclaration | - | BaseNode.type | - | declaration/TSTypeAliasDeclaration/spec.ts:8 |
typeAnnotation | TypeNode | The "value" (type) of the declaration | - | - | declaration/TSTypeAliasDeclaration/spec.ts:24 |
typeParameters | | undefined | TSTypeParameterDeclaration | The generic type parameters declared for the type. Empty declaration (<>) is different from no declaration. | - | - | declaration/TSTypeAliasDeclaration/spec.ts:29 |
TSTypeAnnotationโ
Defined in: special/TSTypeAnnotation/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeAnnotation | - | BaseNode.type | - | special/TSTypeAnnotation/spec.ts:6 |
typeAnnotation | TypeNode | - | - | - | special/TSTypeAnnotation/spec.ts:7 |
TSTypeAssertionโ
Defined in: expression/TSTypeAssertion/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
expression | Expression | - | - | - | expression/TSTypeAssertion/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeAssertion | - | BaseNode.type | - | expression/TSTypeAssertion/spec.ts:7 |
typeAnnotation | TypeNode | - | - | - | expression/TSTypeAssertion/spec.ts:9 |
TSTypeLiteralโ
Defined in: type/TSTypeLiteral/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
members | TypeElement[] | - | - | - | type/TSTypeLiteral/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeLiteral | - | BaseNode.type | - | type/TSTypeLiteral/spec.ts:6 |
TSTypeOperatorโ
Defined in: type/TSTypeOperator/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
operator | "keyof" | "readonly" | "unique" | - | - | - | type/TSTypeOperator/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeOperator | - | BaseNode.type | - | type/TSTypeOperator/spec.ts:6 |
typeAnnotation | undefined | TypeNode | - | - | - | type/TSTypeOperator/spec.ts:8 |
TSTypeParameterโ
Defined in: special/TSTypeParameter/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
const | boolean | - | - | - | special/TSTypeParameter/spec.ts:8 |
constraint | undefined | TypeNode | - | - | - | special/TSTypeParameter/spec.ts:9 |
default | undefined | TypeNode | - | - | - | special/TSTypeParameter/spec.ts:10 |
in | boolean | - | - | - | special/TSTypeParameter/spec.ts:11 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
name | Identifier | - | - | - | special/TSTypeParameter/spec.ts:12 |
out | boolean | - | - | - | special/TSTypeParameter/spec.ts:13 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeParameter | - | BaseNode.type | - | special/TSTypeParameter/spec.ts:7 |
TSTypeParameterDeclarationโ
Defined in: special/TSTypeParameterDeclaration/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
params | TSTypeParameter[] | - | - | - | special/TSTypeParameterDeclaration/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeParameterDeclaration | - | BaseNode.type | - | special/TSTypeParameterDeclaration/spec.ts:6 |
TSTypeParameterInstantiationโ
Defined in: special/TSTypeParameterInstantiation/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
params | TypeNode[] | - | - | - | special/TSTypeParameterInstantiation/spec.ts:7 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeParameterInstantiation | - | BaseNode.type | - | special/TSTypeParameterInstantiation/spec.ts:6 |
TSTypePredicateโ
Defined in: type/TSTypePredicate/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
asserts | boolean | - | - | - | type/TSTypePredicate/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
parameterName | TSThisType | Identifier | - | - | - | type/TSTypePredicate/spec.ts:10 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypePredicate | - | BaseNode.type | - | type/TSTypePredicate/spec.ts:8 |
typeAnnotation | null | TSTypeAnnotation | - | - | - | type/TSTypePredicate/spec.ts:11 |
TSTypeQueryโ
Defined in: type/TSTypeQuery/spec.ts:7
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
exprName | TSImportType | EntityName | - | - | - | type/TSTypeQuery/spec.ts:9 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeQuery | - | BaseNode.type | - | type/TSTypeQuery/spec.ts:8 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | - | type/TSTypeQuery/spec.ts:10 |
TSTypeReferenceโ
Defined in: type/TSTypeReference/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSTypeReference | - | BaseNode.type | - | type/TSTypeReference/spec.ts:7 |
typeArguments | | undefined | TSTypeParameterInstantiation | - | - | - | type/TSTypeReference/spec.ts:8 |
typeName | EntityName | - | - | - | type/TSTypeReference/spec.ts:9 |
TSUndefinedKeywordโ
Defined in: type/TSUndefinedKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSUndefinedKeyword | - | BaseNode.type | - | type/TSUndefinedKeyword/spec.ts:5 |
TSUnionTypeโ
Defined in: type/TSUnionType/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSUnionType | - | BaseNode.type | - | type/TSUnionType/spec.ts:6 |
types | TypeNode[] | - | - | - | type/TSUnionType/spec.ts:7 |
TSUnknownKeywordโ
Defined in: type/TSUnknownKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSUnknownKeyword | - | BaseNode.type | - | type/TSUnknownKeyword/spec.ts:5 |
TSVoidKeywordโ
Defined in: type/TSVoidKeyword/spec.ts:4
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | TSVoidKeyword | - | BaseNode.type | - | type/TSVoidKeyword/spec.ts:5 |
UpdateExpressionโ
Defined in: expression/UpdateExpression/spec.ts:4
Extendsโ
UnaryExpressionBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | Expression | - | - | UnaryExpressionBase.argument | base/UnaryExpressionBase.ts:5 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | UnaryExpressionBase.loc | base/NodeOrTokenData.ts:12 |
operator | "--" | "++" | - | UnaryExpressionBase.operator | - | expression/UpdateExpression/spec.ts:6 |
prefix | boolean | - | - | UnaryExpressionBase.prefix | base/UnaryExpressionBase.ts:7 |
range | Range | - | - | UnaryExpressionBase.range | base/NodeOrTokenData.ts:14 |
type | UpdateExpression | - | UnaryExpressionBase.type | - | expression/UpdateExpression/spec.ts:5 |
UsingInForOfDeclarationโ
Defined in: declaration/VariableDeclaration/spec.ts:122
Extendsโ
UsingDeclarationBase
Propertiesโ
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
declarations | [UsingInForOfDeclarator] | The variables declared by this declaration. Always has exactly one element. Example for (using x of y) {} | - | declaration/VariableDeclaration/spec.ts:131 |
declare | false | This value will always be false because 'declare' modifier cannot appear on a 'using' declaration. | UsingDeclarationBase.declare | declaration/VariableDeclaration/spec.ts:97 |
kind | "await using" | "using" | The keyword used to declare the variable(s) Example using x = 1; await using y = 2; | UsingDeclarationBase.kind | declaration/VariableDeclaration/spec.ts:106 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | UsingDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | UsingDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclaration | - | UsingDeclarationBase.type | declaration/VariableDeclaration/spec.ts:92 |
UsingInForOfDeclaratorโ
Defined in: special/VariableDeclarator/spec.ts:57
Extendsโ
VariableDeclaratorBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
definite | false | Whether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator. | VariableDeclaratorBase.definite | - | special/VariableDeclarator/spec.ts:58 |
id | Identifier | The name(s) of the variable(s). | VariableDeclaratorBase.id | - | special/VariableDeclarator/spec.ts:59 |
init | null | The initializer expression of the variable. Must be present for const unless in a declare const. | VariableDeclaratorBase.init | - | special/VariableDeclarator/spec.ts:60 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | VariableDeclaratorBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | VariableDeclaratorBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclarator | - | - | VariableDeclaratorBase.type | special/VariableDeclarator/spec.ts:10 |
UsingInNormalContextDeclarationโ
Defined in: declaration/VariableDeclaration/spec.ts:109
Extendsโ
UsingDeclarationBase
Propertiesโ
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
declarations | UsingInNormalContextDeclarator[] | The variables declared by this declaration. Always non-empty. Example using x = 1; using y = 1, z = 2; | - | declaration/VariableDeclaration/spec.ts:119 |
declare | false | This value will always be false because 'declare' modifier cannot appear on a 'using' declaration. | UsingDeclarationBase.declare | declaration/VariableDeclaration/spec.ts:97 |
kind | "await using" | "using" | The keyword used to declare the variable(s) Example using x = 1; await using y = 2; | UsingDeclarationBase.kind | declaration/VariableDeclaration/spec.ts:106 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | UsingDeclarationBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | UsingDeclarationBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclaration | - | UsingDeclarationBase.type | declaration/VariableDeclaration/spec.ts:92 |
UsingInNormalContextDeclaratorโ
Defined in: special/VariableDeclarator/spec.ts:51
Extendsโ
VariableDeclaratorBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
definite | false | Whether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator. | VariableDeclaratorBase.definite | - | special/VariableDeclarator/spec.ts:52 |
id | Identifier | The name(s) of the variable(s). | VariableDeclaratorBase.id | - | special/VariableDeclarator/spec.ts:53 |
init | Expression | The initializer expression of the variable. Must be present for const unless in a declare const. | VariableDeclaratorBase.init | - | special/VariableDeclarator/spec.ts:54 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | VariableDeclaratorBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | VariableDeclaratorBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclarator | - | - | VariableDeclaratorBase.type | special/VariableDeclarator/spec.ts:10 |
VariableDeclaratorDefiniteAssignmentโ
Defined in: special/VariableDeclarator/spec.ts:37
Extendsโ
VariableDeclaratorBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
definite | true | Whether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator. | VariableDeclaratorBase.definite | - | special/VariableDeclarator/spec.ts:38 |
id | Identifier | The name of the variable. Must have a type annotation. | VariableDeclaratorBase.id | - | special/VariableDeclarator/spec.ts:42 |
init | null | The initializer expression of the variable. Must be present for const unless in a declare const. | VariableDeclaratorBase.init | - | special/VariableDeclarator/spec.ts:43 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | VariableDeclaratorBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | VariableDeclaratorBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclarator | - | - | VariableDeclaratorBase.type | special/VariableDeclarator/spec.ts:10 |
VariableDeclaratorMaybeInitโ
Defined in: special/VariableDeclarator/spec.ts:33
Extendsโ
VariableDeclaratorBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
definite | false | Whether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator. | VariableDeclaratorBase.definite | - | special/VariableDeclarator/spec.ts:34 |
id | BindingName | The name(s) of the variable(s). | - | VariableDeclaratorBase.id | special/VariableDeclarator/spec.ts:20 |
init | null | Expression | The initializer expression of the variable. Must be present for const unless in a declare const. | - | VariableDeclaratorBase.init | special/VariableDeclarator/spec.ts:25 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | VariableDeclaratorBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | VariableDeclaratorBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclarator | - | - | VariableDeclaratorBase.type | special/VariableDeclarator/spec.ts:10 |
VariableDeclaratorNoInitโ
Defined in: special/VariableDeclarator/spec.ts:28
Extendsโ
VariableDeclaratorBase
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
definite | false | Whether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator. | VariableDeclaratorBase.definite | - | special/VariableDeclarator/spec.ts:29 |
id | BindingName | The name(s) of the variable(s). | - | VariableDeclaratorBase.id | special/VariableDeclarator/spec.ts:20 |
init | null | The initializer expression of the variable. Must be present for const unless in a declare const. | VariableDeclaratorBase.init | - | special/VariableDeclarator/spec.ts:30 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | VariableDeclaratorBase.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | VariableDeclaratorBase.range | base/NodeOrTokenData.ts:14 |
type | VariableDeclarator | - | - | VariableDeclaratorBase.type | special/VariableDeclarator/spec.ts:10 |
WhileStatementโ
Defined in: statement/WhileStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement | - | - | - | statement/WhileStatement/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
test | Expression | - | - | - | statement/WhileStatement/spec.ts:9 |
type | WhileStatement | - | BaseNode.type | - | statement/WhileStatement/spec.ts:7 |
WithStatementโ
Defined in: statement/WithStatement/spec.ts:6
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
body | Statement | - | - | - | statement/WithStatement/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
object | Expression | - | - | - | statement/WithStatement/spec.ts:9 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | WithStatement | - | BaseNode.type | - | statement/WithStatement/spec.ts:7 |
YieldExpressionโ
Defined in: expression/YieldExpression/spec.ts:5
Extendsโ
Propertiesโ
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
argument | null | Expression | - | - | - | expression/YieldExpression/spec.ts:7 |
delegate | boolean | - | - | - | expression/YieldExpression/spec.ts:8 |
loc | SourceLocation | The source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property. | - | BaseNode.loc | base/NodeOrTokenData.ts:12 |
range | Range | - | - | BaseNode.range | base/NodeOrTokenData.ts:14 |
type | YieldExpression | - | BaseNode.type | - | expression/YieldExpression/spec.ts:6 |
Type Aliasesโ
Accessibilityโ
type Accessibility = "private" | "protected" | "public";
Defined in: base/Accessibility.ts:1
AccessorPropertyโ
type AccessorProperty =
| AccessorPropertyComputedName
| AccessorPropertyNonComputedName;
Defined in: element/AccessorProperty/spec.ts:15
BinaryExpressionโ
type BinaryExpression =
| PrivateInExpression
| SymmetricBinaryExpression;
Defined in: expression/BinaryExpression/spec.ts:24
BindingNameโ
type BindingName = BindingPattern | Identifier;
Defined in: unions/BindingName.ts:4
BindingPatternโ
type BindingPattern = ArrayPattern | ObjectPattern;
Defined in: unions/BindingPattern.ts:4
CallExpressionArgumentโ
type CallExpressionArgument = Expression | SpreadElement;
Defined in: unions/CallExpressionArgument.ts:4
ChainElementโ
type ChainElement =
| CallExpression
| MemberExpression
| TSNonNullExpression;
Defined in: unions/ChainElement.ts:5
ClassDeclarationโ
type ClassDeclaration =
| ClassDeclarationWithName
| ClassDeclarationWithOptionalName;
Defined in: declaration/ClassDeclaration/spec.ts:29
ClassElementโ
type ClassElement =
| AccessorProperty
| MethodDefinition
| PropertyDefinition
| StaticBlock
| TSAbstractAccessorProperty
| TSAbstractMethodDefinition
| TSAbstractPropertyDefinition
| TSIndexSignature;
Defined in: unions/ClassElement.ts:10
ClassPropertyNameNonComputedโ
type ClassPropertyNameNonComputed =
| PrivateIdentifier
| PropertyNameNonComputed;
Defined in: unions/PropertyName.ts:16
Commentโ
type Comment = BlockComment | LineComment;
Defined in: unions/Comment.ts:4
DeclarationStatementโ
type DeclarationStatement =
| ClassDeclaration
| ClassExpression
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| FunctionDeclaration
| TSDeclareFunction
| TSEnumDeclaration
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSNamespaceExportDeclaration
| TSTypeAliasDeclaration;
Defined in: unions/DeclarationStatement.ts:20
Deprecatedโ
Note that this is neither up to date nor fully correct.
DefaultExportDeclarationsโ
type DefaultExportDeclarations =
| ClassDeclarationWithOptionalName
| Expression
| FunctionDeclarationWithName
| FunctionDeclarationWithOptionalName
| TSDeclareFunction
| TSEnumDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration;
Defined in: unions/ExportDeclaration.ts:20
DestructuringPatternโ
type DestructuringPattern =
| ArrayPattern
| AssignmentPattern
| Identifier
| MemberExpression
| ObjectPattern
| RestElement;
Defined in: unions/DestructuringPattern.ts:8
EntityNameโ
type EntityName =
| Identifier
| ThisExpression
| TSQualifiedName;
Defined in: unions/EntityName.ts:5
ExportDeclarationโ
type ExportDeclaration =
| DefaultExportDeclarations
| NamedExportDeclarations;
Defined in: unions/ExportDeclaration.ts:48
ExportNamedDeclarationโ
type ExportNamedDeclaration =
| ExportNamedDeclarationWithoutSourceWithMultiple
| ExportNamedDeclarationWithoutSourceWithSingle
| ExportNamedDeclarationWithSource;
Defined in: declaration/ExportNamedDeclaration/spec.ts:123
ExportNamedDeclarationWithoutSourceโ
type ExportNamedDeclarationWithoutSource =
| ExportNamedDeclarationWithoutSourceWithMultiple
| ExportNamedDeclarationWithoutSourceWithSingle;
Defined in: declaration/ExportNamedDeclaration/spec.ts:119
ExportSpecifierโ
type ExportSpecifier =
| ExportSpecifierWithIdentifierLocal
| ExportSpecifierWithStringOrLiteralLocal;
Defined in: special/ExportSpecifier/spec.ts:22
Expressionโ
type Expression =
| ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| AssignmentExpression
| AwaitExpression
| BinaryExpression
| CallExpression
| ChainExpression
| ClassExpression
| ConditionalExpression
| FunctionExpression
| Identifier
| ImportExpression
| JSXElement
| JSXFragment
| LiteralExpression
| LogicalExpression
| MemberExpression
| MetaProperty
| NewExpression
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| TemplateLiteral
| ThisExpression
| TSAsExpression
| TSInstantiationExpression
| TSNonNullExpression
| TSSatisfiesExpression
| TSTypeAssertion
| UnaryExpression
| UpdateExpression
| YieldExpression;
Defined in: unions/Expression.ts:45
ForInitialiserโ
type ForInitialiser =
| Expression
| LetOrConstOrVarDeclaration;
Defined in: unions/ForInitialiser.ts:4
FunctionDeclarationโ
type FunctionDeclaration =
| FunctionDeclarationWithName
| FunctionDeclarationWithOptionalName;
Defined in: declaration/FunctionDeclaration/spec.ts:33
FunctionLikeโ
type FunctionLike =
| ArrowFunctionExpression
| FunctionDeclaration
| FunctionExpression
| TSDeclareFunction
| TSEmptyBodyFunctionExpression;
Defined in: unions/FunctionLike.ts:7
ImportClauseโ
type ImportClause =
| ImportDefaultSpecifier
| ImportNamespaceSpecifier
| ImportSpecifier;
Defined in: unions/ImportClause.ts:5
IterationStatementโ
type IterationStatement =
| DoWhileStatement
| ForInStatement
| ForOfStatement
| ForStatement
| WhileStatement;
Defined in: unions/IterationStatement.ts:7
JSXChildโ
type JSXChild =
| JSXElement
| JSXExpression
| JSXFragment
| JSXText;
Defined in: unions/JSXChild.ts:6
JSXExpressionโ
type JSXExpression =
| JSXExpressionContainer
| JSXSpreadChild;
Defined in: unions/JSXExpression.ts:4
JSXTagNameExpressionโ
type JSXTagNameExpression =
| JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName;
Defined in: unions/JSXTagNameExpression.ts:5
LeftHandSideExpressionโ
type LeftHandSideExpression =
| ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| CallExpression
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| LiteralExpression
| MemberExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| ThisExpression
| TSAsExpression
| TSNonNullExpression
| TSTypeAssertion;
Defined in: unions/LeftHandSideExpression.ts:23
LetOrConstOrVarDeclarationโ
type LetOrConstOrVarDeclaration =
| ConstDeclaration
| LetOrVarDeclaredDeclaration
| LetOrVarNonDeclaredDeclaration;
Defined in: declaration/VariableDeclaration/spec.ts:86
LetOrConstOrVarDeclaratorโ
type LetOrConstOrVarDeclarator =
| VariableDeclaratorDefiniteAssignment
| VariableDeclaratorMaybeInit
| VariableDeclaratorNoInit;
Defined in: special/VariableDeclarator/spec.ts:46
Literalโ
type Literal =
| BigIntLiteral
| BooleanLiteral
| NullLiteral
| NumberLiteral
| RegExpLiteral
| StringLiteral;
Defined in: unions/Literal.ts:8
LiteralExpressionโ
type LiteralExpression = Literal | TemplateLiteral;
Defined in: unions/LiteralExpression.ts:4
MemberExpressionโ
type MemberExpression =
| MemberExpressionComputedName
| MemberExpressionNonComputedName;
Defined in: expression/MemberExpression/spec.ts:26
MethodDefinitionโ
type MethodDefinition =
| MethodDefinitionComputedName
| MethodDefinitionNonComputedName;
Defined in: element/MethodDefinition/spec.ts:15
NamedExportDeclarationsโ
type NamedExportDeclarations =
| ClassDeclarationWithName
| ClassDeclarationWithOptionalName
| FunctionDeclarationWithName
| FunctionDeclarationWithOptionalName
| TSDeclareFunction
| TSEnumDeclaration
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration;
Defined in: unions/ExportDeclaration.ts:34
Nodeโ
type Node =
| AccessorProperty
| ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| AssignmentExpression
| AssignmentPattern
| AwaitExpression
| BinaryExpression
| BlockStatement
| BreakStatement
| CallExpression
| CatchClause
| ChainExpression
| ClassBody
| ClassDeclaration
| ClassExpression
| ConditionalExpression
| ContinueStatement
| DebuggerStatement
| Decorator
| DoWhileStatement
| EmptyStatement
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ExportSpecifier
| ExpressionStatement
| ForInStatement
| ForOfStatement
| ForStatement
| FunctionDeclaration
| FunctionExpression
| Identifier
| IfStatement
| ImportAttribute
| ImportDeclaration
| ImportDefaultSpecifier
| ImportExpression
| ImportNamespaceSpecifier
| ImportSpecifier
| JSXAttribute
| JSXClosingElement
| JSXClosingFragment
| JSXElement
| JSXEmptyExpression
| JSXExpressionContainer
| JSXFragment
| JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName
| JSXOpeningElement
| JSXOpeningFragment
| JSXSpreadAttribute
| JSXSpreadChild
| JSXText
| LabeledStatement
| Literal
| LogicalExpression
| MemberExpression
| MetaProperty
| MethodDefinition
| NewExpression
| ObjectExpression
| ObjectPattern
| PrivateIdentifier
| Program
| Property
| PropertyDefinition
| RestElement
| ReturnStatement
| SequenceExpression
| SpreadElement
| StaticBlock
| Super
| SwitchCase
| SwitchStatement
| TaggedTemplateExpression
| TemplateElement
| TemplateLiteral
| ThisExpression
| ThrowStatement
| TryStatement
| TSAbstractAccessorProperty
| TSAbstractKeyword
| TSAbstractMethodDefinition
| TSAbstractPropertyDefinition
| TSAnyKeyword
| TSArrayType
| TSAsExpression
| TSAsyncKeyword
| TSBigIntKeyword
| TSBooleanKeyword
| TSCallSignatureDeclaration
| TSClassImplements
| TSConditionalType
| TSConstructorType
| TSConstructSignatureDeclaration
| TSDeclareFunction
| TSDeclareKeyword
| TSEmptyBodyFunctionExpression
| TSEnumBody
| TSEnumDeclaration
| TSEnumMember
| TSExportAssignment
| TSExportKeyword
| TSExternalModuleReference
| TSFunctionType
| TSImportEqualsDeclaration
| TSImportType
| TSIndexedAccessType
| TSIndexSignature
| TSInferType
| TSInstantiationExpression
| TSInterfaceBody
| TSInterfaceDeclaration
| TSInterfaceHeritage
| TSIntersectionType
| TSIntrinsicKeyword
| TSLiteralType
| TSMappedType
| TSMethodSignature
| TSModuleBlock
| TSModuleDeclaration
| TSNamedTupleMember
| TSNamespaceExportDeclaration
| TSNeverKeyword
| TSNonNullExpression
| TSNullKeyword
| TSNumberKeyword
| TSObjectKeyword
| TSOptionalType
| TSParameterProperty
| TSPrivateKeyword
| TSPropertySignature
| TSProtectedKeyword
| TSPublicKeyword
| TSQualifiedName
| TSReadonlyKeyword
| TSRestType
| TSSatisfiesExpression
| TSStaticKeyword
| TSStringKeyword
| TSSymbolKeyword
| TSTemplateLiteralType
| TSThisType
| TSTupleType
| TSTypeAliasDeclaration
| TSTypeAnnotation
| TSTypeAssertion
| TSTypeLiteral
| TSTypeOperator
| TSTypeParameter
| TSTypeParameterDeclaration
| TSTypeParameterInstantiation
| TSTypePredicate
| TSTypeQuery
| TSTypeReference
| TSUndefinedKeyword
| TSUnionType
| TSUnknownKeyword
| TSVoidKeyword
| UnaryExpression
| UpdateExpression
| VariableDeclaration
| VariableDeclarator
| WhileStatement
| WithStatement
| YieldExpression;
Defined in: unions/Node.ts:175
ObjectLiteralElementโ
type ObjectLiteralElement = Property | SpreadElement;
Defined in: unions/ObjectLiteralElement.ts:4
ObjectLiteralElementLikeโ
type ObjectLiteralElementLike = ObjectLiteralElement;
Defined in: unions/ObjectLiteralElement.ts:7
OptionalRangeAndLocโ
type OptionalRangeAndLoc<T> = object & Pick<T, Exclude<keyof T, "loc" | "range">>;
Defined in: base/OptionalRangeAndLoc.ts:5
Type declarationโ
| Name | Type | Defined in |
|---|---|---|
loc? | SourceLocation | base/OptionalRangeAndLoc.ts:6 |
range? | Range | base/OptionalRangeAndLoc.ts:7 |
Type Parametersโ
| Type Parameter |
|---|
T |
Parameterโ
type Parameter =
| ArrayPattern
| AssignmentPattern
| Identifier
| ObjectPattern
| RestElement
| TSParameterProperty;
Defined in: unions/Parameter.ts:8
PrimaryExpressionโ
type PrimaryExpression =
| ArrayExpression
| ArrayPattern
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| JSXOpeningElement
| LiteralExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| Super
| TemplateLiteral
| ThisExpression
| TSNullKeyword;
Defined in: unions/PrimaryExpression.ts:19
ProgramStatementโ
type ProgramStatement =
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ImportDeclaration
| Statement
| TSImportEqualsDeclaration
| TSNamespaceExportDeclaration;
Defined in: unions/Statement.ts:71
Propertyโ
type Property =
| PropertyComputedName
| PropertyNonComputedName;
Defined in: element/Property/spec.ts:37
PropertyDefinitionโ
type PropertyDefinition =
| PropertyDefinitionComputedName
| PropertyDefinitionNonComputedName;
Defined in: element/PropertyDefinition/spec.ts:15
PropertyNameโ
type PropertyName =
| ClassPropertyNameNonComputed
| PropertyNameComputed
| PropertyNameNonComputed;
Defined in: unions/PropertyName.ts:7
PropertyNameComputedโ
type PropertyNameComputed = Expression;
Defined in: unions/PropertyName.ts:11
PropertyNameNonComputedโ
type PropertyNameNonComputed =
| Identifier
| NumberLiteral
| StringLiteral;
Defined in: unions/PropertyName.ts:12
Rangeโ
type Range = [number, number];
Defined in: base/Range.ts:6
An array of two numbers. Both numbers are a 0-based index which is the position in the array of source code characters. The first is the start position of the node, the second is the end position of the node.
Statementโ
type Statement =
| BlockStatement
| BreakStatement
| ClassDeclarationWithName
| ContinueStatement
| DebuggerStatement
| DoWhileStatement
| EmptyStatement
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ExpressionStatement
| ForInStatement
| ForOfStatement
| ForStatement
| FunctionDeclarationWithName
| IfStatement
| ImportDeclaration
| LabeledStatement
| ReturnStatement
| SwitchStatement
| ThrowStatement
| TryStatement
| TSDeclareFunction
| TSEnumDeclaration
| TSExportAssignment
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSNamespaceExportDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration
| WhileStatement
| WithStatement;
Defined in: unions/Statement.ts:35
Tokenโ
type Token =
| BooleanToken
| Comment
| IdentifierToken
| JSXIdentifierToken
| JSXTextToken
| KeywordToken
| NullToken
| NumericToken
| PrivateIdentifierToken
| PunctuatorToken
| RegularExpressionToken
| StringToken
| TemplateToken;
Defined in: unions/Token.ts:15
TSAbstractAccessorPropertyโ
type TSAbstractAccessorProperty =
| TSAbstractAccessorPropertyComputedName
| TSAbstractAccessorPropertyNonComputedName;
Defined in: element/TSAbstractAccessorProperty/spec.ts:19
TSAbstractMethodDefinitionโ
type TSAbstractMethodDefinition =
| TSAbstractMethodDefinitionComputedName
| TSAbstractMethodDefinitionNonComputedName;
Defined in: element/TSAbstractMethodDefinition/spec.ts:17
TSAbstractPropertyDefinitionโ
type TSAbstractPropertyDefinition =
| TSAbstractPropertyDefinitionComputedName
| TSAbstractPropertyDefinitionNonComputedName;
Defined in: element/TSAbstractPropertyDefinition/spec.ts:19
TSDeclareFunctionโ
type TSDeclareFunction =
| TSDeclareFunctionNoDeclare
| TSDeclareFunctionWithDeclare;
Defined in: declaration/TSDeclareFunction/spec.ts:53
TSImportEqualsDeclarationโ
type TSImportEqualsDeclaration =
| TSImportEqualsNamespaceDeclaration
| TSImportEqualsRequireDeclaration;
Defined in: declaration/TSImportEqualsDeclaration/spec.ts:60
TSMethodSignatureโ
type TSMethodSignature =
| TSMethodSignatureComputedName
| TSMethodSignatureNonComputedName;
Defined in: element/TSMethodSignature/spec.ts:36
TSModuleDeclarationโ
type TSModuleDeclaration =
| TSModuleDeclarationGlobal
| TSModuleDeclarationModule
| TSModuleDeclarationNamespace;
Defined in: declaration/TSModuleDeclaration/spec.ts:129
TSModuleDeclarationKindโ
type TSModuleDeclarationKind = "global" | "module" | "namespace";
Defined in: declaration/TSModuleDeclaration/spec.ts:9
TSModuleDeclarationModuleโ
type TSModuleDeclarationModule =
| TSModuleDeclarationModuleWithIdentifierId
| TSModuleDeclarationModuleWithStringId;
Defined in: declaration/TSModuleDeclaration/spec.ts:126
TSModuleDeclarationModuleWithStringIdโ
type TSModuleDeclarationModuleWithStringId =
| TSModuleDeclarationModuleWithStringIdDeclared
| TSModuleDeclarationModuleWithStringIdNotDeclared;
Defined in: declaration/TSModuleDeclaration/spec.ts:123
TSPropertySignatureโ
type TSPropertySignature =
| TSPropertySignatureComputedName
| TSPropertySignatureNonComputedName;
Defined in: element/TSPropertySignature/spec.ts:32
TSUnaryExpressionโ
type TSUnaryExpression =
| AwaitExpression
| LeftHandSideExpression
| UnaryExpression
| UpdateExpression;
Defined in: unions/TSUnaryExpression.ts:7
TypeElementโ
type TypeElement =
| TSCallSignatureDeclaration
| TSConstructSignatureDeclaration
| TSIndexSignature
| TSMethodSignature
| TSPropertySignature;
Defined in: unions/TypeElement.ts:7
TypeNodeโ
type TypeNode =
| TSAbstractKeyword
| TSAnyKeyword
| TSArrayType
| TSAsyncKeyword
| TSBigIntKeyword
| TSBooleanKeyword
| TSConditionalType
| TSConstructorType
| TSDeclareKeyword
| TSExportKeyword
| TSFunctionType
| TSImportType
| TSIndexedAccessType
| TSInferType
| TSIntersectionType
| TSIntrinsicKeyword
| TSLiteralType
| TSMappedType
| TSNamedTupleMember
| TSNeverKeyword
| TSNullKeyword
| TSNumberKeyword
| TSObjectKeyword
| TSOptionalType
| TSPrivateKeyword
| TSProtectedKeyword
| TSPublicKeyword
| TSQualifiedName
| TSReadonlyKeyword
| TSRestType
| TSStaticKeyword
| TSStringKeyword
| TSSymbolKeyword
| TSTemplateLiteralType
| TSThisType
| TSTupleType
| TSTypeLiteral
| TSTypeOperator
| TSTypePredicate
| TSTypeQuery
| TSTypeReference
| TSUndefinedKeyword
| TSUnionType
| TSUnknownKeyword
| TSVoidKeyword;
Defined in: unions/TypeNode.ts:47
UnaryExpressionโ
type UnaryExpression =
| UnaryExpressionBitwiseNot
| UnaryExpressionDelete
| UnaryExpressionMinus
| UnaryExpressionNot
| UnaryExpressionPlus
| UnaryExpressionTypeof
| UnaryExpressionVoid;
Defined in: expression/UnaryExpression/spec.ts:25
UnaryExpressionBitwiseNotโ
type UnaryExpressionBitwiseNot = UnaryExpressionSpecific<"~">;
Defined in: expression/UnaryExpression/spec.ts:23
UnaryExpressionDeleteโ
type UnaryExpressionDelete = UnaryExpressionSpecific<"delete">;
Defined in: expression/UnaryExpression/spec.ts:17
UnaryExpressionMinusโ
type UnaryExpressionMinus = UnaryExpressionSpecific<"-">;
Defined in: expression/UnaryExpression/spec.ts:15
UnaryExpressionNotโ
type UnaryExpressionNot = UnaryExpressionSpecific<"!">;
Defined in: expression/UnaryExpression/spec.ts:11
UnaryExpressionPlusโ
type UnaryExpressionPlus = UnaryExpressionSpecific<"+">;
Defined in: expression/UnaryExpression/spec.ts:13
UnaryExpressionTypeofโ
type UnaryExpressionTypeof = UnaryExpressionSpecific<"typeof">;
Defined in: expression/UnaryExpression/spec.ts:19
UnaryExpressionVoidโ
type UnaryExpressionVoid = UnaryExpressionSpecific<"void">;
Defined in: expression/UnaryExpression/spec.ts:21
UsingDeclarationโ
type UsingDeclaration =
| UsingInForOfDeclaration
| UsingInNormalContextDeclaration;
Defined in: declaration/VariableDeclaration/spec.ts:134
UsingDeclaratorโ
type UsingDeclarator =
| UsingInForOfDeclarator
| UsingInNormalContextDeclarator;
Defined in: special/VariableDeclarator/spec.ts:63
VariableDeclarationโ
type VariableDeclaration =
| LetOrConstOrVarDeclaration
| UsingDeclaration;
Defined in: declaration/VariableDeclaration/spec.ts:138
VariableDeclaratorโ
type VariableDeclarator =
| LetOrConstOrVarDeclarator
| UsingDeclarator;
Defined in: special/VariableDeclarator/spec.ts:67