Uses of Interface
eu.bandm.tscore.tparser.Token
Package
Description
Generic and low level data types and transformation algorithms,
to be used by very different applications of the
tscore
framework.-
Uses of Token in eu.bandm.tscore.base
Modifier and TypeMethodDescriptionRawParser.collectFragments
(int firstFragmentColumn, boolean breakAtParentheses) Parser function (=test, consume and return) for unparsed, raw token sequence in time lines and parameter lines.RawParser.foldInto
(SortedMap<Integer, RawParser.PosList> target, SortedMap<Integer, List<Token>> data, boolean isTopLevel) Folds a sequence of input tokens in the main parameter line of a voice into a sub-tree ofRawParser.PosList
, controled by opening and closing parentheses.Modifier and TypeMethodDescriptionprotected @Opt eu.bandm.tools.util.xml.XMLDocumentIdentifier
RawParser.getDocumentId
(Token token) Extract the document id from the given token, which is delivered by the tscore lexerTScoreLexer
.protected eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier>
RawParser.getLocation
(Token token) Get location information in the same way as foreseen for the xantlr/tdom parsing pipeline, which is ...Modifier and TypeMethodDescriptionConcatenate source text of time point values which use more than one (>1) lines of input.RawParser.parse
(Supplier<Token> tokenStream, Modifiers modifiers, MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg) Top-level parser for
timeScape ::= conform? timeless* voxParams* part* EOF
.RawParser.singleCheck
(Map<Integer, List<Token>> tokens) Check whether each collected fragment uses only one(1) input line, and return this only text as a (trivial) concatenation result. -
Uses of Token in eu.bandm.tscore.tparser
Modifier and TypeClassDescriptionclass
Introduced as an abbreviation, only to make the source of RawParser etc.