Merge branch 'master' of git://github.com/matehat/coffee-script
This commit is contained in:
commit
04c5aeda2d
|
@ -213,6 +213,8 @@
|
||||||
return new AccessorNode($2);
|
return new AccessorNode($2);
|
||||||
}), o("PROTOTYPE_ACCESS Identifier", function() {
|
}), o("PROTOTYPE_ACCESS Identifier", function() {
|
||||||
return new AccessorNode($2, 'prototype');
|
return new AccessorNode($2, 'prototype');
|
||||||
|
}), o("::", function() {
|
||||||
|
return new AccessorNode(new LiteralNode('prototype'));
|
||||||
}), o("SOAK_ACCESS Identifier", function() {
|
}), o("SOAK_ACCESS Identifier", function() {
|
||||||
return new AccessorNode($2, 'soak');
|
return new AccessorNode($2, 'soak');
|
||||||
}), o("Index"), o("Slice", function() {
|
}), o("Index"), o("Slice", function() {
|
||||||
|
|
244
lib/parser.js
244
lib/parser.js
File diff suppressed because one or more lines are too long
|
@ -213,6 +213,7 @@ grammar: {
|
||||||
Accessor: [
|
Accessor: [
|
||||||
o "PROPERTY_ACCESS Identifier", -> new AccessorNode $2
|
o "PROPERTY_ACCESS Identifier", -> new AccessorNode $2
|
||||||
o "PROTOTYPE_ACCESS Identifier", -> new AccessorNode $2, 'prototype'
|
o "PROTOTYPE_ACCESS Identifier", -> new AccessorNode $2, 'prototype'
|
||||||
|
o "::", -> new AccessorNode(new LiteralNode('prototype'))
|
||||||
o "SOAK_ACCESS Identifier", -> new AccessorNode $2, 'soak'
|
o "SOAK_ACCESS Identifier", -> new AccessorNode $2, 'soak'
|
||||||
o "Index"
|
o "Index"
|
||||||
o "Slice", -> new SliceNode $1
|
o "Slice", -> new SliceNode $1
|
||||||
|
|
Loading…
Reference in New Issue