⬅️ Back to Table of Contents
📄 ast-token-types.ts
📊 Analysis Summary
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/ast-token-types.ts
Enums
enum AST_TOKEN_TYPES
Enum Code
export enum AST_TOKEN_TYPES {
Boolean = 'Boolean',
Identifier = 'Identifier',
JSXIdentifier = 'JSXIdentifier',
PrivateIdentifier = 'PrivateIdentifier',
JSXText = 'JSXText',
Keyword = 'Keyword',
Null = 'Null',
Numeric = 'Numeric',
Punctuator = 'Punctuator',
RegularExpression = 'RegularExpression',
String = 'String',
Template = 'Template',
// comment types
Block = 'Block',
Line = 'Line',
}
Members
Name |
Value |
Description |
Boolean |
Boolean |
|
Identifier |
Identifier |
|
JSXIdentifier |
JSXIdentifier |
|
PrivateIdentifier |
PrivateIdentifier |
|
JSXText |
JSXText |
|
Keyword |
Keyword |
|
Null |
Null |
|
Numeric |
Numeric |
|
Punctuator |
Punctuator |
|
RegularExpression |
RegularExpression |
|
String |
String |
|
Template |
Template |
|
Block |
Block |
|
Line |
Line |
|