mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
* 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