Class | RParsec::Operators |
In: |
rparsec/operators.rb
|
Parent: | Object |
To create an instance of Operators for the given operators. The block parameter, if present, is used to convert the token text to another object when the token is recognized during grammar parsing phase.
Sort an array of operators so that contained operator appears after containers. When no containment exist between two operators, the shorter one takes precedence.