mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
comment
This commit is contained in:
@@ -302,6 +302,8 @@ module CoffeeScript
|
|||||||
|
|
||||||
# A range literal. Ranges can be used to extract portions (slices) of arrays,
|
# A range literal. Ranges can be used to extract portions (slices) of arrays,
|
||||||
# or to specify a range for array comprehensions.
|
# 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
|
class RangeNode
|
||||||
attr_reader :from, :to
|
attr_reader :from, :to
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user