Class ChordSymbolLexer
[CLSCompliant(false)]
public class ChordSymbolLexer : Lexer, IRecognizer, ITokenSource
- Inheritance
-
LexerChordSymbolLexer
- 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
ChordSymbolLexer(ICharStream)
public ChordSymbolLexer(ICharStream input)
Parameters
inputICharStream
ChordSymbolLexer(ICharStream, TextWriter, TextWriter)
public ChordSymbolLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
Parameters
inputICharStreamoutputTextWritererrorOutputTextWriter
Fields
ADD
public const int ADD = 9
Field Value
ALT
public const int ALT = 19
Field Value
AUG
public const int AUG = 15
Field Value
COMMA
public const int COMMA = 5
Field Value
DELTA
public const int DELTA = 18
Field Value
DIM
public const int DIM = 14
Field Value
DefaultVocabulary
public static readonly IVocabulary DefaultVocabulary
Field Value
- IVocabulary
FLAT
public const int FLAT = 7
Field Value
HALF_DIM
public const int HALF_DIM = 17
Field Value
INT
public const int INT = 23
Field Value
LPAREN
public const int LPAREN = 3
Field Value
MAJ
public const int MAJ = 12
Field Value
MIN
public const int MIN = 13
Field Value
MINUS
public const int MINUS = 8
Field Value
NO
public const int NO = 10
Field Value
OMIT
public const int OMIT = 11
Field Value
PITCH_NAME
public const int PITCH_NAME = 22
Field Value
POLYSEP
public const int POLYSEP = 1
Field Value
POWER
public const int POWER = 20
Field Value
RPAREN
public const int RPAREN = 4
Field Value
SHARP
public const int SHARP = 6
Field Value
SIX_NINE
public const int SIX_NINE = 21
Field Value
SLASH
public const int SLASH = 2
Field Value
SUS
public const int SUS = 16
Field Value
WS
public const int WS = 24
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.