Merge branch 'master' of git://github.com/matehat/coffee-script

This commit is contained in:
Jeremy Ashkenas 2010-03-16 19:15:21 -04:00
commit 04c5aeda2d
3 changed files with 126 additions and 121 deletions

View File

@ -213,6 +213,8 @@
return new AccessorNode($2);
}), o("PROTOTYPE_ACCESS Identifier", function() {
return new AccessorNode($2, 'prototype');
}), o("::", function() {
return new AccessorNode(new LiteralNode('prototype'));
}), o("SOAK_ACCESS Identifier", function() {
return new AccessorNode($2, 'soak');
}), o("Index"), o("Slice", function() {

File diff suppressed because one or more lines are too long

View File

@ -213,6 +213,7 @@ grammar: {
Accessor: [
o "PROPERTY_ACCESS Identifier", -> new AccessorNode $2
o "PROTOTYPE_ACCESS Identifier", -> new AccessorNode $2, 'prototype'
o "::", -> new AccessorNode(new LiteralNode('prototype'))
o "SOAK_ACCESS Identifier", -> new AccessorNode $2, 'soak'
o "Index"
o "Slice", -> new SliceNode $1