gram/conformance/cases/warn-009-relative-quantity-unknown-mass/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": "Warn Relative Quantity Unknown Mass"
},
"imports": [],
"children": [
{
"type": "Section",
"title": "Section",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": null,
"children": [
{
"type": "Text",
"value": "Add ",
"loc": {
"start": 64,
"end": 68
}
},
{
"type": "Ingredient",
"name": "flour",
"modifiers": [],
"quantity": {
"type": "Quantity",
"value": {
"type": "single",
"value": 1,
"text": "1"
},
"unit": "flask",
"fixed": false,
"loc": {
"start": 75,
"end": 82
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 68,
"end": 83
}
},
{
"type": "Text",
"value": "then mix in ",
"loc": {
"start": 84,
"end": 96
}
},
{
"type": "Ingredient",
"name": "water",
"modifiers": [],
"quantity": {
"type": "RelativeQuantity",
"percent": 50,
"text": "50",
"target": "flour",
"referenceType": "ingredient",
"loc": {
"start": 103,
"end": 114
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 96,
"end": 115
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 115,
"end": 116
}
}
],
"loc": {
"start": 64,
"end": 117
}
}
],
"loc": {
"start": 52,
"end": 117
}
}
]
}