public class org.antlr.v4.runtime.atn.SemanticContext$OR extends org.antlr.v4.runtime.atn.SemanticContext$Operator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.runtime.atn.SemanticContext$OR
super_class: org.antlr.v4.runtime.atn.SemanticContext$Operator
{
public final org.antlr.v4.runtime.atn.SemanticContext[] opnds;
descriptor: [Lorg/antlr/v4/runtime/atn/SemanticContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.antlr.v4.runtime.atn.SemanticContext, org.antlr.v4.runtime.atn.SemanticContext);
descriptor: (Lorg/antlr/v4/runtime/atn/SemanticContext;Lorg/antlr/v4/runtime/atn/SemanticContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.antlr.v4.runtime.atn.SemanticContext$Operator.<init>:()V
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 2: aload 1
instanceof org.antlr.v4.runtime.atn.SemanticContext$OR
ifeq 3
aload 3
aload 1
checkcast org.antlr.v4.runtime.atn.SemanticContext$OR
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
goto 4
3: StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.atn.SemanticContext org.antlr.v4.runtime.atn.SemanticContext java.util.Set
StackMap stack:
aload 3
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 2
instanceof org.antlr.v4.runtime.atn.SemanticContext$OR
ifeq 5
aload 3
aload 2
checkcast org.antlr.v4.runtime.atn.SemanticContext$OR
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
goto 6
5: StackMap locals:
StackMap stack:
aload 3
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
invokestatic org.antlr.v4.runtime.atn.SemanticContext.filterPrecedencePredicates:(Ljava/util/Collection;)Ljava/util/List;
astore 4
start local 4 7: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 10
8: aload 4
invokestatic java.util.Collections.max:(Ljava/util/Collection;)Ljava/lang/Object;
checkcast org.antlr.v4.runtime.atn.SemanticContext$PrecedencePredicate
astore 5
start local 5 9: aload 3
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 10: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 3
aload 3
invokeinterface java.util.Set.size:()I
anewarray org.antlr.v4.runtime.atn.SemanticContext
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.antlr.v4.runtime.atn.SemanticContext[]
putfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
0 12 1 a Lorg/antlr/v4/runtime/atn/SemanticContext;
0 12 2 b Lorg/antlr/v4/runtime/atn/SemanticContext;
2 12 3 operands Ljava/util/Set<Lorg/antlr/v4/runtime/atn/SemanticContext;>;
7 12 4 precedencePredicates Ljava/util/List<Lorg/antlr/v4/runtime/atn/SemanticContext$PrecedencePredicate;>;
9 10 5 reduced Lorg/antlr/v4/runtime/atn/SemanticContext$PrecedencePredicate;
MethodParameters:
Name Flags
a
b
public java.util.Collection<org.antlr.v4.runtime.atn.SemanticContext> getOperands();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
Signature: ()Ljava/util/Collection<Lorg/antlr/v4/runtime/atn/SemanticContext;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.antlr.v4.runtime.atn.SemanticContext$OR
ifne 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.antlr.v4.runtime.atn.SemanticContext$OR
astore 2
start local 2 3: aload 0
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
aload 2
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
0 4 1 obj Ljava/lang/Object;
3 4 2 other Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
ldc Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
invokevirtual java.lang.Object.hashCode:()I
invokestatic org.antlr.v4.runtime.misc.MurmurHash.hashCode:([Ljava/lang/Object;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
public boolean eval(org.antlr.v4.runtime.Recognizer<?, ?>, org.antlr.v4.runtime.RuleContext);
descriptor: (Lorg/antlr/v4/runtime/Recognizer;Lorg/antlr/v4/runtime/RuleContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 4
StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.Recognizer org.antlr.v4.runtime.RuleContext top int int org.antlr.v4.runtime.atn.SemanticContext[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokevirtual org.antlr.v4.runtime.atn.SemanticContext.eval:(Lorg/antlr/v4/runtime/Recognizer;Lorg/antlr/v4/runtime/RuleContext;)Z
ifeq 3
iconst_1
ireturn
end local 3 3: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 5
if_icmplt 1
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
0 6 1 parser Lorg/antlr/v4/runtime/Recognizer<**>;
0 6 2 parserCallStack Lorg/antlr/v4/runtime/RuleContext;
2 3 3 opnd Lorg/antlr/v4/runtime/atn/SemanticContext;
Signature: (Lorg/antlr/v4/runtime/Recognizer<**>;Lorg/antlr/v4/runtime/RuleContext;)Z
MethodParameters:
Name Flags
parser
parserCallStack
public org.antlr.v4.runtime.atn.SemanticContext evalPrecedence(org.antlr.v4.runtime.Recognizer<?, ?>, org.antlr.v4.runtime.RuleContext);
descriptor: (Lorg/antlr/v4/runtime/Recognizer;Lorg/antlr/v4/runtime/RuleContext;)Lorg/antlr/v4/runtime/atn/SemanticContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: aload 0
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 13
StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.Recognizer org.antlr.v4.runtime.RuleContext int java.util.List top int int org.antlr.v4.runtime.atn.SemanticContext[]
StackMap stack:
3: aload 8
iload 6
aaload
astore 5
start local 5 4: aload 5
aload 1
aload 2
invokevirtual org.antlr.v4.runtime.atn.SemanticContext.evalPrecedence:(Lorg/antlr/v4/runtime/Recognizer;Lorg/antlr/v4/runtime/RuleContext;)Lorg/antlr/v4/runtime/atn/SemanticContext;
astore 9
start local 9 5: iload 3
aload 9
aload 5
if_acmpeq 6
iconst_1
goto 7
StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.Recognizer org.antlr.v4.runtime.RuleContext int java.util.List org.antlr.v4.runtime.atn.SemanticContext int int org.antlr.v4.runtime.atn.SemanticContext[] org.antlr.v4.runtime.atn.SemanticContext
StackMap stack: int
6: iconst_0
StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.Recognizer org.antlr.v4.runtime.RuleContext int java.util.List org.antlr.v4.runtime.atn.SemanticContext int int org.antlr.v4.runtime.atn.SemanticContext[] org.antlr.v4.runtime.atn.SemanticContext
StackMap stack: int int
7: ior
istore 3
8: aload 9
getstatic org.antlr.v4.runtime.atn.SemanticContext$OR.NONE:Lorg/antlr/v4/runtime/atn/SemanticContext;
if_acmpne 10
9: getstatic org.antlr.v4.runtime.atn.SemanticContext$OR.NONE:Lorg/antlr/v4/runtime/atn/SemanticContext;
areturn
10: StackMap locals:
StackMap stack:
aload 9
ifnull 12
11: aload 4
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 5 12: StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.Recognizer org.antlr.v4.runtime.RuleContext int java.util.List top int int org.antlr.v4.runtime.atn.SemanticContext[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 7
if_icmplt 3
14: iload 3
ifne 16
15: aload 0
areturn
16: StackMap locals: org.antlr.v4.runtime.atn.SemanticContext$OR org.antlr.v4.runtime.Recognizer org.antlr.v4.runtime.RuleContext int java.util.List
StackMap stack:
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 18
17: aconst_null
areturn
18: StackMap locals:
StackMap stack:
aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.runtime.atn.SemanticContext
astore 5
start local 5 19: iconst_1
istore 6
start local 6 20: goto 23
21: StackMap locals: org.antlr.v4.runtime.atn.SemanticContext int
StackMap stack:
aload 5
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.runtime.atn.SemanticContext
invokestatic org.antlr.v4.runtime.atn.SemanticContext.or:(Lorg/antlr/v4/runtime/atn/SemanticContext;Lorg/antlr/v4/runtime/atn/SemanticContext;)Lorg/antlr/v4/runtime/atn/SemanticContext;
astore 5
22: iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 21
end local 6 24: aload 5
areturn
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 25 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
0 25 1 parser Lorg/antlr/v4/runtime/Recognizer<**>;
0 25 2 parserCallStack Lorg/antlr/v4/runtime/RuleContext;
1 25 3 differs Z
2 25 4 operands Ljava/util/List<Lorg/antlr/v4/runtime/atn/SemanticContext;>;
4 12 5 context Lorg/antlr/v4/runtime/atn/SemanticContext;
5 12 9 evaluated Lorg/antlr/v4/runtime/atn/SemanticContext;
19 25 5 result Lorg/antlr/v4/runtime/atn/SemanticContext;
20 24 6 i I
Signature: (Lorg/antlr/v4/runtime/Recognizer<**>;Lorg/antlr/v4/runtime/RuleContext;)Lorg/antlr/v4/runtime/atn/SemanticContext;
MethodParameters:
Name Flags
parser
parserCallStack
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.runtime.atn.SemanticContext$OR.opnds:[Lorg/antlr/v4/runtime/atn/SemanticContext;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
ldc "||"
invokestatic org.antlr.v4.runtime.misc.Utils.join:(Ljava/util/Iterator;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
}
SourceFile: "SemanticContext.java"
NestHost: org.antlr.v4.runtime.atn.SemanticContext
InnerClasses:
public OR = org.antlr.v4.runtime.atn.SemanticContext$OR of org.antlr.v4.runtime.atn.SemanticContext
public abstract Operator = org.antlr.v4.runtime.atn.SemanticContext$Operator of org.antlr.v4.runtime.atn.SemanticContext
public PrecedencePredicate = org.antlr.v4.runtime.atn.SemanticContext$PrecedencePredicate of org.antlr.v4.runtime.atn.SemanticContext