Method: Parslet::Accelerator.str
- Defined in:
- lib/parslet/accelerator.rb
.str(variable, *constraints) ⇒ Parslet::Accelerator::Expression
Returns a match expression that will match ‘str` parslet atoms.
92 93 94 |
# File 'lib/parslet/accelerator.rb', line 92 def str variable, *constraints Expression.new(:str, variable, *constraints) end |