Created
August 13, 2025 09:38
-
-
Save oofdere/0430af5c84e171d2c7c56946a1b36aba to your computer and use it in GitHub Desktop.
comparing deno and acorn ast
This file contains hidden or 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
| const acorn = Node { | |
| type: "Program", | |
| start: 0, | |
| end: 44, | |
| body: [ | |
| Node { | |
| type: "VariableDeclaration", | |
| start: 0, | |
| end: 19, | |
| declarations: [ | |
| Node { | |
| type: "VariableDeclarator", | |
| start: 6, | |
| end: 18, | |
| id: [Node], | |
| init: [Node] | |
| } | |
| ], | |
| kind: "const" | |
| }, | |
| Node { | |
| type: "ExpressionStatement", | |
| start: 28, | |
| end: 44, | |
| expression: Node { | |
| type: "CallExpression", | |
| start: 28, | |
| end: 43, | |
| callee: Node { type: "Identifier", start: 28, end: 33, name: "spawn" }, | |
| arguments: [ [Node] ], | |
| optional: false | |
| } | |
| } | |
| ], | |
| sourceType: "script" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment