[−][src]Crate rnix
Re-exports
pub use self::parser::AST; |
pub use self::value::StrPart; |
pub use self::value::Value as NixValue; |
Modules
parser | The parser: turns a series of tokens into an AST |
tokenizer | The tokenizer: turns a string into tokens, such as numbers, strings, and keywords |
types | Provides a type system for the AST, in some sense |
value | The types: Such as strings or integers |
Macros
T |
Structs
SmolStr | A |
SyntaxElementChildren | |
SyntaxNodeChildren | |
TextRange | A range in the text, represented as a pair of |
TextUnit | An offset into text.
Offset is represented as |
Enums
NixLanguage | |
NodeOrToken | |
SyntaxKind | |
TokenAtOffset | There might be zero, one or two leaves at a given offset. |
WalkEvent |
|
Functions
parse | A convenience function for first tokenizing and then parsing given input |
Type Definitions
SyntaxElement | |
SyntaxNode | |
SyntaxToken |