LemonJS/tests/out_test_and.json

153 lines
4.9 KiB
JSON

{
"root_node": {
"type": "and",
"children": [
{
"type": "and",
"children": [
{
"type": "expr",
"children": [
{
"type": "eq",
"children": [
{
"type": "ID",
"children": [],
"lexeme": "ID",
"start": 0,
"end": 3
},
{
"type": "EQ",
"children": [],
"lexeme": "EQ",
"start": 4,
"end": 6
},
{
"type": "literal",
"children": [
{
"type": "INTEGER_LITERAL",
"children": [],
"lexeme": "INTEGER_LITERAL",
"start": 7,
"end": 8
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
},
{
"type": "expr",
"children": [
{
"type": "eq",
"children": [
{
"type": "ID",
"children": [],
"lexeme": "ID",
"start": 13,
"end": 17
},
{
"type": "EQ",
"children": [],
"lexeme": "EQ",
"start": 18,
"end": 20
},
{
"type": "literal",
"children": [
{
"type": "INTEGER_LITERAL",
"children": [],
"lexeme": "INTEGER_LITERAL",
"start": 21,
"end": 22
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
},
{
"type": "expr",
"children": [
{
"type": "eq",
"children": [
{
"type": "ID",
"children": [],
"lexeme": "ID",
"start": 28,
"end": 31
},
{
"type": "EQ",
"children": [],
"lexeme": "EQ",
"start": 32,
"end": 34
},
{
"type": "literal",
"children": [
{
"type": "INTEGER_LITERAL",
"children": [],
"lexeme": "INTEGER_LITERAL",
"start": 35,
"end": 36
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
}
],
"lexeme": null,
"start": 0,
"end": 0
}
}