walker

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Visitor

type Visitor interface {
	EnterNode(w Walker) bool               // EnterNode invoked for each node encountered by Walk.
	GetChildrenVisitor(Key string) Visitor // GetChildrenVisitor returns visitor for children nodes
	LeaveNode(w Walker)                    // LeaveNode invoked after process node
}

Visitor interface

type Walker

type Walker interface {
	Walk(v Visitor)
}

Walker interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL