walker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT, MIT Imports: 0 Imported by: 0

Documentation

Overview

Package walker declares walking behavior

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Visitor

type Visitor interface {
	EnterNode(w Walkable) bool
	LeaveNode(w Walkable)
}

Visitor interface

type Walkable

type Walkable interface {
	Walk(v Visitor)
}

Walkable interface

Every node must implement this interface

Jump to

Keyboard shortcuts

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