mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
removing the <- bind operator from CoffeeScript...
This commit is contained in:
@@ -87,7 +87,6 @@ grammar: {
|
||||
Expression: [
|
||||
o "Value"
|
||||
o "Call"
|
||||
o "Curry"
|
||||
o "Code"
|
||||
o "Operation"
|
||||
o "Assign"
|
||||
@@ -302,11 +301,6 @@ grammar: {
|
||||
o "Super"
|
||||
]
|
||||
|
||||
# Binds a function call to a context and/or arguments.
|
||||
Curry: [
|
||||
o "Value <- Arguments", -> new CurryNode $1, $3
|
||||
]
|
||||
|
||||
# Extending an object by setting its prototype chain to reference a parent
|
||||
# object.
|
||||
Extends: [
|
||||
@@ -605,7 +599,7 @@ operators: [
|
||||
["right", 'FOR', 'WHILE', 'UNTIL', 'NEW', 'SUPER', 'CLASS']
|
||||
["left", 'EXTENDS']
|
||||
["right", 'ASSIGN', 'RETURN']
|
||||
["right", '->', '=>', '<-', 'UNLESS', 'IF', 'ELSE']
|
||||
["right", '->', '=>', 'UNLESS', 'IF', 'ELSE']
|
||||
]
|
||||
|
||||
# Wrapping Up
|
||||
|
||||
Reference in New Issue
Block a user