public class org.antlr.v4.tool.LeftRecursiveRule extends org.antlr.v4.tool.Rule
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.LeftRecursiveRule
super_class: org.antlr.v4.tool.Rule
{
public java.util.List<org.antlr.v4.analysis.LeftRecursiveRuleAltInfo> recPrimaryAlts;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;>;
public org.antlr.v4.misc.OrderedHashMap<java.lang.Integer, org.antlr.v4.analysis.LeftRecursiveRuleAltInfo> recOpAlts;
descriptor: Lorg/antlr/v4/misc/OrderedHashMap;
flags: (0x0001) ACC_PUBLIC
Signature: Lorg/antlr/v4/misc/OrderedHashMap<Ljava/lang/Integer;Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;>;
public org.antlr.v4.tool.ast.RuleAST originalAST;
descriptor: Lorg/antlr/v4/tool/ast/RuleAST;
flags: (0x0001) ACC_PUBLIC
public java.util.List<org.antlr.v4.runtime.misc.Pair<org.antlr.v4.tool.ast.GrammarAST, java.lang.String>> leftRecursiveRuleRefLabels;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Lorg/antlr/v4/tool/ast/GrammarAST;Ljava/lang/String;>;>;
public void <init>(org.antlr.v4.tool.Grammar, java.lang.String, org.antlr.v4.tool.ast.RuleAST);
descriptor: (Lorg/antlr/v4/tool/Grammar;Ljava/lang/String;Lorg/antlr/v4/tool/ast/RuleAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokespecial org.antlr.v4.tool.Rule.<init>:(Lorg/antlr/v4/tool/Grammar;Ljava/lang/String;Lorg/antlr/v4/tool/ast/RuleAST;I)V
1: aload 0
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.LeftRecursiveRule.leftRecursiveRuleRefLabels:Ljava/util/List;
3: aload 0
aload 3
putfield org.antlr.v4.tool.LeftRecursiveRule.originalAST:Lorg/antlr/v4/tool/ast/RuleAST;
4: aload 0
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.numberOfAlts:I
iconst_1
iadd
anewarray org.antlr.v4.tool.Alternative
putfield org.antlr.v4.tool.LeftRecursiveRule.alt:[Lorg/antlr/v4/tool/Alternative;
5: iconst_1
istore 4
start local 4 6: goto 8
StackMap locals: org.antlr.v4.tool.LeftRecursiveRule org.antlr.v4.tool.Grammar java.lang.String org.antlr.v4.tool.ast.RuleAST int
StackMap stack:
7: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 4
new org.antlr.v4.tool.Alternative
dup
aload 0
iload 4
invokespecial org.antlr.v4.tool.Alternative.<init>:(Lorg/antlr/v4/tool/Rule;I)V
aastore
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.numberOfAlts:I
if_icmple 7
end local 4 9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
0 10 1 g Lorg/antlr/v4/tool/Grammar;
0 10 2 name Ljava/lang/String;
0 10 3 ast Lorg/antlr/v4/tool/ast/RuleAST;
6 9 4 i I
MethodParameters:
Name Flags
g
name
ast
public boolean hasAltSpecificContexts();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.antlr.v4.tool.Rule.hasAltSpecificContexts:()Z
ifne 1
aload 0
invokevirtual org.antlr.v4.tool.LeftRecursiveRule.getAltLabels:()Ljava/util/Map;
ifnonnull 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
public int getOriginalNumberOfAlts();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
ifnull 2
iload 1
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 1
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
ifnull 3
iload 1
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.size:()I
iadd
istore 1
3: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
1 4 1 n I
public org.antlr.v4.tool.ast.RuleAST getOriginalAST();
descriptor: ()Lorg/antlr/v4/tool/ast/RuleAST;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.originalAST:Lorg/antlr/v4/tool/ast/RuleAST;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
public java.util.List<org.antlr.v4.tool.ast.AltAST> getUnlabeledAltASTs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.antlr.v4.tool.LeftRecursiveRule java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
astore 2
start local 2 3: aload 2
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
ifnonnull 4
aload 1
aload 2
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.originalAltAST:Lorg/antlr/v4/tool/ast/AltAST;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iconst_0
istore 2
start local 2 6: goto 10
7: StackMap locals: org.antlr.v4.tool.LeftRecursiveRule java.util.List int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
iload 2
invokevirtual org.antlr.v4.misc.OrderedHashMap.getElement:(I)Ljava/lang/Object;
checkcast org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
astore 3
start local 3 8: aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
ifnonnull 9
aload 1
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.originalAltAST:Lorg/antlr/v4/tool/ast/AltAST;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.size:()I
if_icmplt 7
end local 2 11: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 12
aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
1 13 1 alts Ljava/util/List<Lorg/antlr/v4/tool/ast/AltAST;>;
3 4 2 altInfo Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;
6 11 2 i I
8 9 3 altInfo Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;
Signature: ()Ljava/util/List<Lorg/antlr/v4/tool/ast/AltAST;>;
public int[] getPrimaryAlts();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
iadd
newarray 10
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int[] int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
astore 3
start local 3 5: aload 1
iload 2
iconst_1
iadd
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altNum:I
iastore
end local 3 6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 2 8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
2 9 1 alts [I
3 8 2 i I
5 6 3 altInfo Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;
public int[] getRecursiveOpAlts();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.size:()I
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.size:()I
iconst_1
iadd
newarray 10
astore 1
start local 1 2: iconst_1
istore 2
start local 2 3: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.antlr.v4.tool.LeftRecursiveRule int[] int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
astore 3
start local 3 5: aload 1
iload 2
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altNum:I
iastore
6: iinc 2 1
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
2 9 1 alts [I
3 9 2 alt I
5 7 3 altInfo Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;
public java.util.Map<java.lang.String, java.util.List<org.antlr.v4.runtime.misc.Pair<java.lang.Integer, org.antlr.v4.tool.ast.AltAST>>> getAltLabels();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
invokespecial org.antlr.v4.tool.Rule.getAltLabels:()Ljava/util/Map;
astore 2
start local 2 2: aload 2
ifnull 3
aload 1
aload 2
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: StackMap locals: java.util.Map java.util.Map
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
ifnull 13
4: aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recPrimaryAlts:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: org.antlr.v4.tool.LeftRecursiveRule java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
astore 3
start local 3 6: aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
ifnull 12
7: aload 1
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 8: aload 5
ifnonnull 11
9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
10: aload 1
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: StackMap locals: org.antlr.v4.tool.LeftRecursiveRule java.util.Map java.util.Map org.antlr.v4.analysis.LeftRecursiveRuleAltInfo java.util.Iterator java.util.List
StackMap stack:
aload 5
new org.antlr.v4.runtime.misc.Pair
dup
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 3
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.originalAltAST:Lorg/antlr/v4/tool/ast/AltAST;
invokespecial org.antlr.v4.runtime.misc.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 12: StackMap locals: org.antlr.v4.tool.LeftRecursiveRule java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: StackMap locals: org.antlr.v4.tool.LeftRecursiveRule java.util.Map java.util.Map
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
ifnull 25
14: iconst_0
istore 3
start local 3 15: goto 24
16: StackMap locals: int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
iload 3
invokevirtual org.antlr.v4.misc.OrderedHashMap.getElement:(I)Ljava/lang/Object;
checkcast org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
astore 4
start local 4 17: aload 4
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
ifnull 23
18: aload 1
aload 4
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 19: aload 5
ifnonnull 22
20: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
21: aload 1
aload 4
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altLabel:Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: StackMap locals: org.antlr.v4.analysis.LeftRecursiveRuleAltInfo java.util.List
StackMap stack:
aload 5
new org.antlr.v4.runtime.misc.Pair
dup
aload 4
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.altNum:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
getfield org.antlr.v4.analysis.LeftRecursiveRuleAltInfo.originalAltAST:Lorg/antlr/v4/tool/ast/AltAST;
invokespecial org.antlr.v4.runtime.misc.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 23: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
aload 0
getfield org.antlr.v4.tool.LeftRecursiveRule.recOpAlts:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.size:()I
if_icmplt 16
end local 3 25: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifeq 26
aconst_null
areturn
26: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/antlr/v4/tool/LeftRecursiveRule;
1 27 1 labels Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/AltAST;>;>;>;
2 27 2 normalAltLabels Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/AltAST;>;>;>;
6 12 3 altInfo Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;
8 12 5 pairs Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/AltAST;>;>;
15 25 3 i I
17 23 4 altInfo Lorg/antlr/v4/analysis/LeftRecursiveRuleAltInfo;
19 23 5 pairs Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/AltAST;>;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/AltAST;>;>;>;
}
SourceFile: "LeftRecursiveRule.java"