Class: Ldpath::Parser
- Inherits:
-
Parslet::Parser
- Object
- Parslet::Parser
- Ldpath::Parser
- Defined in:
- lib/ldpath/parser.rb
Instance Method Summary collapse
Instance Method Details
#group(atom) ⇒ Object
438 439 440 441 442 |
# File 'lib/ldpath/parser.rb', line 438 def group(atom) str("(") >> wsp? >> atom >> wsp? >> str(")") end |