1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

array and object destructuring (fix #533)

`. as [$i, $j, $k] | ...`
`. as {a: $i, b: $j} | ...`
`. as [[[$i]], {a: $j}] | ...`
`foreach . as [$i, $j, $k] (...)`
`reduce . as {a: $i, b: $j} (...)`
This commit is contained in:
David Tolnay
2015-06-07 21:45:14 -07:00
committed by Nicolas Williams
parent 2e96fb2c9b
commit d3343d5113
6 changed files with 1148 additions and 869 deletions

1786
parser.c
View File

File diff suppressed because it is too large Load Diff