gram/conformance/cases/mod-004-cross-section-no-false-cycle/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

172 lines
3.8 KiB
JSON

{
"type": "Recipe",
"meta": {},
"imports": [
{
"type": "ImportDecl",
"specifier": "./base.gram",
"bindings": [
{
"exported": "default",
"local": "base",
"loc": {
"start": 22,
"end": 27
}
}
],
"retroPlanning": null,
"loc": {
"start": 0,
"end": 28
}
}
],
"children": [
{
"type": "Section",
"title": "Host",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": null,
"children": [
{
"type": "Ingredient",
"name": "eau",
"modifiers": [],
"quantity": {
"type": "Quantity",
"value": {
"type": "single",
"value": 200,
"text": "200"
},
"unit": "g",
"fixed": false,
"loc": {
"start": 43,
"end": 47
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 38,
"end": 48
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 48,
"end": 49
}
}
],
"loc": {
"start": 38,
"end": 51
}
},
{
"type": "Step",
"action": null,
"children": [
{
"type": "Ingredient",
"name": "farine",
"modifiers": [],
"quantity": {
"type": "RelativeQuantity",
"percent": 50,
"text": "50",
"target": "eau",
"referenceType": "ingredient",
"loc": {
"start": 59,
"end": 68
}
},
"alias": null,
"preparation": null,
"composite": null,
"loc": {
"start": 51,
"end": 69
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 69,
"end": 70
}
}
],
"loc": {
"start": 51,
"end": 72
}
},
{
"type": "Step",
"action": null,
"children": [
{
"type": "Text",
"value": "Use ",
"loc": {
"start": 72,
"end": 76
}
},
{
"type": "Reference",
"name": "base",
"quantity": {
"type": "Quantity",
"value": {
"type": "single",
"value": 1,
"text": "1"
},
"unit": null,
"fixed": false,
"loc": {
"start": 82,
"end": 83
}
},
"loc": {
"start": 76,
"end": 84
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 84,
"end": 85
}
}
],
"loc": {
"start": 72,
"end": 86
}
}
],
"loc": {
"start": 29,
"end": 86
}
}
]
}