UNPKG

chordproject-parser

Version:

A TypeScript library for parsing and formatting ChordPro songs.

17 lines (16 loc) 479 B
import { IClonable } from "../IClonable"; import { Line } from "../lines/Line"; export declare enum SectionType { Lyrics = "lyrics", Tabs = "tabs", None = "none" } export declare abstract class Section implements IClonable<Section> { get lines(): Line[]; get sectionType(): SectionType; private _sectionType; protected _lines: Line[]; constructor(sectionType: SectionType); abstract addLine(line: Line): void; abstract clone(): Section; }