Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let x = 2
- let y = "hello"
- ////////////////////////////////////////////
- Program {
- body: [
- VariableAssignment {
- identifier: Identifier {
- token: "x" @ (l0, c4),
- raw: "x",
- },
- assign_expression: Literal {
- token: "2" @ (l0, c8),
- lit_type: IntLiteral,
- value: "2",
- },
- },
- VariableAssignment {
- identifier: Identifier {
- token: "y" @ (l2, c4),
- raw: "y",
- },
- assign_expression: Literal {
- token: "\"hello\"" @ (l2, c8),
- lit_type: StringLiteral,
- value: "\"hello\"",
- },
- },
- ],
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement