Class: Pegarus::BinaryOp
Direct Known Subclasses
Instance Attribute Summary collapse
-
#first ⇒ Object
Returns the value of attribute first.
-
#second ⇒ Object
Returns the value of attribute second.
Instance Method Summary collapse
-
#initialize(first, second) ⇒ BinaryOp
constructor
A new instance of BinaryOp.
Methods inherited from Pattern
#*, #+, #+@, #-, #-@, #/, engine, #graph, #match, select_engine, #visit
Constructor Details
Instance Attribute Details
#first ⇒ Object
Returns the value of attribute first.
120 121 122 |
# File 'lib/pegarus/ast/pattern.rb', line 120 def first @first end |
#second ⇒ Object
Returns the value of attribute second.
120 121 122 |
# File 'lib/pegarus/ast/pattern.rb', line 120 def second @second end |