named.rb

Path: lib/parslet/atoms/named.rb
Last Update: Fri Jul 15 14:35:39 -0400 2016

Names a match to influence tree construction.

Example:

  str('foo')            # will return 'foo',
  str('foo').as(:foo)   # will return :foo => 'foo'

[Validate]