gram/conformance/cases/010-relative-quantity/ast.json
abiwab b819e697b1
All checks were successful
CI / Build & Test (pull_request) Successful in 4m21s
fix(kitchen): flag ambiguous numbers in anchors and percentages
2026-11-14 21:35:04 +01:00

104 lines
2.4 KiB
JSON

{
"type": "Recipe",
"meta": {
"title": "Relative Quantity"
},
"imports": [],
"children": [
{
"type": "Section",
"title": "Section",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": null,
"children": [
{
"type": "Text",
"value": "Mix ",
"loc": {
"start": 46,
"end": 50
}
},
{
"type": "Ingredient",
"name": "flour",
"modifiers": [],
"quantity": {
"type": "Quantity",
"value": {
"type": "single",
"value": 250,
"text": "250"
},
"unit": "g",
"fixed": false,
"loc": {
"start": 57,
"end": 62
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 50,
"end": 63
}
},
{
"type": "Text",
"value": "and ",
"loc": {
"start": 64,
"end": 68
}
},
{
"type": "Ingredient",
"name": "water",
"modifiers": [],
"quantity": {
"type": "RelativeQuantity",
"percent": 60,
"text": "60",
"target": "flour",
"referenceType": "ingredient",
"loc": {
"start": 75,
"end": 86
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 68,
"end": 87
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 87,
"end": 88
}
}
],
"loc": {
"start": 46,
"end": 89
}
}
],
"loc": {
"start": 34,
"end": 89
}
}
]
}