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