Class COOLLexer
Inheritance
System.Object
COOLLexer
Assembly: Cool.dll
Syntax
public class COOLLexer : Lexer
Constructors
|
Improve this Doc
View Source
COOLLexer(ICharStream)
Declaration
public COOLLexer(ICharStream input)
Parameters
Type |
Name |
Description |
ICharStream |
input |
|
|
Improve this Doc
View Source
COOLLexer(ICharStream, TextWriter, TextWriter)
Declaration
public COOLLexer(ICharStream input, TextWriter output, TextWriter errorOutput)
Parameters
Type |
Name |
Description |
ICharStream |
input |
|
TextWriter |
output |
|
TextWriter |
errorOutput |
|
Fields
|
Improve this Doc
View Source
_ATN
Declaration
public static readonly ATN _ATN
Field Value
|
Improve this Doc
View Source
ADD
Declaration
public const int ADD = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ASSIGNMENT
Declaration
public const int ASSIGNMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CASE
Declaration
public const int CASE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CASE_ARROW
Declaration
public const int CASE_ARROW = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
channelNames
Declaration
public static string[] channelNames
Field Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
CLASS
Declaration
public const int CLASS = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int CLOSE_COMMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int COMMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
decisionToDFA
Declaration
protected static Antlr4.Runtime.Dfa.DFA[] decisionToDFA
Field Value
Type |
Description |
Antlr4.Runtime.Dfa.DFA[] |
|
|
Improve this Doc
View Source
DefaultVocabulary
Declaration
public static readonly IVocabulary DefaultVocabulary
Field Value
Type |
Description |
IVocabulary |
|
|
Improve this Doc
View Source
DIVISION
Declaration
public const int DIVISION = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ELSE
Declaration
public const int ELSE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EQUAL
Declaration
public const int EQUAL = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ESAC
Declaration
public const int ESAC = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FALSE
Declaration
public const int FALSE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FI
Declaration
public const int FI = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IF
Declaration
public const int IF = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IN
Declaration
public const int IN = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
INHERITS
Declaration
public const int INHERITS = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
INT
Declaration
public const int INT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
INTEGER_NEGATIVE
Declaration
public const int INTEGER_NEGATIVE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ISVOID
Declaration
public const int ISVOID = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LESS_EQUAL
Declaration
public const int LESS_EQUAL = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LESS_THAN
Declaration
public const int LESS_THAN = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LET
Declaration
public const int LET = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LOOP
Declaration
public const int LOOP = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MINUS
Declaration
public const int MINUS = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
modeNames
Declaration
public static string[] modeNames
Field Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
MULTIPLY
Declaration
public const int MULTIPLY = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NEW
Declaration
public const int NEW = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NOT
Declaration
public const int NOT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
OBJECTID
Declaration
public const int OBJECTID = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
OF
Declaration
public const int OF = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int ONE_LINE_COMMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int OPEN_COMMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
POOL
Declaration
public const int POOL = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ruleNames
Declaration
public static readonly string[] ruleNames
Field Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
sharedContextCache
Declaration
protected static PredictionContextCache sharedContextCache
Field Value
Type |
Description |
PredictionContextCache |
|
|
Improve this Doc
View Source
STRING
Declaration
public const int STRING = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__0
Declaration
public const int T__0 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__1
Declaration
public const int T__1 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__2
Declaration
public const int T__2 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__3
Declaration
public const int T__3 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__4
Declaration
public const int T__4 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__5
Declaration
public const int T__5 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__6
Declaration
public const int T__6 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__7
Declaration
public const int T__7 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__8
Declaration
public const int T__8 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
THEN
Declaration
public const int THEN = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
TRUE
Declaration
public const int TRUE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
TYPEID
Declaration
public const int TYPEID = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WHILE
Declaration
public const int WHILE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WHITESPACE
Declaration
public const int WHITESPACE = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
ChannelNames
Declaration
public override string[] ChannelNames { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
GrammarFileName
Declaration
public override string GrammarFileName { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ModeNames
Declaration
public override string[] ModeNames { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
RuleNames
Declaration
public override string[] RuleNames { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
SerializedAtn
Declaration
public override string SerializedAtn { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vocabulary
Declaration
public override IVocabulary Vocabulary { get; }
Property Value
Type |
Description |
IVocabulary |
|