⬅️ Back to Table of Contents
📄 BaseNode.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
2 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/base/BaseNode.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../ast-node-types |
NodeOrTokenData |
./NodeOrTokenData |
Interfaces
BaseNode
Interface Code
export interface BaseNode extends NodeOrTokenData {
type: AST_NODE_TYPES;
/**
* The parent node of the current node
*
* This is added in the @typescript-eslint/types package as ESLint adds it
* while traversing.
*/
// parent?: Node;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES |
✗ |
|