-
-
Save SammyIsra/3bc08becf86c7d06d819dd2dddd61b6e to your computer and use it in GitHub Desktop.
Transformer Output AST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Transformed AST | |
{ | |
type: "Program", | |
body: [ | |
{ | |
type: "ExpressionStatement", | |
expression: { | |
type: "CallExpression", | |
name: { | |
type: "Identifier", | |
name: "concat" | |
}, | |
params: [ | |
{ | |
type: "StringLiteral", | |
value: "Number :" | |
}, | |
{ | |
type: "CallExpression", | |
name: { | |
type: "Identifier", | |
name: "add" | |
}, | |
params: [ | |
{ | |
type: "NumberLiteral", | |
value: "2" | |
}, | |
{ | |
type: "NumberLiteral", | |
value: "3" | |
} | |
] | |
} | |
] | |
} | |
} | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment