pegged v0.4.3 (2018-02-16T19:45:56Z)
Dub
Repo
isSubtype
pegged
examples
pattern
Undocumented in source.
template
isSubtype (
T
...
) {
static if
(
T.length == 0
)
enum
isSubtype
;
static if
(!(
T.length == 0
))
static if
(
is(T[0] : T[$ / 2])
)
enum
isSubtype
;
static if
(!(
T.length == 0
))
static if
(!(
is(T[0] : T[$ / 2])
))
enum
isSubtype
;
}
Members
Manifest constants
isSubtype
enum
isSubtype
;
Undocumented in source.
isSubtype
enum
isSubtype
;
Undocumented in source.
isSubtype
enum
isSubtype
;
Undocumented in source.
Meta
Source
See Implementation
pegged
examples
pattern
functions
anyValue
endValue
failure
rangeAny
rangeRest
success
structs
MatchResult
Success
TypeAnd
TypeAny
TypeDiscardMatch
TypeEnd
TypeEps
TypeLiteral
TypeNegLookAhead
TypeOneOrMore
TypeOption
TypeOr
TypePosLookAhead
TypeSatisfy
TypeSubType
TypeZeroOrMore
isRange
templates
RangePatternResult
TypeFailure
isSubtype
onRange