Package sootup.jimple
Class JimpleParser
java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
sootup.jimple.JimpleParser
public class JimpleParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATN
protected static final org.antlr.v4.runtime.dfa.DFA[]
static final String
protected static final org.antlr.v4.runtime.atn.PredictionContextCache
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final int
static final org.antlr.v4.runtime.Vocabulary
static final int
static final int
Fields inherited from class org.antlr.v4.runtime.Parser
_buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarg_list()
binop()
constant()
field()
final JimpleParser.FileContext
file()
org.antlr.v4.runtime.atn.ATN
getATN()
String[]
String[]
Deprecated.org.antlr.v4.runtime.Vocabulary
member()
method()
final JimpleParser.StmtContext
stmt()
final JimpleParser.TypeContext
type()
final JimpleParser.UnopContext
unop()
value()
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
Field Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
T__0
public static final int T__0- See Also:
-
T__1
public static final int T__1- See Also:
-
T__2
public static final int T__2- See Also:
-
T__3
public static final int T__3- See Also:
-
T__4
public static final int T__4- See Also:
-
T__5
public static final int T__5- See Also:
-
T__6
public static final int T__6- See Also:
-
T__7
public static final int T__7- See Also:
-
T__8
public static final int T__8- See Also:
-
T__9
public static final int T__9- See Also:
-
T__10
public static final int T__10- See Also:
-
T__11
public static final int T__11- See Also:
-
T__12
public static final int T__12- See Also:
-
T__13
public static final int T__13- See Also:
-
T__14
public static final int T__14- See Also:
-
T__15
public static final int T__15- See Also:
-
T__16
public static final int T__16- See Also:
-
T__17
public static final int T__17- See Also:
-
T__18
public static final int T__18- See Also:
-
T__19
public static final int T__19- See Also:
-
T__20
public static final int T__20- See Also:
-
T__21
public static final int T__21- See Also:
-
T__22
public static final int T__22- See Also:
-
T__23
public static final int T__23- See Also:
-
T__24
public static final int T__24- See Also:
-
T__25
public static final int T__25- See Also:
-
T__26
public static final int T__26- See Also:
-
LINE_COMMENT
public static final int LINE_COMMENT- See Also:
-
LONG_COMMENT
public static final int LONG_COMMENT- See Also:
-
STRING_CONSTANT
public static final int STRING_CONSTANT- See Also:
-
CLASS
public static final int CLASS- See Also:
-
EXTENDS
public static final int EXTENDS- See Also:
-
IMPLEMENTS
public static final int IMPLEMENTS- See Also:
-
BREAKPOINT
public static final int BREAKPOINT- See Also:
-
CASE
public static final int CASE- See Also:
-
CATCH
public static final int CATCH- See Also:
-
CMP
public static final int CMP- See Also:
-
CMPG
public static final int CMPG- See Also:
-
CMPL
public static final int CMPL- See Also:
-
DEFAULT
public static final int DEFAULT- See Also:
-
ENTERMONITOR
public static final int ENTERMONITOR- See Also:
-
EXITMONITOR
public static final int EXITMONITOR- See Also:
-
GOTO
public static final int GOTO- See Also:
-
IF
public static final int IF- See Also:
-
INSTANCEOF
public static final int INSTANCEOF- See Also:
-
LENGTHOF
public static final int LENGTHOF- See Also:
-
SWITCH
public static final int SWITCH- See Also:
-
NEG
public static final int NEG- See Also:
-
NEWARRAY
public static final int NEWARRAY- See Also:
-
NEWMULTIARRAY
public static final int NEWMULTIARRAY- See Also:
-
NEW
public static final int NEW- See Also:
-
NOP
public static final int NOP- See Also:
-
RETURN
public static final int RETURN- See Also:
-
RET
public static final int RET- See Also:
-
NONSTATIC_INVOKE
public static final int NONSTATIC_INVOKE- See Also:
-
STATICINVOKE
public static final int STATICINVOKE- See Also:
-
DYNAMICINVOKE
public static final int DYNAMICINVOKE- See Also:
-
THROWS
public static final int THROWS- See Also:
-
THROW
public static final int THROW- See Also:
-
NULL
public static final int NULL- See Also:
-
FROM
public static final int FROM- See Also:
-
TO
public static final int TO- See Also:
-
WITH
public static final int WITH- See Also:
-
COMMA
public static final int COMMA- See Also:
-
L_BRACE
public static final int L_BRACE- See Also:
-
R_BRACE
public static final int R_BRACE- See Also:
-
SEMICOLON
public static final int SEMICOLON- See Also:
-
L_BRACKET
public static final int L_BRACKET- See Also:
-
R_BRACKET
public static final int R_BRACKET- See Also:
-
L_PAREN
public static final int L_PAREN- See Also:
-
R_PAREN
public static final int R_PAREN- See Also:
-
COLON
public static final int COLON- See Also:
-
DOT
public static final int DOT- See Also:
-
EQUALS
public static final int EQUALS- See Also:
-
COLON_EQUALS
public static final int COLON_EQUALS- See Also:
-
AND
public static final int AND- See Also:
-
OR
public static final int OR- See Also:
-
XOR
public static final int XOR- See Also:
-
MOD
public static final int MOD- See Also:
-
CMPEQ
public static final int CMPEQ- See Also:
-
CMPNE
public static final int CMPNE- See Also:
-
CMPGT
public static final int CMPGT- See Also:
-
CMPGE
public static final int CMPGE- See Also:
-
CMPLT
public static final int CMPLT- See Also:
-
CMPLE
public static final int CMPLE- See Also:
-
SHL
public static final int SHL- See Also:
-
SHR
public static final int SHR- See Also:
-
USHR
public static final int USHR- See Also:
-
PLUS
public static final int PLUS- See Also:
-
MINUS
public static final int MINUS- See Also:
-
MULT
public static final int MULT- See Also:
-
DIV
public static final int DIV- See Also:
-
QUOTE
public static final int QUOTE- See Also:
-
BOOL_CONSTANT
public static final int BOOL_CONSTANT- See Also:
-
FLOAT_CONSTANT
public static final int FLOAT_CONSTANT- See Also:
-
DEC_CONSTANT
public static final int DEC_CONSTANT- See Also:
-
HEX_CONSTANT
public static final int HEX_CONSTANT- See Also:
-
IDENTIFIER
public static final int IDENTIFIER- See Also:
-
BLANK
public static final int BLANK- See Also:
-
RULE_identifier
public static final int RULE_identifier- See Also:
-
RULE_integer_constant
public static final int RULE_integer_constant- See Also:
-
RULE_file
public static final int RULE_file- See Also:
-
RULE_importItem
public static final int RULE_importItem- See Also:
-
RULE_common_modifier
public static final int RULE_common_modifier- See Also:
-
RULE_class_modifier
public static final int RULE_class_modifier- See Also:
-
RULE_method_modifier
public static final int RULE_method_modifier- See Also:
-
RULE_field_modifier
public static final int RULE_field_modifier- See Also:
-
RULE_file_type
public static final int RULE_file_type- See Also:
-
RULE_extends_clause
public static final int RULE_extends_clause- See Also:
-
RULE_implements_clause
public static final int RULE_implements_clause- See Also:
-
RULE_type
public static final int RULE_type- See Also:
-
RULE_type_list
public static final int RULE_type_list- See Also:
-
RULE_member
public static final int RULE_member- See Also:
-
RULE_field
public static final int RULE_field- See Also:
-
RULE_method
public static final int RULE_method- See Also:
-
RULE_method_name
public static final int RULE_method_name- See Also:
-
RULE_throws_clause
public static final int RULE_throws_clause- See Also:
-
RULE_method_body
public static final int RULE_method_body- See Also:
-
RULE_method_body_contents
public static final int RULE_method_body_contents- See Also:
-
RULE_trap_clauses
public static final int RULE_trap_clauses- See Also:
-
RULE_statements
public static final int RULE_statements- See Also:
-
RULE_declarations
public static final int RULE_declarations- See Also:
-
RULE_declaration
public static final int RULE_declaration- See Also:
-
RULE_statement
public static final int RULE_statement- See Also:
-
RULE_stmt
public static final int RULE_stmt- See Also:
-
RULE_assignments
public static final int RULE_assignments- See Also:
-
RULE_identity_ref
public static final int RULE_identity_ref- See Also:
-
RULE_case_stmt
public static final int RULE_case_stmt- See Also:
-
RULE_case_label
public static final int RULE_case_label- See Also:
-
RULE_goto_stmt
public static final int RULE_goto_stmt- See Also:
-
RULE_trap_clause
public static final int RULE_trap_clause- See Also:
-
RULE_value
public static final int RULE_value- See Also:
-
RULE_bool_expr
public static final int RULE_bool_expr- See Also:
-
RULE_invoke_expr
public static final int RULE_invoke_expr- See Also:
-
RULE_binop_expr
public static final int RULE_binop_expr- See Also:
-
RULE_unop_expr
public static final int RULE_unop_expr- See Also:
-
RULE_method_subsignature
public static final int RULE_method_subsignature- See Also:
-
RULE_method_signature
public static final int RULE_method_signature- See Also:
-
RULE_reference
public static final int RULE_reference- See Also:
-
RULE_field_signature
public static final int RULE_field_signature- See Also:
-
RULE_array_descriptor
public static final int RULE_array_descriptor- See Also:
-
RULE_arg_list
public static final int RULE_arg_list- See Also:
-
RULE_immediate
public static final int RULE_immediate- See Also:
-
RULE_methodhandle
public static final int RULE_methodhandle- See Also:
-
RULE_constant
public static final int RULE_constant- See Also:
-
RULE_binop
public static final int RULE_binop- See Also:
-
RULE_unop
public static final int RULE_unop- See Also:
-
ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
JimpleParser
public JimpleParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
getTokenNames
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
identifier
public final JimpleParser.IdentifierContext identifier() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
integer_constant
public final JimpleParser.Integer_constantContext integer_constant() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
file
- Throws:
org.antlr.v4.runtime.RecognitionException
-
importItem
public final JimpleParser.ImportItemContext importItem() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
common_modifier
public final JimpleParser.Common_modifierContext common_modifier() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
class_modifier
public final JimpleParser.Class_modifierContext class_modifier() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
method_modifier
public final JimpleParser.Method_modifierContext method_modifier() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
field_modifier
public final JimpleParser.Field_modifierContext field_modifier() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
file_type
public final JimpleParser.File_typeContext file_type() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
extends_clause
public final JimpleParser.Extends_clauseContext extends_clause() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
implements_clause
public final JimpleParser.Implements_clauseContext implements_clause() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
type
- Throws:
org.antlr.v4.runtime.RecognitionException
-
type_list
public final JimpleParser.Type_listContext type_list() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
member
- Throws:
org.antlr.v4.runtime.RecognitionException
-
field
- Throws:
org.antlr.v4.runtime.RecognitionException
-
method
- Throws:
org.antlr.v4.runtime.RecognitionException
-
method_name
public final JimpleParser.Method_nameContext method_name() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
throws_clause
public final JimpleParser.Throws_clauseContext throws_clause() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
method_body
public final JimpleParser.Method_bodyContext method_body() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
method_body_contents
public final JimpleParser.Method_body_contentsContext method_body_contents() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
trap_clauses
public final JimpleParser.Trap_clausesContext trap_clauses() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
statements
public final JimpleParser.StatementsContext statements() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
declarations
public final JimpleParser.DeclarationsContext declarations() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
declaration
public final JimpleParser.DeclarationContext declaration() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final JimpleParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
stmt
- Throws:
org.antlr.v4.runtime.RecognitionException
-
assignments
public final JimpleParser.AssignmentsContext assignments() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
identity_ref
public final JimpleParser.Identity_refContext identity_ref() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
case_stmt
public final JimpleParser.Case_stmtContext case_stmt() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
case_label
public final JimpleParser.Case_labelContext case_label() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
goto_stmt
public final JimpleParser.Goto_stmtContext goto_stmt() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
trap_clause
public final JimpleParser.Trap_clauseContext trap_clause() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
value
- Throws:
org.antlr.v4.runtime.RecognitionException
-
bool_expr
public final JimpleParser.Bool_exprContext bool_expr() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
invoke_expr
public final JimpleParser.Invoke_exprContext invoke_expr() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
binop_expr
public final JimpleParser.Binop_exprContext binop_expr() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
unop_expr
public final JimpleParser.Unop_exprContext unop_expr() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
method_subsignature
public final JimpleParser.Method_subsignatureContext method_subsignature() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
method_signature
public final JimpleParser.Method_signatureContext method_signature() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
reference
public final JimpleParser.ReferenceContext reference() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
field_signature
public final JimpleParser.Field_signatureContext field_signature() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
array_descriptor
public final JimpleParser.Array_descriptorContext array_descriptor() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
arg_list
public final JimpleParser.Arg_listContext arg_list() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
immediate
public final JimpleParser.ImmediateContext immediate() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
methodhandle
public final JimpleParser.MethodhandleContext methodhandle() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
constant
public final JimpleParser.ConstantContext constant() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
binop
- Throws:
org.antlr.v4.runtime.RecognitionException
-
unop
- Throws:
org.antlr.v4.runtime.RecognitionException
-
VOCABULARY
instead.