a122ebe169
Reviewed-by: jlaskey, hannesw
345 lines
8.5 KiB
Plaintext
345 lines
8.5 KiB
Plaintext
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
"property": {
|
|
"type": "Literal",
|
|
"value": 3
|
|
},
|
|
"computed": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "b"
|
|
},
|
|
"computed": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
"property": {
|
|
"type": "Literal",
|
|
"value": "foo"
|
|
},
|
|
"computed": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "bar"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"name": "Type"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"name": "Type"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"name": "Type"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
{
|
|
"type": "Literal",
|
|
"value": "hello"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "Type"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "Type"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "Type"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
{
|
|
"type": "Literal",
|
|
"value": "hello"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"name": "b"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
{
|
|
"type": "Program",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"object": {
|
|
"type": "Identifier",
|
|
"name": "obj"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"name": "foo"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"name": "b"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|