pc4d v1.0.9 (2022-08-26T10:46:45Z)
Dub
Repo
Alternative
pc4d
parsers
class for matching alternatives
class
Alternative : Parser!(T)(
T
) {
Parser
!(
T
)[]
fParsers
;
this
(Parser!(T)[] parsers);
ParseResult
!(
T
)
parse
(T[] s);
}
Constructors
this
this
(Parser!(T)[] parsers)
Undocumented in source.
Members
Functions
parse
ParseResult
!(
T
)
parse
(T[] s)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
fParsers
Parser
!(
T
)[]
fParsers
;
Undocumented in source.
Meta
Source
See Implementation
pc4d
parsers
classes
Alternative
BlockComment
ExprParser
Integer
Lazy
Match
Optional
Regex
Repetition
Sequence
functions
alnum
blockComment
integer
killResults
lazyParser
match
number
or
regex
sequence
class for matching alternatives