named.rb

Path: lib/parslet/atoms/named.rb
Last Update: Thu Apr 26 16:22:26 -0400 2012

Names a match to influence tree construction.

Example:

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

[Validate]