Class janusParser
Inheritance
System.Object
janusParser
Assembly: Janus.dll
Syntax
public class janusParser : Parser
Constructors
|
Improve this Doc
View Source
janusParser(ITokenStream)
Declaration
public janusParser(ITokenStream input)
Parameters
Type |
Name |
Description |
ITokenStream |
input |
|
|
Improve this Doc
View Source
janusParser(ITokenStream, TextWriter, TextWriter)
Declaration
public janusParser(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
BINOP
Declaration
public const int BINOP = 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
IDENT
Declaration
public const int IDENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NUM
Declaration
public const int NUM = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_callstmt
Declaration
public const int RULE_callstmt = 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_dostmt
Declaration
public const int RULE_dostmt = 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_ifstmt
Declaration
public const int RULE_ifstmt = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_lvalstmt
Declaration
public const int RULE_lvalstmt = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_lvalue
Declaration
public const int RULE_lvalue = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_minexp
Declaration
public const int RULE_minexp = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_modstmt
Declaration
public const int RULE_modstmt = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_program
Declaration
public const int RULE_program = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_readstmt
Declaration
public const int RULE_readstmt = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_statement
Declaration
public const int RULE_statement = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_statements
Declaration
public const int RULE_statements = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_swapstmt
Declaration
public const int RULE_swapstmt = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_writestmt
Declaration
public const int RULE_writestmt = 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
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__10
Declaration
public const int T__10 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__11
Declaration
public const int T__11 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__12
Declaration
public const int T__12 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__13
Declaration
public const int T__13 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__14
Declaration
public const int T__14 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__15
Declaration
public const int T__15 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__16
Declaration
public const int T__16 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__17
Declaration
public const int T__17 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__18
Declaration
public const int T__18 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__19
Declaration
public const int T__19 = 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__20
Declaration
public const int T__20 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__21
Declaration
public const int T__21 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__22
Declaration
public const int T__22 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__23
Declaration
public const int T__23 = 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
T__9
Declaration
public const int T__9 = 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
callstmt()
Declaration
public janusParser.CallstmtContext callstmt()
Returns
|
Improve this Doc
View Source
constant()
Declaration
public janusParser.ConstantContext constant()
Returns
|
Improve this Doc
View Source
dostmt()
Declaration
public janusParser.DostmtContext dostmt()
Returns
|
Improve this Doc
View Source
expression()
Declaration
public janusParser.ExpressionContext expression()
Returns
|
Improve this Doc
View Source
ifstmt()
Declaration
public janusParser.IfstmtContext ifstmt()
Returns
|
Improve this Doc
View Source
lvalstmt()
Declaration
public janusParser.LvalstmtContext lvalstmt()
Returns
|
Improve this Doc
View Source
lvalue()
Declaration
public janusParser.LvalueContext lvalue()
Returns
|
Improve this Doc
View Source
minexp()
Declaration
public janusParser.MinexpContext minexp()
Returns
|
Improve this Doc
View Source
modstmt()
Declaration
public janusParser.ModstmtContext modstmt()
Returns
|
Improve this Doc
View Source
program()
Declaration
public janusParser.ProgramContext program()
Returns
|
Improve this Doc
View Source
readstmt()
Declaration
public janusParser.ReadstmtContext readstmt()
Returns
|
Improve this Doc
View Source
statement()
Declaration
public janusParser.StatementContext statement()
Returns
|
Improve this Doc
View Source
statements()
Declaration
public janusParser.StatementsContext statements()
Returns
|
Improve this Doc
View Source
swapstmt()
Declaration
public janusParser.SwapstmtContext swapstmt()
Returns
|
Improve this Doc
View Source
writestmt()
Declaration
public janusParser.WritestmtContext writestmt()
Returns