Class: Code::Parser::Range
- Inherits:
-
LeftOperation
- Object
- Language
- LeftOperation
- Code::Parser::Range
- Defined in:
- lib/code/parser/range.rb
Instance Method Summary collapse
Methods inherited from LeftOperation
#root, #whitespace, #whitespace?
Instance Method Details
#dot ⇒ Object
10 11 12 |
# File 'lib/code/parser/range.rb', line 10 def dot str(".") end |
#operator ⇒ Object
14 15 16 |
# File 'lib/code/parser/range.rb', line 14 def operator (dot << dot << dot) | (dot << dot) end |
#statement ⇒ Object
6 7 8 |
# File 'lib/code/parser/range.rb', line 6 def statement OrOperator end |