extract

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSetterFilter

func NewSetterFilter() *setterFilter

Types

type Marker

type Marker struct {
	// contains filtered or unexported fields
}

Marker selects entities specified during the Filter method.

func NewMarker

func NewMarker() Marker

NewMarker returns a new Marker.

func (*Marker) Filter

func (em *Marker) Filter(reader tl.Reader, fm map[string][]string) error

Filter takes a Reader and selects any entities that are children of the specified file/id map.

func (*Marker) IsMarked

func (em *Marker) IsMarked(filename, eid string) bool

IsMarked returns if an Entity is marked.

func (*Marker) IsVisited

func (em *Marker) IsVisited(filename string, eid string) bool

IsVisited returns if an Entity was visited.

Jump to

Keyboard shortcuts

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