forked from lix-project/lix
* Attribute selection operator.
This commit is contained in:
parent
b95a3dc45b
commit
933b3f677d
1 changed files with 5 additions and 1 deletions
|
@ -53,9 +53,13 @@ exports
|
||||||
"[" {Expr ","}* "]"
|
"[" {Expr ","}* "]"
|
||||||
-> Expr {cons("List")}
|
-> Expr {cons("List")}
|
||||||
|
|
||||||
|
Expr "." Id
|
||||||
|
-> Expr {cons("Select")}
|
||||||
|
|
||||||
context-free priorities
|
context-free priorities
|
||||||
|
|
||||||
Expr Expr -> Expr
|
Expr "." Id -> Expr
|
||||||
|
> Expr Expr -> Expr
|
||||||
> "{" {Id ","}* "}" ":" Expr -> Expr
|
> "{" {Id ","}* "}" ":" Expr -> Expr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue