ctpg ~master (2022-05-29T03:06:24.0192733)
Dub
Repo
inputSlice.build
ctpg
combinators
inputSlice
Undocumented in source.
template
inputSlice
(alias parser, size_t line = 0, string file = "")
template
build (
alias
kind
SrcType
) {
alias
Result
=
ParseResult
!(
kind
,
SrcType
,
SrcType
)
;
static if
(
kind.hasValue
)
Result
parse
(Input!SrcType input, Caller caller);
alias
parse
=
parser
.
build
!(
kind
,
SrcType
).
parse
;
}
Members
Aliases
Result
alias
Result
=
ParseResult
!(
kind
,
SrcType
,
SrcType
)
Undocumented in source.
parse
alias
parse
=
parser
.
build
!(
kind
,
SrcType
).
parse
Undocumented in source.
Functions
parse
Result
parse
(Input!SrcType input, Caller caller)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
ctpg
combinators
inputSlice
templates
build