Crate rnix[][src]

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

SyntaxElementChildren
SyntaxNodeChildren
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
SyntaxKind
TokenAtOffset

There might be zero, one or two leaves at a given offset.

WalkEvent

WalkEvent describes tree walking process.

Functions

parse

A convenience function for first tokenizing and then parsing given input

Type Definitions

SyntaxElement
SyntaxNode
SyntaxToken