Class arithmeticParser
Inheritance
System.Object
arithmeticParser
Assembly: Arithmetic.dll
Syntax
public class arithmeticParser : Parser
Constructors
|
Improve this Doc
View Source
arithmeticParser(ITokenStream)
Declaration
public arithmeticParser(ITokenStream input)
Parameters
Type |
Name |
Description |
ITokenStream |
input |
|
|
Improve this Doc
View Source
arithmeticParser(ITokenStream, TextWriter, TextWriter)
Declaration
public arithmeticParser(ITokenStream input, TextWriter output, TextWriter errorOutput)
Parameters
Type |
Name |
Description |
ITokenStream |
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
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
DIV
Declaration
public const int DIV = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EQ
Declaration
public const int EQ = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GT
Declaration
public const int GT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LPAREN
Declaration
public const int LPAREN = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LT
Declaration
public const int LT = 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
PLUS
Declaration
public const int PLUS = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
POINT
Declaration
public const int POINT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
POW
Declaration
public const int POW = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RPAREN
Declaration
public const int RPAREN = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_atom
Declaration
public const int RULE_atom = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_equation
Declaration
public const int RULE_equation = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_expression
Declaration
public const int RULE_expression = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_file_
Declaration
public const int RULE_file_ = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_relop
Declaration
public const int RULE_relop = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_scientific
Declaration
public const int RULE_scientific = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_variable
Declaration
public const int RULE_variable = 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
SCIENTIFIC_NUMBER
Declaration
public const int SCIENTIFIC_NUMBER = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
sharedContextCache
Declaration
protected static PredictionContextCache sharedContextCache
Field Value
Type |
Description |
PredictionContextCache |
|
|
Improve this Doc
View Source
TIMES
Declaration
public const int TIMES = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
VARIABLE
Declaration
public const int VARIABLE = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WS
Declaration
public const int WS = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
GrammarFileName
Declaration
public override string GrammarFileName { 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 |
|
Methods
|
Improve this Doc
View Source
atom()
Declaration
public arithmeticParser.AtomContext atom()
Returns
|
Improve this Doc
View Source
equation()
Declaration
public arithmeticParser.EquationContext equation()
Returns
|
Improve this Doc
View Source
expression()
Declaration
public arithmeticParser.ExpressionContext expression()
Returns
|
Improve this Doc
View Source
file_()
Declaration
public arithmeticParser.File_Context file_()
Returns
|
Improve this Doc
View Source
relop()
Declaration
public arithmeticParser.RelopContext relop()
Returns
|
Improve this Doc
View Source
scientific()
Declaration
public arithmeticParser.ScientificContext scientific()
Returns
|
Improve this Doc
View Source
Sempred(RuleContext, Int32, Int32)
Declaration
public override bool Sempred(RuleContext _localctx, int ruleIndex, int predIndex)
Parameters
Type |
Name |
Description |
RuleContext |
_localctx |
|
System.Int32 |
ruleIndex |
|
System.Int32 |
predIndex |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
variable()
Declaration
public arithmeticParser.VariableContext variable()
Returns