Skip to content

Commit

Permalink
Update Node type
Browse files Browse the repository at this point in the history
  • Loading branch information
1001mei committed Oct 23, 2023
1 parent 3b54172 commit f48524c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ast/types/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@ import {
Block,
BlockStatement,
Expression,
ExpressionName,
Literal,
LocalVariableDeclarationStatement,
} from "./blocks-and-statements";

interface NodeMap {
CompilationUnit: CompilationUnit;
LocalVariableDeclarationStatement: LocalVariableDeclarationStatement;
Block: Block;
BlockStatement: BlockStatement;
Expression: Expression;
ExpresssionName: ExpressionName;
Literal: Literal;
}

export type Node = NodeMap[keyof NodeMap];

0 comments on commit f48524c

Please sign in to comment.