⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
4 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/special/CatchClause/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
BaseNode |
../../base/BaseNode |
BlockStatement |
../../statement/BlockStatement/spec |
BindingName |
../../unions/BindingName |
Interfaces
CatchClause
Interface Code
export interface CatchClause extends BaseNode {
type: AST_NODE_TYPES.CatchClause;
body: BlockStatement;
param: BindingName | null;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.CatchClause |
✗ |
|
body |
BlockStatement |
✗ |
|
param |
BindingName | null |
✗ |
|