gram/conformance/cases/warn-002-relative-quantity-unresolved/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

70 lines
1.5 KiB
JSON

{
"type": "Recipe",
"meta": {
"title": "Warn Relative Quantity Unresolved"
},
"imports": [],
"children": [
{
"type": "Section",
"title": "Section",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": null,
"children": [
{
"type": "Text",
"value": "Add ",
"loc": {
"start": 62,
"end": 66
}
},
{
"type": "Ingredient",
"name": "sugar",
"modifiers": [],
"quantity": {
"type": "RelativeQuantity",
"percent": 50,
"text": "50",
"target": "flour",
"referenceType": "ingredient",
"loc": {
"start": 73,
"end": 84
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 66,
"end": 85
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 85,
"end": 86
}
}
],
"loc": {
"start": 62,
"end": 87
}
}
],
"loc": {
"start": 50,
"end": 87
}
}
]
}