⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
| Metric |
Count |
| 📦 Imports |
1 |
| 📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/expression/literal/RegExpLiteral/spec.ts
📦 Imports
| Name |
Source |
LiteralBase |
../../../base/LiteralBase |
Interfaces
RegExpLiteral
Interface Code
export interface RegExpLiteral extends LiteralBase {
regex: {
flags: string;
pattern: string;
};
value: RegExp | null;
}
Properties
| Name |
Type |
Optional |
Description |
regex |
`{ |
|
|
| flags: string; |
|
|
|
| pattern: string; |
|
|
|
| }` |
✗ |
|
|
value |
RegExp | null |
✗ |
|