Documentation
¶
Index ¶
- Variables
- func LenUTF8(s string) int
- func Pad(s string, length int) string
- type Filters
- type Formatter
- type Lyrics
- type Properties
- type Scales
- type Score
- type Sketch
- type Table
- func (t *Table) AddCol(name string)
- func (t *Table) AddLine(data []string)
- func (t *Table) CalcColWidths() error
- func (t *Table) Cols() []string
- func (t *Table) Finish() error
- func (t *Table) LineNo() int
- func (t *Table) Name() string
- func (i *Table) Pad(col int, s string) string
- func (t *Table) ParseLine(line string) error
- func (t *Table) WriteTo(f Formatter) error
- type Timbres
- type Tokens
- type Tracks
- type Tunings
Constants ¶
This section is empty.
Variables ¶
View Source
var DEBUG bool
Functions ¶
Types ¶
type Properties ¶
type Properties struct {
*Table
}
func NewProperties ¶
func NewProperties(lineNo int, sc Score) *Properties
func (*Properties) Finish ¶
func (t *Properties) Finish() (err error)
type Score ¶
type Score interface { AddTrack(*track.Track) AddTuning(t *tuning.Tuning) AddFilter(t *filter.Filter) AddScale(t items.Mode) AddTimbre(t *timbre.Timbre) AddSketch(name string) interface { ParseLine([]string) error AddColumn(string) } AddProperty(key, value string) AddLyrics(map[string][]string) AddInclude(file, sketch string, params []string) error AddToken(key, value string) }
type Table ¶
type Table struct { Score Score Data [][]string // lines -> cols // contains filtered or unexported fields }
func (*Table) CalcColWidths ¶
Click to show internal directories.
Click to hide internal directories.