This commit is contained in:
Jeremy Ashkenas
2009-12-25 19:34:40 -08:00
parent dd5317ebe9
commit 52700ca922

View File

@@ -302,6 +302,8 @@ module CoffeeScript
# A range literal. Ranges can be used to extract portions (slices) of arrays,
# or to specify a range for array comprehensions.
# Because there's no corresponding concept in JavaScript, RangeNodes are never
# compiled directly, just used by other nodes that accept ranges.
class RangeNode
attr_reader :from, :to