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
- #space1 ⇒ Object
- #space2 ⇒ Object
Instance Method Details
#binary_expression ⇒ Object
395 396 397 |
# File 'lib/trxl/trxl_grammar.rb', line 395 def binary_expression elements[5] end |
#operand_1 ⇒ Object
375 376 377 |
# File 'lib/trxl/trxl_grammar.rb', line 375 def operand_1 elements[0] end |
#operand_2 ⇒ Object
391 392 393 |
# File 'lib/trxl/trxl_grammar.rb', line 391 def operand_2 elements[4] end |
#operator ⇒ Object
383 384 385 |
# File 'lib/trxl/trxl_grammar.rb', line 383 def operator elements[2] end |
#space1 ⇒ Object
379 380 381 |
# File 'lib/trxl/trxl_grammar.rb', line 379 def space1 elements[1] end |
#space2 ⇒ Object
387 388 389 |
# File 'lib/trxl/trxl_grammar.rb', line 387 def space2 elements[3] end |