Crate grit_util

Crate grit_util 

Source

Modules§

constants
error

Structs§

AnalysisLog
AnalysisLogBuilder
Builder for AnalysisLog.
AnalysisLogs
ByteRange
CodeRange
EffectRange
FileRange
InputRanges
MatchRanges
Position
Range
RangeWithoutByte
Replacement
SnippetTree
VariableBinding
VariableMatch

Enums§

EffectKind
FileOrigin
Information on where a file came from, for the parser to be smarter
GritMetaValue
Order
Order to iterate through a n-ary tree; for n-ary trees only Pre-order and Post-order make sense.
UtilRange

Traits§

Ast
AstCursor
Trait which represents a stateful cursor in a n-ary tree. The cursor can be moved between nodes in the tree by the given methods, and the node which the cursor is currently pointing at can be read as well.
AstNode
Represents an AST node and offers convenient AST-specific functionality.
Language
Parser

Functions§

traverse
Traverse an n-ary tree using cursor, returning the nodes of the tree through an iterator in an order according to order.