Skip to content

Instantly share code, notes, and snippets.

@beatak
Created December 26, 2014 18:21
Show Gist options
  • Save beatak/f4d53896c062fc93c123 to your computer and use it in GitHub Desktop.
Save beatak/f4d53896c062fc93c123 to your computer and use it in GitHub Desktop.
{
"children": [],
"through": {
"_": {}
},
"type": {
"name": "global"
},
"astNode": {
"type": "Script",
"body": {
"type": "FunctionBody",
"directives": [],
"statements": [
{
"type": "VariableDeclarationStatement",
"declaration": {
"type": "VariableDeclaration",
"kind": "var",
"declarators": [
{
"type": "VariableDeclarator",
"binding": {
"type": "Identifier",
"name": "a"
},
"init": {
"type": "LiteralNumericExpression",
"value": 42
}
}
]
}
}
]
}
},
"variables": {},
"variableList": [
{
"name": "a",
"references": [
{
"node": {
"type": "Identifier",
"name": "a"
},
"accessibility": {
"isRead": false,
"isWrite": true,
"isReadWrite": false
}
}
],
"declarations": [
{
"node": {
"type": "Identifier",
"name": "a"
},
"kind": {
"name": "var",
"isBlockScoped": false,
"isFunctionScoped": true
}
}
]
}
],
"dynamic": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment