gram/conformance/cases/023-composite-bare-child/ast.json

82 lines
1.9 KiB
JSON

{
"type": "Recipe",
"meta": {},
"imports": [],
"children": [
{
"type": "Section",
"title": "Prep",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": null,
"children": [
{
"type": "Text",
"value": "Squeeze the ",
"loc": {
"start": 8,
"end": 20
}
},
{
"type": "Ingredient",
"name": "juice",
"modifiers": [],
"quantity": null,
"alias": null,
"preparation": null,
"composite": {
"type": "Composite",
"parent": "lemon",
"quantity": {
"type": "Quantity",
"value": {
"type": "fraction",
"value": 0.5,
"numerator": 1,
"denominator": 2,
"text": "1/2"
},
"unit": null,
"fixed": false,
"loc": {
"start": 34,
"end": 37
}
},
"preparation": null,
"loc": {
"start": 26,
"end": 38
}
},
"loc": {
"start": 20,
"end": 38
}
},
{
"type": "Text",
"value": "into the bowl.",
"loc": {
"start": 39,
"end": 53
}
}
],
"loc": {
"start": 8,
"end": 54
}
}
],
"loc": {
"start": 0,
"end": 54
}
}
]
}