Struct std.uni.MatcherConcept
Conceptual type that outlines the common properties of all UTF Matchers.
struct MatcherConcept
;
Properties
Name | Type | Description |
---|---|---|
subMatcher [get]
|
auto | Advanced feature - provide direct access to a subset of matcher based a
set of known encoding lengths. Lengths are provided in
code units. The sub-matcher then may do less
operations per any test /match .
|
Methods
Name | Description |
---|---|
match
|
Perform a semantic equivalent 2 operations:
decoding a code point at front of |
skip
|
Perform a semantic equivalent 2 operations:
decoding a code point at front of |
test
|
Perform a semantic equivalent 2 operations:
decoding a code point at front of |
Note
For illustration purposes only, every method
call results in assertion failure.
Use utfMatcher
to obtain a concrete matcher
for UTF-8 or UTF-16 encodings.
Authors
Dmitry Olshansky