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