Module toml.ast.walker stdlib

toml.ast.walker
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
1
Imported by:
2
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn inspect

fn inspect(value &toml.ast.Value, data voidptr, inspector_callback fn (&toml.ast.Value, voidptr) !) !

inspect traverses and checks the AST Value node on a depth-first order and based on the data given

#fn walk

fn walk(visitor Visitor, value &toml.ast.Value) !

walk traverses the AST using the given visitor

#fn walk_and_modify

fn walk_and_modify(modifier Modifier, mut value &toml.ast.Value) !

walk_and_modify traverses the AST using the given modifier and lets the visitor modify the contents.

Structs

This section is empty.

Interfaces

#interface Visitor

pub interface Visitor {
	visit(value &ast.Value) !
}

Visitor defines a visit method which is invoked by the walker on each Value node it encounters.

#interface Modifier

pub interface Modifier {
	modify(mut value ast.Value) !
}

Modifier defines a modify method which is invoked by the walker on each Value node it encounters.

Enums

This section is empty.