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