Module syntect::parsing::syntax_definition [−][src]
This module contains data structures for representing syntax definitions. Everything is public because I want this library to be useful in super integrated cases like text editors and I have no idea what kind of monkeying you might want to do with the data. Perhaps parsing your own syntax format into this data structure?
Structs
Context | |
ContextId | |
MatchIter |
Used to iterate over all the match patterns in a context. Basically walks the tree of patterns and include directives in the correct order. |
MatchPattern | |
SyntaxDefinition |
The main data structure representing a syntax definition loaded from a
|
Enums
ContextReference | |
MatchOperation | |
Pattern |
Functions
context_iter |
Returns an iterator over all the match patterns in this context. It recursively follows include directives. Can only be run on contexts that have already been linked up. |
Type Definitions
CaptureMapping |