Module: Trxl::BinaryExpression0
- Defined in:
- lib/trxl/trxl_grammar.rb
Instance Method Summary collapse
- #binary_expression ⇒ Object
- #operand_1 ⇒ Object
- #operand_2 ⇒ Object
- #operator ⇒ Object
- #space ⇒ Object
Instance Method Details
#binary_expression ⇒ Object
377 378 379 |
# File 'lib/trxl/trxl_grammar.rb', line 377 def binary_expression elements[5] end |
#operand_1 ⇒ Object
357 358 359 |
# File 'lib/trxl/trxl_grammar.rb', line 357 def operand_1 elements[0] end |
#operand_2 ⇒ Object
373 374 375 |
# File 'lib/trxl/trxl_grammar.rb', line 373 def operand_2 elements[4] end |
#operator ⇒ Object
365 366 367 |
# File 'lib/trxl/trxl_grammar.rb', line 365 def operator elements[2] end |
#space ⇒ Object
361 362 363 |
# File 'lib/trxl/trxl_grammar.rb', line 361 def space elements[1] end |