Skip to content

⬅️ Back to Table of Contents

📄 spec.ts

📊 Analysis Summary

Metric Count
📦 Imports 2
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/expression/UnaryExpression/spec.ts

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
UnaryExpressionBase ../../base/UnaryExpressionBase

Interfaces

UnaryExpression

Interface Code
export interface UnaryExpression extends UnaryExpressionBase {
  type: AST_NODE_TYPES.UnaryExpression;
  operator: '!' | '+' | '-' | 'delete' | 'typeof' | 'void' | '~';
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.UnaryExpression
operator '!' | '+' | '-' | 'delete' | 'typeof' | 'void' | '~'