ctpg ~master (2022-05-29T03:06:24.0192733)
Dub
Repo
changeError.build
ctpg
combinators
changeError
Undocumented in source.
template
changeError
(alias parser, string errorMsg)
template
build (
alias
kind
SrcType
) {
mixin
MAKE_RESULT
!
q{
getParseResultType
!(
parser
.
build
!(
kind
,
SrcType
))
}
;
static if
(
kind.hasError
)
Result
parse
(Input!SrcType input, Caller caller);
alias
parse
=
parser
.
build
!(
kind
,
SrcType
).
parse
;
}
Members
Aliases
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.
Mixins
__anonymous
mixin
MAKE_RESULT
!
q{
getParseResultType
!(
parser
.
build
!(
kind
,
SrcType
))
}
Undocumented in source.
Meta
Source
See Implementation
ctpg
combinators
changeError
templates
build