Module x

Module x 

Source
Expand description

§Matcher pieces

Structs§

All2
All3
AnyOf2Matcher
AnyOf3Matcher
Attr
AttrEq
Seq2
Seq3
ToIdx
TokenHasAny
TokenText

Enums§

AnyOf2
AnyOf3

Traits§

All
AnyOf
Seq
XDirection
XMatch
Examples: Attr, AttrEq

Functions§

all
Match if all matchers match
any_of
Match if one of the matchers match
attr
Match token with A attributes
attr_eq
Match token with A attributes equal to attr
seq
Match if all matchers match one after the other
token_has_any
Match token with A attributes equals to one of attrs value
token_text
Match single token and provide their text representation
whitespace
Match any number of consecutive spaces.