public class org.antlr.v4.tool.GrammarParserInterpreter extends org.antlr.v4.runtime.ParserInterpreter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.GrammarParserInterpreter
super_class: org.antlr.v4.runtime.ParserInterpreter
{
protected final org.antlr.v4.tool.Grammar g;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.util.BitSet decisionStatesThatSetOuterAltNumInContext;
descriptor: Ljava/util/BitSet;
flags: (0x0004) ACC_PROTECTED
protected int[][] stateToAltsMap;
descriptor: [[I
flags: (0x0004) ACC_PROTECTED
public void <init>(org.antlr.v4.tool.Grammar, java.lang.String, org.antlr.v4.runtime.Vocabulary, java.util.Collection<java.lang.String>, org.antlr.v4.runtime.atn.ATN, org.antlr.v4.runtime.TokenStream);
descriptor: (Lorg/antlr/v4/tool/Grammar;Ljava/lang/String;Lorg/antlr/v4/runtime/Vocabulary;Ljava/util/Collection;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
aload 4
aload 5
aload 6
invokespecial org.antlr.v4.runtime.ParserInterpreter.<init>:(Ljava/lang/String;Lorg/antlr/v4/runtime/Vocabulary;Ljava/util/Collection;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
1: aload 0
aload 1
putfield org.antlr.v4.tool.GrammarParserInterpreter.g:Lorg/antlr/v4/tool/Grammar;
2: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/GrammarParserInterpreter;
0 3 1 g Lorg/antlr/v4/tool/Grammar;
0 3 2 grammarFileName Ljava/lang/String;
0 3 3 vocabulary Lorg/antlr/v4/runtime/Vocabulary;
0 3 4 ruleNames Ljava/util/Collection<Ljava/lang/String;>;
0 3 5 atn Lorg/antlr/v4/runtime/atn/ATN;
0 3 6 input Lorg/antlr/v4/runtime/TokenStream;
Signature: (Lorg/antlr/v4/tool/Grammar;Ljava/lang/String;Lorg/antlr/v4/runtime/Vocabulary;Ljava/util/Collection<Ljava/lang/String;>;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
MethodParameters:
Name Flags
g
grammarFileName
vocabulary
ruleNames
atn
input
public void <init>(org.antlr.v4.tool.Grammar, org.antlr.v4.runtime.atn.ATN, org.antlr.v4.runtime.TokenStream);
descriptor: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
aload 1
invokevirtual org.antlr.v4.tool.Grammar.getVocabulary:()Lorg/antlr/v4/runtime/Vocabulary;
1: aload 1
invokevirtual org.antlr.v4.tool.Grammar.getRuleNames:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
2: aload 2
3: aload 3
invokespecial org.antlr.v4.runtime.ParserInterpreter.<init>:(Ljava/lang/String;Lorg/antlr/v4/runtime/Vocabulary;Ljava/util/Collection;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
4: aload 0
aload 1
putfield org.antlr.v4.tool.GrammarParserInterpreter.g:Lorg/antlr/v4/tool/Grammar;
5: aload 0
aload 0
invokevirtual org.antlr.v4.tool.GrammarParserInterpreter.findOuterMostDecisionStates:()Ljava/util/BitSet;
putfield org.antlr.v4.tool.GrammarParserInterpreter.decisionStatesThatSetOuterAltNumInContext:Ljava/util/BitSet;
6: aload 0
aload 1
getfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
getfield org.antlr.v4.runtime.atn.ATN.states:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray int[]
putfield org.antlr.v4.tool.GrammarParserInterpreter.stateToAltsMap:[[I
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/GrammarParserInterpreter;
0 8 1 g Lorg/antlr/v4/tool/Grammar;
0 8 2 atn Lorg/antlr/v4/runtime/atn/ATN;
0 8 3 input Lorg/antlr/v4/runtime/TokenStream;
MethodParameters:
Name Flags
g
atn
input
protected org.antlr.v4.runtime.InterpreterRuleContext createInterpreterRuleContext(org.antlr.v4.runtime.ParserRuleContext, int, int);
descriptor: (Lorg/antlr/v4/runtime/ParserRuleContext;II)Lorg/antlr/v4/runtime/InterpreterRuleContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.antlr.v4.tool.GrammarInterpreterRuleContext
dup
aload 1
iload 2
iload 3
invokespecial org.antlr.v4.tool.GrammarInterpreterRuleContext.<init>:(Lorg/antlr/v4/runtime/ParserRuleContext;II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/GrammarParserInterpreter;
0 1 1 parent Lorg/antlr/v4/runtime/ParserRuleContext;
0 1 2 invokingStateNumber I
0 1 3 ruleIndex I
MethodParameters:
Name Flags
parent
invokingStateNumber
ruleIndex
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.antlr.v4.runtime.ParserInterpreter.reset:()V
1: aload 0
aconst_null
putfield org.antlr.v4.tool.GrammarParserInterpreter.overrideDecisionRoot:Lorg/antlr/v4/runtime/InterpreterRuleContext;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/GrammarParserInterpreter;
public java.util.BitSet findOuterMostDecisionStates();
descriptor: ()Ljava/util/BitSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: new java.util.BitSet
dup
aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.atn:Lorg/antlr/v4/runtime/atn/ATN;
getfield org.antlr.v4.runtime.atn.ATN.states:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.BitSet.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.atn:Lorg/antlr/v4/runtime/atn/ATN;
invokevirtual org.antlr.v4.runtime.atn.ATN.getNumberOfDecisions:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 15
4: StackMap locals: java.util.BitSet int int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.atn:Lorg/antlr/v4/runtime/atn/ATN;
iload 3
invokevirtual org.antlr.v4.runtime.atn.ATN.getDecisionState:(I)Lorg/antlr/v4/runtime/atn/DecisionState;
astore 4
start local 4 5: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.atn:Lorg/antlr/v4/runtime/atn/ATN;
getfield org.antlr.v4.runtime.atn.ATN.ruleToStartState:[Lorg/antlr/v4/runtime/atn/RuleStartState;
aload 4
getfield org.antlr.v4.runtime.atn.DecisionState.ruleIndex:I
aaload
astore 5
start local 5 6: aload 4
instanceof org.antlr.v4.runtime.atn.StarLoopEntryState
ifeq 12
7: aload 4
checkcast org.antlr.v4.runtime.atn.StarLoopEntryState
astore 6
start local 6 8: aload 6
getfield org.antlr.v4.runtime.atn.StarLoopEntryState.isPrecedenceDecision:Z
ifeq 14
9: aload 6
iconst_0
invokevirtual org.antlr.v4.runtime.atn.StarLoopEntryState.transition:(I)Lorg/antlr/v4/runtime/atn/Transition;
getfield org.antlr.v4.runtime.atn.Transition.target:Lorg/antlr/v4/runtime/atn/ATNState;
astore 7
start local 7 10: aload 1
aload 7
getfield org.antlr.v4.runtime.atn.ATNState.stateNumber:I
invokevirtual java.util.BitSet.set:(I)V
end local 7 end local 6 11: goto 14
12: StackMap locals: org.antlr.v4.runtime.atn.DecisionState org.antlr.v4.runtime.atn.RuleStartState
StackMap stack:
aload 5
iconst_0
invokevirtual org.antlr.v4.runtime.atn.RuleStartState.transition:(I)Lorg/antlr/v4/runtime/atn/Transition;
getfield org.antlr.v4.runtime.atn.Transition.target:Lorg/antlr/v4/runtime/atn/ATNState;
aload 4
if_acmpne 14
13: aload 1
aload 4
getfield org.antlr.v4.runtime.atn.DecisionState.stateNumber:I
invokevirtual java.util.BitSet.set:(I)V
end local 5 end local 4 14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 2
if_icmplt 4
end local 3 16: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/antlr/v4/tool/GrammarParserInterpreter;
1 17 1 track Ljava/util/BitSet;
2 17 2 numberOfDecisions I
3 16 3 i I
5 14 4 decisionState Lorg/antlr/v4/runtime/atn/DecisionState;
6 14 5 startState Lorg/antlr/v4/runtime/atn/RuleStartState;
8 11 6 loopEntry Lorg/antlr/v4/runtime/atn/StarLoopEntryState;
10 11 7 blockStart Lorg/antlr/v4/runtime/atn/ATNState;
protected int visitDecisionState(org.antlr.v4.runtime.atn.DecisionState);
descriptor: (Lorg/antlr/v4/runtime/atn/DecisionState;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.antlr.v4.runtime.ParserInterpreter.visitDecisionState:(Lorg/antlr/v4/runtime/atn/DecisionState;)I
istore 2
start local 2 1: aload 1
invokevirtual org.antlr.v4.runtime.atn.DecisionState.getNumberOfTransitions:()I
iconst_1
if_icmple 5
2: aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.decision:I
aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.overrideDecision:I
if_icmpne 5
3: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter._input:Lorg/antlr/v4/runtime/TokenStream;
invokeinterface org.antlr.v4.runtime.TokenStream.index:()I
aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.overrideDecisionInputIndex:I
if_icmpne 5
4: aload 0
aload 0
invokevirtual org.antlr.v4.tool.GrammarParserInterpreter.getContext:()Lorg/antlr/v4/runtime/ParserRuleContext;
checkcast org.antlr.v4.tool.GrammarInterpreterRuleContext
putfield org.antlr.v4.tool.GrammarParserInterpreter.overrideDecisionRoot:Lorg/antlr/v4/runtime/InterpreterRuleContext;
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter._ctx:Lorg/antlr/v4/runtime/ParserRuleContext;
checkcast org.antlr.v4.tool.GrammarInterpreterRuleContext
astore 3
start local 3 6: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.decisionStatesThatSetOuterAltNumInContext:Ljava/util/BitSet;
aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.stateNumber:I
invokevirtual java.util.BitSet.get:(I)Z
ifeq 22
7: aload 3
iload 2
putfield org.antlr.v4.tool.GrammarInterpreterRuleContext.outerAltNum:I
8: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.g:Lorg/antlr/v4/tool/Grammar;
aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.ruleIndex:I
invokevirtual org.antlr.v4.tool.Grammar.getRule:(I)Lorg/antlr/v4/tool/Rule;
astore 4
start local 4 9: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.atn:Lorg/antlr/v4/runtime/atn/ATN;
getfield org.antlr.v4.runtime.atn.ATN.ruleToStartState:[Lorg/antlr/v4/runtime/atn/RuleStartState;
aload 4
getfield org.antlr.v4.tool.Rule.index:I
aaload
getfield org.antlr.v4.runtime.atn.RuleStartState.isLeftRecursiveRule:Z
ifeq 22
10: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.stateToAltsMap:[[I
aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.stateNumber:I
aaload
astore 5
start local 5 11: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.g:Lorg/antlr/v4/tool/Grammar;
aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.ruleIndex:I
invokevirtual org.antlr.v4.tool.Grammar.getRule:(I)Lorg/antlr/v4/tool/Rule;
checkcast org.antlr.v4.tool.LeftRecursiveRule
astore 6
start local 6 12: aload 1
invokevirtual org.antlr.v4.runtime.atn.DecisionState.getStateType:()I
iconst_3
if_icmpne 17
13: aload 5
ifnonnull 21
14: aload 6
invokevirtual org.antlr.v4.tool.LeftRecursiveRule.getPrimaryAlts:()[I
astore 5
15: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.stateToAltsMap:[[I
aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.stateNumber:I
aload 5
aastore
16: goto 21
17: StackMap locals: org.antlr.v4.tool.GrammarParserInterpreter org.antlr.v4.runtime.atn.DecisionState int org.antlr.v4.tool.GrammarInterpreterRuleContext org.antlr.v4.tool.Rule int[] org.antlr.v4.tool.LeftRecursiveRule
StackMap stack:
aload 1
invokevirtual org.antlr.v4.runtime.atn.DecisionState.getStateType:()I
iconst_5
if_icmpne 21
18: aload 5
ifnonnull 21
19: aload 6
invokevirtual org.antlr.v4.tool.LeftRecursiveRule.getRecursiveOpAlts:()[I
astore 5
20: aload 0
getfield org.antlr.v4.tool.GrammarParserInterpreter.stateToAltsMap:[[I
aload 1
getfield org.antlr.v4.runtime.atn.DecisionState.stateNumber:I
aload 5
aastore
21: StackMap locals:
StackMap stack:
aload 3
aload 5
iload 2
iaload
putfield org.antlr.v4.tool.GrammarInterpreterRuleContext.outerAltNum:I
end local 6 end local 5 end local 4 22: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/antlr/v4/tool/GrammarParserInterpreter;
0 23 1 p Lorg/antlr/v4/runtime/atn/DecisionState;
1 23 2 predictedAlt I
6 23 3 ctx Lorg/antlr/v4/tool/GrammarInterpreterRuleContext;
9 22 4 r Lorg/antlr/v4/tool/Rule;
11 22 5 alts [I
12 22 6 lr Lorg/antlr/v4/tool/LeftRecursiveRule;
MethodParameters:
Name Flags
p
public static java.util.List<org.antlr.v4.runtime.ParserRuleContext> getAllPossibleParseTrees(org.antlr.v4.tool.Grammar, org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.TokenStream, int, java.util.BitSet, int, int, int);
descriptor: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/Parser;Lorg/antlr/v4/runtime/TokenStream;ILjava/util/BitSet;III)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=13, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 1: aload 0
aload 1
aload 2
invokestatic org.antlr.v4.tool.GrammarParserInterpreter.deriveTempParserInterpreter:(Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/Parser;Lorg/antlr/v4/runtime/TokenStream;)Lorg/antlr/v4/runtime/ParserInterpreter;
astore 9
start local 9 2: iload 6
aload 2
invokeinterface org.antlr.v4.runtime.TokenStream.size:()I
iconst_1
isub
if_icmplt 4
3: aload 2
invokeinterface org.antlr.v4.runtime.TokenStream.size:()I
iconst_2
isub
istore 6
4: StackMap locals: java.util.List org.antlr.v4.runtime.ParserInterpreter
StackMap stack:
aload 4
iconst_0
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 10
start local 10 5: goto 15
6: StackMap locals: int
StackMap stack:
aload 9
invokevirtual org.antlr.v4.runtime.ParserInterpreter.reset:()V
7: aload 9
iload 3
iload 5
iload 10
invokevirtual org.antlr.v4.runtime.ParserInterpreter.addDecisionOverride:(III)V
8: aload 9
iload 7
invokevirtual org.antlr.v4.runtime.ParserInterpreter.parse:(I)Lorg/antlr/v4/runtime/ParserRuleContext;
astore 11
start local 11 9: aload 11
iload 5
iload 6
invokestatic org.antlr.v4.runtime.tree.Trees.getRootOfSubtreeEnclosingRegion:(Lorg/antlr/v4/runtime/tree/ParseTree;II)Lorg/antlr/v4/runtime/ParserRuleContext;
checkcast org.antlr.v4.tool.GrammarInterpreterRuleContext
10: astore 12
start local 12 11: aload 9
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getOverrideDecisionRoot:()Lorg/antlr/v4/runtime/InterpreterRuleContext;
aload 12
invokestatic org.antlr.v4.runtime.tree.Trees.isAncestorOf:(Lorg/antlr/v4/runtime/tree/Tree;Lorg/antlr/v4/runtime/tree/Tree;)Z
ifeq 13
12: aload 9
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getOverrideDecisionRoot:()Lorg/antlr/v4/runtime/InterpreterRuleContext;
checkcast org.antlr.v4.tool.GrammarInterpreterRuleContext
astore 12
13: StackMap locals: org.antlr.v4.runtime.ParserRuleContext org.antlr.v4.tool.GrammarInterpreterRuleContext
StackMap stack:
aload 8
aload 12
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 4
iload 10
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 10
end local 12 end local 11 15: StackMap locals:
StackMap stack:
iload 10
ifge 6
16: aload 8
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 g Lorg/antlr/v4/tool/Grammar;
0 17 1 originalParser Lorg/antlr/v4/runtime/Parser;
0 17 2 tokens Lorg/antlr/v4/runtime/TokenStream;
0 17 3 decision I
0 17 4 alts Ljava/util/BitSet;
0 17 5 startIndex I
0 17 6 stopIndex I
0 17 7 startRuleIndex I
1 17 8 trees Ljava/util/List<Lorg/antlr/v4/runtime/ParserRuleContext;>;
2 17 9 parser Lorg/antlr/v4/runtime/ParserInterpreter;
5 17 10 alt I
9 15 11 t Lorg/antlr/v4/runtime/ParserRuleContext;
11 15 12 ambigSubTree Lorg/antlr/v4/tool/GrammarInterpreterRuleContext;
Exceptions:
throws org.antlr.v4.runtime.RecognitionException
Signature: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/Parser;Lorg/antlr/v4/runtime/TokenStream;ILjava/util/BitSet;III)Ljava/util/List<Lorg/antlr/v4/runtime/ParserRuleContext;>;
MethodParameters:
Name Flags
g
originalParser
tokens
decision
alts
startIndex
stopIndex
startRuleIndex
public static java.util.List<org.antlr.v4.runtime.ParserRuleContext> getLookaheadParseTrees(org.antlr.v4.tool.Grammar, org.antlr.v4.runtime.ParserInterpreter, org.antlr.v4.runtime.TokenStream, int, int, int, int);
descriptor: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/ParserInterpreter;Lorg/antlr/v4/runtime/TokenStream;IIII)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=16, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 1: aload 0
aload 1
aload 2
invokestatic org.antlr.v4.tool.GrammarParserInterpreter.deriveTempParserInterpreter:(Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/Parser;Lorg/antlr/v4/runtime/TokenStream;)Lorg/antlr/v4/runtime/ParserInterpreter;
astore 8
start local 8 2: aload 1
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getATN:()Lorg/antlr/v4/runtime/atn/ATN;
getfield org.antlr.v4.runtime.atn.ATN.decisionToState:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.runtime.atn.DecisionState
astore 9
start local 9 3: iconst_1
istore 10
start local 10 4: goto 27
5: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.ParserInterpreter org.antlr.v4.runtime.TokenStream int int int int java.util.List org.antlr.v4.runtime.ParserInterpreter org.antlr.v4.runtime.atn.DecisionState int
StackMap stack:
new org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy
dup
invokespecial org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy.<init>:()V
6: astore 11
start local 11 7: aload 8
aload 11
invokevirtual org.antlr.v4.runtime.ParserInterpreter.setErrorHandler:(Lorg/antlr/v4/runtime/ANTLRErrorStrategy;)V
8: aload 8
invokevirtual org.antlr.v4.runtime.ParserInterpreter.reset:()V
9: aload 8
iload 4
iload 5
iload 10
invokevirtual org.antlr.v4.runtime.ParserInterpreter.addDecisionOverride:(III)V
10: aload 8
iload 3
invokevirtual org.antlr.v4.runtime.ParserInterpreter.parse:(I)Lorg/antlr/v4/runtime/ParserRuleContext;
astore 12
start local 12 11: iload 6
istore 13
start local 13 12: aload 11
getfield org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy.firstErrorTokenIndex:I
iflt 14
13: aload 11
getfield org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy.firstErrorTokenIndex:I
istore 13
14: StackMap locals: org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy org.antlr.v4.runtime.ParserRuleContext int
StackMap stack:
aload 12
invokevirtual org.antlr.v4.runtime.ParserRuleContext.getSourceInterval:()Lorg/antlr/v4/runtime/misc/Interval;
astore 14
start local 14 15: iload 13
aload 14
getfield org.antlr.v4.runtime.misc.Interval.b:I
if_icmple 17
16: aload 14
getfield org.antlr.v4.runtime.misc.Interval.b:I
istore 13
17: StackMap locals: org.antlr.v4.runtime.misc.Interval
StackMap stack:
aload 12
18: iload 5
19: iload 13
20: invokestatic org.antlr.v4.runtime.tree.Trees.getRootOfSubtreeEnclosingRegion:(Lorg/antlr/v4/runtime/tree/ParseTree;II)Lorg/antlr/v4/runtime/ParserRuleContext;
21: astore 15
start local 15 22: aload 8
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getOverrideDecisionRoot:()Lorg/antlr/v4/runtime/InterpreterRuleContext;
aload 15
invokestatic org.antlr.v4.runtime.tree.Trees.isAncestorOf:(Lorg/antlr/v4/runtime/tree/Tree;Lorg/antlr/v4/runtime/tree/Tree;)Z
ifeq 24
23: aload 8
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getOverrideDecisionRoot:()Lorg/antlr/v4/runtime/InterpreterRuleContext;
astore 15
24: StackMap locals: org.antlr.v4.runtime.ParserRuleContext
StackMap stack:
aload 15
aload 8
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getOverrideDecisionRoot:()Lorg/antlr/v4/runtime/InterpreterRuleContext;
iload 5
iload 13
invokestatic org.antlr.v4.runtime.tree.Trees.stripChildrenOutOfRange:(Lorg/antlr/v4/runtime/ParserRuleContext;Lorg/antlr/v4/runtime/ParserRuleContext;II)V
25: aload 7
aload 15
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 15 end local 14 end local 13 end local 12 end local 11 26: iinc 10 1
StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.ParserInterpreter org.antlr.v4.runtime.TokenStream int int int int java.util.List org.antlr.v4.runtime.ParserInterpreter org.antlr.v4.runtime.atn.DecisionState int
StackMap stack:
27: iload 10
aload 9
invokevirtual org.antlr.v4.runtime.atn.DecisionState.getTransitions:()[Lorg/antlr/v4/runtime/atn/Transition;
arraylength
if_icmple 5
end local 10 28: aload 7
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 g Lorg/antlr/v4/tool/Grammar;
0 29 1 originalParser Lorg/antlr/v4/runtime/ParserInterpreter;
0 29 2 tokens Lorg/antlr/v4/runtime/TokenStream;
0 29 3 startRuleIndex I
0 29 4 decision I
0 29 5 startIndex I
0 29 6 stopIndex I
1 29 7 trees Ljava/util/List<Lorg/antlr/v4/runtime/ParserRuleContext;>;
2 29 8 parser Lorg/antlr/v4/runtime/ParserInterpreter;
3 29 9 decisionState Lorg/antlr/v4/runtime/atn/DecisionState;
4 28 10 alt I
7 26 11 errorHandler Lorg/antlr/v4/tool/GrammarParserInterpreter$BailButConsumeErrorStrategy;
11 26 12 tt Lorg/antlr/v4/runtime/ParserRuleContext;
12 26 13 stopTreeAt I
15 26 14 overallRange Lorg/antlr/v4/runtime/misc/Interval;
22 26 15 subtree Lorg/antlr/v4/runtime/ParserRuleContext;
Signature: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/ParserInterpreter;Lorg/antlr/v4/runtime/TokenStream;IIII)Ljava/util/List<Lorg/antlr/v4/runtime/ParserRuleContext;>;
MethodParameters:
Name Flags
g
originalParser
tokens
startRuleIndex
decision
startIndex
stopIndex
public static org.antlr.v4.runtime.ParserInterpreter deriveTempParserInterpreter(org.antlr.v4.tool.Grammar, org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.TokenStream);
descriptor: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/Parser;Lorg/antlr/v4/runtime/TokenStream;)Lorg/antlr/v4/runtime/ParserInterpreter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.antlr.v4.runtime.ParserInterpreter
ifeq 7
1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lorg/antlr/v4/runtime/ParserInterpreter;
invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
astore 4
start local 4 2: aload 4
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/antlr/v4/tool/Grammar;
aastore
dup
iconst_1
ldc Lorg/antlr/v4/runtime/atn/ATN;
aastore
dup
iconst_2
ldc Lorg/antlr/v4/runtime/TokenStream;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 5
start local 5 3: aload 5
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
invokevirtual org.antlr.v4.runtime.Parser.getATN:()Lorg/antlr/v4/runtime/atn/ATN;
aastore
dup
iconst_2
aload 1
invokevirtual org.antlr.v4.runtime.Parser.getTokenStream:()Lorg/antlr/v4/runtime/TokenStream;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.runtime.ParserInterpreter
astore 3
end local 5 start local 3 4: goto 15
end local 3 5: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.Parser org.antlr.v4.runtime.TokenStream top java.lang.Class
StackMap stack: java.lang.Exception
astore 5
start local 5 6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "can't create parser to match incoming "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 7: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.Parser org.antlr.v4.runtime.TokenStream
StackMap stack:
aload 1
invokevirtual org.antlr.v4.runtime.Parser.getATN:()Lorg/antlr/v4/runtime/atn/ATN;
invokestatic org.antlr.v4.runtime.atn.ATNSerializer.getSerializedAsChars:(Lorg/antlr/v4/runtime/atn/ATN;)[C
astore 4
start local 4 8: new org.antlr.v4.runtime.atn.ATNDeserializer
dup
invokespecial org.antlr.v4.runtime.atn.ATNDeserializer.<init>:()V
aload 4
invokevirtual org.antlr.v4.runtime.atn.ATNDeserializer.deserialize:([C)Lorg/antlr/v4/runtime/atn/ATN;
astore 5
start local 5 9: new org.antlr.v4.runtime.ParserInterpreter
dup
aload 1
invokevirtual org.antlr.v4.runtime.Parser.getGrammarFileName:()Ljava/lang/String;
10: aload 1
invokevirtual org.antlr.v4.runtime.Parser.getVocabulary:()Lorg/antlr/v4/runtime/Vocabulary;
11: aload 1
invokevirtual org.antlr.v4.runtime.Parser.getRuleNames:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
12: aload 5
13: aload 2
14: invokespecial org.antlr.v4.runtime.ParserInterpreter.<init>:(Ljava/lang/String;Lorg/antlr/v4/runtime/Vocabulary;Ljava/util/Collection;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
astore 3
end local 5 end local 4 start local 3 15: StackMap locals: org.antlr.v4.runtime.ParserInterpreter
StackMap stack:
aload 3
aload 2
invokevirtual org.antlr.v4.runtime.ParserInterpreter.setInputStream:(Lorg/antlr/v4/runtime/IntStream;)V
16: aload 3
new org.antlr.v4.runtime.BailErrorStrategy
dup
invokespecial org.antlr.v4.runtime.BailErrorStrategy.<init>:()V
invokevirtual org.antlr.v4.runtime.ParserInterpreter.setErrorHandler:(Lorg/antlr/v4/runtime/ANTLRErrorStrategy;)V
17: aload 3
invokevirtual org.antlr.v4.runtime.ParserInterpreter.removeErrorListeners:()V
18: aload 3
invokevirtual org.antlr.v4.runtime.ParserInterpreter.removeParseListeners:()V
19: aload 3
invokevirtual org.antlr.v4.runtime.ParserInterpreter.getInterpreter:()Lorg/antlr/v4/runtime/atn/ATNSimulator;
checkcast org.antlr.v4.runtime.atn.ParserATNSimulator
getstatic org.antlr.v4.runtime.atn.PredictionMode.LL_EXACT_AMBIG_DETECTION:Lorg/antlr/v4/runtime/atn/PredictionMode;
invokevirtual org.antlr.v4.runtime.atn.ParserATNSimulator.setPredictionMode:(Lorg/antlr/v4/runtime/atn/PredictionMode;)V
20: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 g Lorg/antlr/v4/tool/Grammar;
0 21 1 originalParser Lorg/antlr/v4/runtime/Parser;
0 21 2 tokens Lorg/antlr/v4/runtime/TokenStream;
4 5 3 parser Lorg/antlr/v4/runtime/ParserInterpreter;
15 21 3 parser Lorg/antlr/v4/runtime/ParserInterpreter;
2 7 4 c Ljava/lang/Class<+Lorg/antlr/v4/runtime/ParserInterpreter;>;
3 4 5 ctor Ljava/lang/reflect/Constructor<+Lorg/antlr/v4/runtime/ParserInterpreter;>;
6 7 5 e Ljava/lang/Exception;
8 15 4 serializedAtn [C
9 15 5 deserialized Lorg/antlr/v4/runtime/atn/ATN;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
g
originalParser
tokens
}
SourceFile: "GrammarParserInterpreter.java"
NestMembers:
org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy
InnerClasses:
public BailButConsumeErrorStrategy = org.antlr.v4.tool.GrammarParserInterpreter$BailButConsumeErrorStrategy of org.antlr.v4.tool.GrammarParserInterpreter