⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
5 |
📐 Interfaces |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/expression/NewExpression/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
BaseNode |
../../base/BaseNode |
TSTypeParameterInstantiation |
../../special/TSTypeParameterInstantiation/spec |
CallExpressionArgument |
../../unions/CallExpressionArgument |
Expression |
../../unions/Expression |
Interfaces
NewExpression
Interface Code
export interface NewExpression extends BaseNode {
type: AST_NODE_TYPES.NewExpression;
arguments: CallExpressionArgument[];
callee: Expression;
typeArguments: TSTypeParameterInstantiation | undefined;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.NewExpression |
✗ |
|
arguments |
CallExpressionArgument[] |
✗ |
|
callee |
Expression |
✗ |
|
typeArguments |
TSTypeParameterInstantiation | undefined |
✗ |
|