Names a match to influence tree construction.
Example:
str('foo') # will return 'foo', str('foo').as(:foo) # will return :foo => 'foo'
Call back visitors visit_named method. See parslet/export for an example.
# File lib/parslet/atoms/visitor.rb, line 33 def accept(visitor) visitor.visit_named(name, parslet) end
Generated with the Darkfish Rdoc Generator 2.