mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 18:44:56 -05:00
Allowing @[property] syntax.
This commit is contained in:
@@ -300,6 +300,7 @@ grammar: {
|
||||
This: [
|
||||
o "@", -> new ValueNode(new LiteralNode('this'))
|
||||
o "@ Identifier", -> new ValueNode(new LiteralNode('this'), [new AccessorNode($2)])
|
||||
o "@ Index", -> new ValueNode(new LiteralNode('this'), [$2])
|
||||
]
|
||||
|
||||
# The range literal.
|
||||
|
||||
Reference in New Issue
Block a user