Slide 7
Slide 7 text
var ast = "Abstract Syntax Tree";
のAST
{"type": "Program",
"body": [{
"type": "VariableDeclaration",
"declarations": [{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "ast"
},
"init": {
"type": "Literal",
"value": "Abstract Syntax Tree",
"raw": "\"Abstract Syntax Tree\""
}
}], "kind": "var"}]
, "sourceType": "script"}
7