mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
63 lines
1.3 KiB
JSON
63 lines
1.3 KiB
JSON
{
|
|
"type": "Assignment",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
"right": {
|
|
"type": "Assignment",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "b"
|
|
},
|
|
"right": {
|
|
"type": "LogicalExpression",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "a"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"name": "b"
|
|
}
|
|
},
|
|
"operator": ">",
|
|
"right": {
|
|
"type": "Assignment",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"name": "c"
|
|
},
|
|
"right": {
|
|
"type": "Literal",
|
|
"value": 2
|
|
},
|
|
"operator": "+="
|
|
}
|
|
},
|
|
"operator": "||",
|
|
"right": {
|
|
"type": "ConditionalExpression",
|
|
"test": {
|
|
"type": "Identifier",
|
|
"name": "isHidden"
|
|
},
|
|
"consequent": {
|
|
"type": "Literal",
|
|
"value": "hidden"
|
|
},
|
|
"alternate": {
|
|
"type": "Literal",
|
|
"value": "visible"
|
|
}
|
|
}
|
|
},
|
|
"operator": "="
|
|
},
|
|
"operator": "="
|
|
} |