grammar: removed a remnant of Slice
This commit is contained in:
parent
b648b392b6
commit
bfc236fca3
|
@ -178,9 +178,7 @@
|
|||
return new Accessor(new Literal('prototype'));
|
||||
}), o("SOAK_ACCESS Identifier", function() {
|
||||
return new Accessor($2, 'soak');
|
||||
}), o("Index"), o("Slice", function() {
|
||||
return new Slice($1);
|
||||
})
|
||||
}), o("Index")
|
||||
],
|
||||
Index: [
|
||||
o("INDEX_START Expression INDEX_END", function() {
|
||||
|
|
240
lib/parser.js
240
lib/parser.js
File diff suppressed because one or more lines are too long
|
@ -244,7 +244,6 @@ grammar =
|
|||
o "::", -> new Accessor(new Literal('prototype'))
|
||||
o "SOAK_ACCESS Identifier", -> new Accessor $2, 'soak'
|
||||
o "Index"
|
||||
o "Slice", -> new Slice $1
|
||||
]
|
||||
|
||||
# Indexing into an object or array using bracket notation.
|
||||
|
|
Loading…
Reference in New Issue