Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[FEATURE][expression] Enable use of square brackets to access map and…
… array elements Allows expressions like: - array(1,2,3)[0] -> 1 - array(1,2,3)[2] -> 3 - array(1,2,3)[-1] -> 3 (Python style, negative indices count from end of array) - array(1,2,3)[-3] -> 1 - map('a',1,'b',2)['a'] -> 1 - map('a',1,'b',2)['b'] -> 2
- Loading branch information
1 parent
13de14a
commit 3490217
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters