View source code Display the source code in std/uni.d from which this page was generated on github. 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. Page wiki View or edit the community-maintained wiki page associated with this page.

Struct std.uni.MatcherConcept

Conceptual type that outlines the common properties of all UTF Matchers.

Methods

Name Description
match

Perform a semantic equivalent 2 operations: decoding a at front of inp and testing if it belongs to the set of of this matcher.

skip

Perform a semantic equivalent 2 operations: decoding a at front of inp and testing if it belongs to the set of of this matcher.

test

Perform a semantic equivalent 2 operations: decoding a at front of inp and testing if it belongs to the set of of this matcher.

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

Boost License 1.0.

Comments