Refactor executor to make it able to call recursively

and Add variable declarator using callExpression AST test
This commit is contained in:
Kurt Hutten IrevDev
2022-11-20 09:41:21 +11:00
parent 0d92dd4a3c
commit 082730bb2e
4 changed files with 230 additions and 56 deletions

View File

@ -389,7 +389,7 @@ function makeLiteral(tokens: Token[], index: number): Literal {
};
}
interface BinaryExpression extends GeneralStatement {
export interface BinaryExpression extends GeneralStatement {
type: "BinaryExpression";
operator: string;
left: BinaryPart;