module Sthx::DSL
Overview
If included, defines the following operators on several standard objects
(String
, Char
, Range
) and all of Synthax rules:
*
: repeat (seeSthx.repeat
)&
: sequence (seeSthx.seq
)|
: first of (seeSthx.firstof
)
Defines the following on Range
and Synthax rules:
-
: refuse (seeSthx.refuse
)
Defines the following on Synthax rules:
^
: longest of (seeSthx.longestof
)
Defines the following methods on String
:
apply
: seeSthx::Rule.apply
apply?
: seeSthx::Rule.apply?
apply!
: seeSthx::Rule.apply!