Skip to main content

Crate rnix

Crate rnix 

Source

Re-exports§

pub use ast::Root;

Modules§

ast
Provides a type system for the AST, in some sense

Macros§

T
match_ast
Matches a SyntaxNode against an ast type.

Structs§

Parse
The result of a parse
ParseSyntaxKindError
Error returned when parsing a string into a SyntaxKind fails.
TextRange
A range in text, represented as a pair of TextSize.
TextSize
A measure of text length. Also, equivalently, an index into text.

Enums§

NixLanguage
NodeOrToken
ParseError
An error that occurred during parsing
SyntaxKind
TokenAtOffset
There might be zero, one or two leaves at a given offset.
WalkEvent
WalkEvent describes tree walking process.

Functions§

tokenize
Tokenize the given input

Type Aliases§

SyntaxElement
SyntaxElementChildren
SyntaxNode
SyntaxNodeChildren
SyntaxToken
Token