Skip to main content

alphaTab.importer.AlphaTexImporter

(no description)

 class AlphaTexImporter extends ScoreImporter implements IAlphaTexImporter

Properties​

lexerDiagnostics​

(no description)

readonly lexerDiagnostics: AlphaTexDiagnosticBag;

logErrors​

(no description)

logErrors: boolean;

name​

(no description)

readonly name: string;

parseMode​

(no description)

readonly parseMode: AlphaTexParseMode;

parser​

The underlying parser used for parsing the AST. Available after initialization of the importer.

readonly parser: AlphaTexParser | undefined;

parserDiagnostics​

(no description)

readonly parserDiagnostics: AlphaTexDiagnosticBag;

scoreNode​

(no description)

readonly scoreNode: AlphaTexScoreNode | undefined;

semanticDiagnostics​

(no description)

readonly semanticDiagnostics: AlphaTexDiagnosticBag;

state​

(no description)

Methods​

addSemanticDiagnostic​

(no description)

addSemanticDiagnostic(diagnostic: AlphaTexDiagnostic): void
ParameterSummary
diagnosticAll

(no description)

applyPercussionStaff​

(no description)

applyPercussionStaff(staff: Staff): void
ParameterSummary
staffAll

(no description)

applyStaffNoteKind​

(no description)

applyStaffNoteKind(staff: Staff, staffNoteKind: AlphaTexStaffNoteKind): void
ParameterSummary
staffAll

(no description)

staffNoteKindAll

(no description)

init​

Initializes the importer with the given data and settings. (Inherited from ScoreImporter )

init(data: IReadable, settings: Settings): void
ParameterSummary
dataAll

(no description)

settingsAll

(no description)

initFromString​

(no description)

initFromString(tex: string, settings: Settings): void
ParameterSummary
texAll

(no description)

settingsAll

(no description)

readScore​

(no description)

readScore(): Score

startNewStaff​

(no description)

startNewStaff(): Staff

startNewTrack​

(no description)

startNewTrack(): Track

startNewVoice​

(no description)

startNewVoice(): void