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