Method: Parslet::Accelerator::Application#visit_entity
- Defined in:
- lib/parslet/accelerator/application.rb
#visit_entity(name, block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/parslet/accelerator/application.rb', line 17 def visit_entity(name, block) transform Parslet::Atoms::Entity.new(name) { block.call.accept(self) } end |