Expand description
Lexer testing helpers.
This type provides testing-oriented matchers for matching on a
TokenStream
.
These matchers are intended for writing tests. To write a parser, you
should use Cursor
instead.
Structs§
- A complex digital token matcher.
- A matcher for a token stream.
- A matcher for a chunk of text from the input source.
Traits§
- Records a way in which a matcher can be added for a particular token rule.
Functions§
- Checks that
report
contains the expected diagnostics inpath
, verbatim. - Checks that
report
contains no diagnostics.