Class MusicNotationLexer
[CLSCompliant(false)]
public class MusicNotationLexer : Lexer, IRecognizer, ITokenSource
- Inheritance
-
LexerMusicNotationLexer
- Implements
-
IRecognizerITokenSource
- Inherited Members
-
Lexer.DEFAULT_MODELexer.DefaultTokenChannelLexer.HiddenLexer.MinCharValueLexer.MaxCharValueLexer.OutputLexer.ErrorOutputLexer.Reset()Lexer.NextToken()Lexer.Skip()Lexer.More()Lexer.PopMode()Lexer.SetInputStream(ICharStream)Lexer.Emit(IToken)Lexer.Emit()Lexer.EmitEOF()Lexer.GetAllTokens()Lexer.Recover(LexerNoViableAltException)Lexer.NotifyListeners(LexerNoViableAltException)Lexer.Recover(RecognitionException)Lexer.TokenFactoryLexer.SourceNameLexer.InputStreamLexer.LineLexer.ColumnLexer.CharIndexLexer.TokenStartCharIndexLexer.TokenStartLineLexer.TokenStartColumnLexer.TextLexer.TokenLexer.TypeLexer.ChannelLexer.ModeStackLexer.CurrentModeLexer.HitEOFRecognizer<int, LexerATNSimulator>.EofRecognizer<int, LexerATNSimulator>.CreateTokenTypeMap(IVocabulary)Recognizer<int, LexerATNSimulator>.GetErrorHeader(RecognitionException)Recognizer<int, LexerATNSimulator>.GetTokenErrorDisplay(IToken)Recognizer<int, LexerATNSimulator>.AddErrorListener(IAntlrErrorListener<int>)Recognizer<int, LexerATNSimulator>.RemoveErrorListener(IAntlrErrorListener<int>)Recognizer<int, LexerATNSimulator>.RemoveErrorListeners()Recognizer<int, LexerATNSimulator>.RuleNamesRecognizer<int, LexerATNSimulator>.VocabularyRecognizer<int, LexerATNSimulator>.TokenTypeMapRecognizer<int, LexerATNSimulator>.RuleIndexMapRecognizer<int, LexerATNSimulator>.SerializedAtnRecognizer<int, LexerATNSimulator>.GrammarFileNameRecognizer<int, LexerATNSimulator>.AtnRecognizer<int, LexerATNSimulator>.InterpreterRecognizer<int, LexerATNSimulator>.ParseInfoRecognizer<int, LexerATNSimulator>.ErrorListenersRecognizer<int, LexerATNSimulator>.ErrorListenerDispatchRecognizer<int, LexerATNSimulator>.StateRecognizer<int, LexerATNSimulator>.InputStream
Constructors
MusicNotationLexer(ICharStream)
public MusicNotationLexer(ICharStream input)
Parameters
inputICharStream
MusicNotationLexer(ICharStream, TextWriter, TextWriter)
public MusicNotationLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
Parameters
inputICharStreamoutputTextWritererrorOutputTextWriter
Fields
APPOGGIATURA
public const int APPOGGIATURA = 38
Field Value
ARROW
public const int ARROW = 5
Field Value
AT
public const int AT = 4
Field Value
BAR
public const int BAR = 3
Field Value
BPM
public const int BPM = 25
Field Value
CHARACTER
public const int CHARACTER = 27
Field Value
COLON
public const int COLON = 2
Field Value
CRESC
public const int CRESC = 31
Field Value
DIM
public const int DIM = 32
Field Value
DOT
public const int DOT = 16
Field Value
DURATION_LETTER
public const int DURATION_LETTER = 21
Field Value
DYNAMICS
public const int DYNAMICS = 30
Field Value
DYNAMICS_LEVEL
public const int DYNAMICS_LEVEL = 34
Field Value
DefaultVocabulary
public static readonly IVocabulary DefaultVocabulary
Field Value
- IVocabulary
EQUALS
public const int EQUALS = 6
Field Value
FLAT
public const int FLAT = 20
Field Value
IDENT
public const int IDENT = 39
Field Value
INT
public const int INT = 23
Field Value
LANGLE
public const int LANGLE = 14
Field Value
LBRACE
public const int LBRACE = 12
Field Value
LBRACKET
public const int LBRACKET = 8
Field Value
LPAREN
public const int LPAREN = 10
Field Value
MINUS
public const int MINUS = 7
Field Value
MORDENT
public const int MORDENT = 36
Field Value
PART
public const int PART = 29
Field Value
PITCH_NAME
public const int PITCH_NAME = 22
Field Value
RANGLE
public const int RANGLE = 15
Field Value
RBRACE
public const int RBRACE = 13
Field Value
RBRACKET
public const int RBRACKET = 9
Field Value
REST
public const int REST = 18
Field Value
RPAREN
public const int RPAREN = 11
Field Value
SECTION
public const int SECTION = 28
Field Value
SHARP
public const int SHARP = 19
Field Value
SLASH
public const int SLASH = 1
Field Value
STRING
public const int STRING = 24
Field Value
TEMPO
public const int TEMPO = 26
Field Value
TILDE
public const int TILDE = 17
Field Value
TO
public const int TO = 33
Field Value
TRILL
public const int TRILL = 35
Field Value
TURN
public const int TURN = 37
Field Value
WS
public const int WS = 40
Field Value
_ATN
public static readonly ATN _ATN
Field Value
- ATN
channelNames
public static string[] channelNames
Field Value
- string[]
decisionToDFA
protected static DFA[] decisionToDFA
Field Value
- DFA[]
modeNames
public static string[] modeNames
Field Value
- string[]
ruleNames
public static readonly string[] ruleNames
Field Value
- string[]
sharedContextCache
protected static PredictionContextCache sharedContextCache
Field Value
- PredictionContextCache
Properties
ChannelNames
public override string[] ChannelNames { get; }
Property Value
- string[]
GrammarFileName
For debugging and other purposes, might want the grammar name.
public override string GrammarFileName { get; }
Property Value
Remarks
For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.
ModeNames
public override string[] ModeNames { get; }
Property Value
- string[]
RuleNames
Used to print out token names like ID during debugging and error reporting.
public override string[] RuleNames { get; }
Property Value
- string[]
Remarks
Used to print out token names like ID during debugging and error reporting. The generated parsers implement a method that overrides this to point to their String[] tokenNames.
SerializedAtn
If this recognizer was generated, it will have a serialized ATN representation of the grammar.
public override int[] SerializedAtn { get; }
Property Value
- int[]
Remarks
If this recognizer was generated, it will have a serialized ATN representation of the grammar.
For interpreters, we don't know their serialized ATN despite having created the interpreter from it.
Vocabulary
Get the vocabulary used by the recognizer.
[NotNull]
public override IVocabulary Vocabulary { get; }
Property Value
- IVocabulary
A Antlr4.Runtime.IVocabulary instance providing information about the vocabulary used by the grammar.
Remarks
Get the vocabulary used by the recognizer.