gram/conformance/cases/mod-031-compound-in-base/ast.json
abiwab 073d4f1a7a
All checks were successful
CI / Build & Test (pull_request) Successful in 4m21s
feat(kitchen): compile sums of quantities with their parts and warnings
2026-11-15 14:14:23 +01:00

110 lines
2.4 KiB
JSON

{
"type": "Recipe",
"meta": {
"title": "Mod Compound In Base"
},
"imports": [
{
"type": "ImportDecl",
"specifier": "./bases/pate.gram",
"bindings": [
{
"exported": "default",
"local": "pate",
"loc": {
"start": 65,
"end": 70
}
}
],
"retroPlanning": null,
"loc": {
"start": 37,
"end": 71
}
}
],
"children": [
{
"type": "Section",
"title": "Montage",
"retroPlanning": null,
"intermediateDecl": null,
"children": [
{
"type": "Step",
"action": "Foncer",
"children": [
{
"type": "Text",
"value": "avec ",
"loc": {
"start": 93,
"end": 98
}
},
{
"type": "Reference",
"name": "pate",
"quantity": {
"type": "CompoundQuantity",
"terms": [
{
"value": {
"type": "single",
"value": 400,
"text": "400"
},
"unit": "g",
"loc": {
"start": 104,
"end": 109
}
},
{
"value": {
"type": "single",
"value": 100,
"text": "100"
},
"unit": "g",
"loc": {
"start": 112,
"end": 117
}
}
],
"fixed": false,
"raw": "400 g + 100 g",
"loc": {
"start": 104,
"end": 117
}
},
"loc": {
"start": 98,
"end": 118
}
},
{
"type": "Text",
"value": ".",
"loc": {
"start": 118,
"end": 119
}
}
],
"loc": {
"start": 84,
"end": 120
}
}
],
"loc": {
"start": 72,
"end": 120
}
}
]
}