focustree

package
v0.0.0-...-10d77c3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagType

type FlagType int
const (
	None FlagType = iota
	Focus
	Skip
)

type Node

type Node interface {
	GetFlag() FlagType
	GetChildren() []Node
	IsLeaf() bool
	Warning(info string)
}

func ExtractSelectedLeaves

func ExtractSelectedLeaves(tree Node) []Node

ExtractSelectedLeaves goes through the tree and find leaves whose data should be processed according to the flag (FOCUS, PENDING)

Jump to

Keyboard shortcuts

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