song

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveCols

func RemoveCols(idx Indexes, row ast.Node) ast.Node

Types

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

func NewHeader

func NewHeader(h *ast.Node) Header

func (Header) Empty

func (h Header) Empty() bool

func (Header) Node

func (h Header) Node() ast.Node

func (Header) Remove

func (h Header) Remove() Header

func (Header) RemoveColumns

func (h Header) RemoveColumns(idx Indexes) Header

type Indexes

type Indexes map[int]bool

type Song

type Song struct {
	Title    string
	TableRow ast.Node
}

func New

func New(ast ast.Node, source []byte) Song

func (Song) RemoveColumns

func (s Song) RemoveColumns(idx Indexes) Song

func (Song) String

func (s Song) String() string

Jump to

Keyboard shortcuts

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