ctpg ~master (2022-05-29T03:06:24.0192733)
Dub
Repo
charRange.build
ctpg
parsers
charRange
Undocumented in source.
template
charRange
(dchar begin, dchar end, size_t line = 0, string file = "")
template
build (
alias
kind
SrcType
) {
dchar
decode
(SrcType input, size_t advance);
static if
(
begin == dchar.min && end == dchar.max
)
enum
errorMsg
;
static if
(!(
begin == dchar.min && end == dchar.max
))
enum
errorMsg
;
mixin
MAKE_RESULT
!
q{
dchar
}
;
static if
(
isSomeChar!(ElementEncodingType!SrcType)
)
Result
parse
(Input!SrcType input, Caller caller);
static if
(!(
isSomeChar!(ElementEncodingType!SrcType)
))
Result
parse
(Input!SrcType input, Caller caller);
}
Members
Functions
decode
dchar
decode
(SrcType input, size_t advance)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
Result
parse
(Input!SrcType input, Caller caller)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
Result
parse
(Input!SrcType input, Caller caller)
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
errorMsg
enum
errorMsg
;
Undocumented in source.
errorMsg
enum
errorMsg
;
Undocumented in source.
Mixins
__anonymous
mixin
MAKE_RESULT
!
q{
dchar
}
Undocumented in source.
Meta
Source
See Implementation
ctpg
parsers
charRange
templates
build