Skip to main content

Module visit

Module visit 

Source

Structs§

NodeKey
Identity of one node within a parsed tree.
ParsedRoot
What parse_root gives back.
VisitNode
The single node view passed to every Visit callback.

Enums§

NodeId
Unique identifier for each AST node type that can be queried.
VisitAction
Controls whether children are visited after a visit_* method returns.
VisitBreak
Controls early termination of the entire traversal.

Traits§

ErasedNode
A node whose type is erased.
NodeVisitor
The object-safe core of Visit.
Visit
VisitFlowExt
Named VisitFlow values.
VisitMut
Visitable
VisitableMut

Functions§

parse_root
Parses source as the node kind that id names, into arena.

Attribute Macros§

visitor
The #[visitor] attribute: observer methods without a return type auto-descend. Re-exported so visitor consumers need only depend on css_ast.