View source code
Display the source code in std/uni.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
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
(inp)
|
Perform a semantic equivalent 2 operations:
decoding a code point at front of |
skip
(inp)
|
Perform a semantic equivalent 2 operations:
decoding a code point at front of |
test
(inp)
|
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
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.