Class: Pegarus::Product
- Defined in:
- lib/pegarus/ast/product.rb
Instance Attribute Summary
Attributes inherited from BinaryOp
Instance Method Summary collapse
-
#initialize(first, second) ⇒ Product
constructor
A new instance of Product.
- #visit(visitor) ⇒ Object
Methods inherited from Pattern
#*, #+, #+@, #-, #-@, #/, engine, #graph, #match, select_engine
Constructor Details
Instance Method Details
#visit(visitor) ⇒ Object
8 9 10 |
# File 'lib/pegarus/ast/product.rb', line 8 def visit(visitor) visitor.product self end |