Skip to content

⬅️ Back to Table of Contents

📄 BinaryExpression/spec

📊 Analysis Summary

Metric Count
📦 Imports 6
🔄 Re-exports 1
📐 Interfaces 2
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

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

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
BaseNode ../../base/BaseNode
PrivateIdentifier ../../special/PrivateIdentifier/spec
Expression ../../unions/Expression
ValueOf ../../utils
BinaryOperatorToText ./BinaryOperatorToText

Re-exports

Type Source Exported Names
namespace ./BinaryOperatorToText *

Interfaces

PrivateInExpression

Interface Code
export interface PrivateInExpression extends BaseNode {
  type: AST_NODE_TYPES.BinaryExpression;
  left: PrivateIdentifier;
  operator: 'in';
  right: Expression;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.BinaryExpression not shown
left PrivateIdentifier not shown
operator 'in' not shown
right Expression not shown

SymmetricBinaryExpression

Interface Code
export interface SymmetricBinaryExpression extends BaseNode {
  type: AST_NODE_TYPES.BinaryExpression;
  left: Expression;
  operator: ValueOf<BinaryOperatorToText>;
  right: Expression;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.BinaryExpression not shown
left Expression not shown
operator ValueOf<BinaryOperatorToText> not shown
right Expression not shown

Type Aliases

BinaryExpression

type BinaryExpression = PrivateInExpression | SymmetricBinaryExpression;

Generated by Syntax Scribe