⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
2 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/token/RegularExpressionToken/spec.ts
📦 Imports
Name |
Source |
AST_TOKEN_TYPES |
../../ast-token-types |
BaseToken |
../../base/BaseToken |
Interfaces
RegularExpressionToken
Interface Code
export interface RegularExpressionToken extends BaseToken {
type: AST_TOKEN_TYPES.RegularExpression;
regex: {
flags: string;
pattern: string;
};
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_TOKEN_TYPES.RegularExpression |
✗ |
|
regex |
`{ |
|
|
flags: string; |
|
|
|
pattern: string; |
|
|
|
}` |
✗ |
|
|