test(hemar): update parser test to match better paths

This commit is contained in:
2025-12-09 14:21:03 +00:00
parent 93a7636c61
commit 13fdfac2ef
3 changed files with 26 additions and 16 deletions

View File

@@ -108,7 +108,17 @@
#
# Interpolation = {
# "type": "interpolation",
# "path": string # path to variable in data model
# "path": [PathSegment, ...] # structured path to variable in data model
# }
#
# PathSegment = {
# "type": "root" # root path: "."
# } | {
# "type": "key",
# "key": string # key name (can contain spaces if quoted)
# } | {
# "type": "index",
# "index": number # array index (can be negative)
# }
#
# Element types (planned for MVP):