Patrick Steele-Idem 5df81440e5 Reorganized tests
2016-05-05 07:56:24 -07:00

58 lines
1.0 KiB
JSON

{
"loopType": "ForEach",
"varName": {
"type": "Identifier",
"name": "color"
},
"in": {
"type": "BinaryExpression",
"left": {
"type": "BinaryExpression",
"left": {
"type": "Identifier",
"name": "a"
},
"operator": "in",
"right": {
"type": "Identifier",
"name": "test"
}
},
"operator": "|",
"right": {
"type": "Literal",
"value": 0
}
},
"separator": {
"type": "ConditionalExpression",
"test": {
"type": "BinaryExpression",
"left": {
"type": "Identifier",
"name": "iterator"
},
"operator": "==",
"right": {
"type": "Literal",
"value": 1
}
},
"consequent": {
"type": "Literal",
"value": "foo"
},
"alternate": {
"type": "Literal",
"value": "bar"
}
},
"statusVarName": {
"type": "Identifier",
"name": "loop"
},
"iterator": {
"type": "Identifier",
"name": "myIterator"
}
}