Show / Hide Table of Contents

Class calculatorParser

Inheritance
System.Object
calculatorParser
Namespace: GCore.Antlr.Grammers.Calculator
Assembly: Calculator.dll
Syntax
public class calculatorParser : Parser

Constructors

| Improve this Doc View Source

calculatorParser(ITokenStream)

Declaration
public calculatorParser(ITokenStream input)
Parameters
Type Name Description
ITokenStream input
| Improve this Doc View Source

calculatorParser(ITokenStream, TextWriter, TextWriter)

Declaration
public calculatorParser(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
Type Description
ATN
| Improve this Doc View Source

ACOS

Declaration
public const int ACOS = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ASIN

Declaration
public const int ASIN = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ATAN

Declaration
public const int ATAN = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

COMMA

Declaration
public const int COMMA = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

COS

Declaration
public const int COS = 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

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

EULER

Declaration
public const int EULER = 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

I

Declaration
public const int I = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

LN

Declaration
public const int LN = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

LOG

Declaration
public const int LOG = 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

PI

Declaration
public const int PI = 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_constant

Declaration
public const int RULE_constant = 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_func_

Declaration
public const int RULE_func_ = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

RULE_funcname

Declaration
public const int RULE_funcname = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

RULE_multiplyingExpression

Declaration
public const int RULE_multiplyingExpression = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

RULE_powExpression

Declaration
public const int RULE_powExpression = 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_signedAtom

Declaration
public const int RULE_signedAtom = 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

SIN

Declaration
public const int SIN = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SQRT

Declaration
public const int SQRT = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

TAN

Declaration
public const int TAN = null
Field Value
Type Description
System.Int32
| 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 calculatorParser.AtomContext atom()
Returns
Type Description
calculatorParser.AtomContext
| Improve this Doc View Source

constant()

Declaration
public calculatorParser.ConstantContext constant()
Returns
Type Description
calculatorParser.ConstantContext
| Improve this Doc View Source

equation()

Declaration
public calculatorParser.EquationContext equation()
Returns
Type Description
calculatorParser.EquationContext
| Improve this Doc View Source

expression()

Declaration
public calculatorParser.ExpressionContext expression()
Returns
Type Description
calculatorParser.ExpressionContext
| Improve this Doc View Source

func_()

Declaration
public calculatorParser.Func_Context func_()
Returns
Type Description
calculatorParser.Func_Context
| Improve this Doc View Source

funcname()

Declaration
public calculatorParser.FuncnameContext funcname()
Returns
Type Description
calculatorParser.FuncnameContext
| Improve this Doc View Source

multiplyingExpression()

Declaration
public calculatorParser.MultiplyingExpressionContext multiplyingExpression()
Returns
Type Description
calculatorParser.MultiplyingExpressionContext
| Improve this Doc View Source

powExpression()

Declaration
public calculatorParser.PowExpressionContext powExpression()
Returns
Type Description
calculatorParser.PowExpressionContext
| Improve this Doc View Source

relop()

Declaration
public calculatorParser.RelopContext relop()
Returns
Type Description
calculatorParser.RelopContext
| Improve this Doc View Source

scientific()

Declaration
public calculatorParser.ScientificContext scientific()
Returns
Type Description
calculatorParser.ScientificContext
| Improve this Doc View Source

signedAtom()

Declaration
public calculatorParser.SignedAtomContext signedAtom()
Returns
Type Description
calculatorParser.SignedAtomContext
| Improve this Doc View Source

variable()

Declaration
public calculatorParser.VariableContext variable()
Returns
Type Description
calculatorParser.VariableContext
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX