class Parser
- Parser
- Reference
- Object
Direct Known Subclasses
Defined in:
parsing/primitive.crConstructors
Instance Method Summary
- #char(sample : Array(Char) | Char | Range(Char, Char) | Array(Range(Char, Char))) : Char | Nil
- #checkpoint(name = nil, &)
- #consume_until(sample : String) : String
- #multiline_whitespace
- #one_or_more(block : -> V | Nil, separated_by : Proc(S) | Nil = nil) : Array(V) | Nil forall V, S
- #or(*alternatives)
- #read_fully?
- #rollback
- #str(sample : Array(String) | String) : String | Nil
- #whitespace
- #zero_or_more(block : -> V | Nil, separated_by : Proc(S) | Nil = nil) : Array(V) forall V, S
Macro Summary
Constructor Detail
Instance Method Detail
def char(sample : Array(Char) | Char | Range(Char, Char) | Array(Range(Char, Char))) : Char | Nil
#
def one_or_more(block : -> V | Nil, separated_by : Proc(S) | Nil = nil) : Array(V) | Nil forall V, S
#
def zero_or_more(block : -> V | Nil, separated_by : Proc(S) | Nil = nil) : Array(V) forall V, S
#