public class org.antlr.v4.tool.Rule implements org.antlr.v4.tool.AttributeResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.Rule
super_class: java.lang.Object
{
public static final org.antlr.v4.tool.AttributeDict predefinedRulePropertiesDict;
descriptor: Lorg/antlr/v4/tool/AttributeDict;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Set<java.lang.String> validLexerCommands;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public java.util.List<org.antlr.v4.tool.ast.GrammarAST> modifiers;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/tool/ast/GrammarAST;>;
public org.antlr.v4.tool.ast.RuleAST ast;
descriptor: Lorg/antlr/v4/tool/ast/RuleAST;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.AttributeDict args;
descriptor: Lorg/antlr/v4/tool/AttributeDict;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.AttributeDict retvals;
descriptor: Lorg/antlr/v4/tool/AttributeDict;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.AttributeDict locals;
descriptor: Lorg/antlr/v4/tool/AttributeDict;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Grammar g;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
public java.lang.String mode;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public java.util.Map<java.lang.String, org.antlr.v4.tool.ast.ActionAST> namedActions;
descriptor: Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;>;
public java.util.List<org.antlr.v4.tool.ast.GrammarAST> exceptions;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/tool/ast/GrammarAST;>;
public java.util.List<org.antlr.v4.tool.ast.ActionAST> actions;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/tool/ast/ActionAST;>;
public org.antlr.v4.tool.ast.ActionAST finallyAction;
descriptor: Lorg/antlr/v4/tool/ast/ActionAST;
flags: (0x0001) ACC_PUBLIC
public int numberOfAlts;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public boolean isStartRule;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Alternative[] alt;
descriptor: [Lorg/antlr/v4/tool/Alternative;
flags: (0x0001) ACC_PUBLIC
public int index;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int actionIndex;
descriptor: I
flags: (0x0001) ACC_PUBLIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.antlr.v4.tool.AttributeDict
dup
getstatic org.antlr.v4.tool.AttributeDict$DictType.PREDEFINED_RULE:Lorg/antlr/v4/tool/AttributeDict$DictType;
invokespecial org.antlr.v4.tool.AttributeDict.<init>:(Lorg/antlr/v4/tool/AttributeDict$DictType;)V
1: putstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
2: getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "parser"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
3: getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "text"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
4: getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "start"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
5: getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "stop"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
6: getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
new org.antlr.v4.tool.Attribute
dup
ldc "ctx"
invokespecial org.antlr.v4.tool.Attribute.<init>:(Ljava/lang/String;)V
invokevirtual org.antlr.v4.tool.AttributeDict.add:(Lorg/antlr/v4/tool/Attribute;)Lorg/antlr/v4/tool/Attribute;
pop
7: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
8: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "mode"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "pushMode"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "type"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "channel"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "popMode"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
13: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "skip"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
14: getstatic org.antlr.v4.tool.Rule.validLexerCommands:Ljava/util/Set;
ldc "more"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
15: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.antlr.v4.tool.Grammar, java.lang.String, org.antlr.v4.tool.ast.RuleAST, int);
descriptor: (Lorg/antlr/v4/tool/Grammar;Ljava/lang/String;Lorg/antlr/v4/tool/ast/RuleAST;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.antlr.v4.tool.Rule.namedActions:Ljava/util/Map;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Rule.exceptions:Ljava/util/List;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Rule.actions:Ljava/util/List;
5: aload 0
iconst_1
putfield org.antlr.v4.tool.Rule.isStartRule:Z
6: aload 0
iconst_m1
putfield org.antlr.v4.tool.Rule.actionIndex:I
7: aload 0
aload 1
putfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
8: aload 0
aload 2
putfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
9: aload 0
aload 3
putfield org.antlr.v4.tool.Rule.ast:Lorg/antlr/v4/tool/ast/RuleAST;
10: aload 0
iload 4
putfield org.antlr.v4.tool.Rule.numberOfAlts:I
11: aload 0
iload 4
iconst_1
iadd
anewarray org.antlr.v4.tool.Alternative
putfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
12: iconst_1
istore 5
start local 5 13: goto 15
StackMap locals: org.antlr.v4.tool.Rule org.antlr.v4.tool.Grammar java.lang.String org.antlr.v4.tool.ast.RuleAST int int
StackMap stack:
14: aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 5
new org.antlr.v4.tool.Alternative
dup
aload 0
iload 5
invokespecial org.antlr.v4.tool.Alternative.<init>:(Lorg/antlr/v4/tool/Rule;I)V
aastore
iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 4
if_icmple 14
end local 5 16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/antlr/v4/tool/Rule;
0 17 1 g Lorg/antlr/v4/tool/Grammar;
0 17 2 name Ljava/lang/String;
0 17 3 ast Lorg/antlr/v4/tool/ast/RuleAST;
0 17 4 numberOfAlts I
13 16 5 i I
MethodParameters:
Name Flags
g
name
ast
numberOfAlts
public void defineActionInAlt(int, org.antlr.v4.tool.ast.ActionAST);
descriptor: (ILorg/antlr/v4/tool/ast/ActionAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.antlr.v4.tool.Rule.actions:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 1
aaload
getfield org.antlr.v4.tool.Alternative.actions:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 4
3: aload 0
aload 2
invokevirtual org.antlr.v4.tool.Rule.defineLexerAction:(Lorg/antlr/v4/tool/ast/ActionAST;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Rule;
0 5 1 currentAlt I
0 5 2 actionAST Lorg/antlr/v4/tool/ast/ActionAST;
MethodParameters:
Name Flags
currentAlt
actionAST
public void defineLexerAction(org.antlr.v4.tool.ast.ActionAST);
descriptor: (Lorg/antlr/v4/tool/ast/ActionAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.lexerActions:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.size:()I
putfield org.antlr.v4.tool.Rule.actionIndex:I
1: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.lexerActions:Ljava/util/LinkedHashMap;
aload 1
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 3
2: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.lexerActions:Ljava/util/LinkedHashMap;
aload 1
aload 0
getfield org.antlr.v4.tool.Rule.actionIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Rule;
0 4 1 actionAST Lorg/antlr/v4/tool/ast/ActionAST;
MethodParameters:
Name Flags
actionAST
public void definePredicateInAlt(int, org.antlr.v4.tool.ast.PredAST);
descriptor: (ILorg/antlr/v4/tool/ast/PredAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.antlr.v4.tool.Rule.actions:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 1
aaload
getfield org.antlr.v4.tool.Alternative.actions:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.sempreds:Ljava/util/LinkedHashMap;
aload 2
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 4
3: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.sempreds:Ljava/util/LinkedHashMap;
aload 2
aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.sempreds:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Rule;
0 5 1 currentAlt I
0 5 2 predAST Lorg/antlr/v4/tool/ast/PredAST;
MethodParameters:
Name Flags
currentAlt
predAST
public org.antlr.v4.tool.Attribute resolveRetvalOrProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Rule.retvals:Lorg/antlr/v4/tool/AttributeDict;
ifnull 3
1: aload 0
getfield org.antlr.v4.tool.Rule.retvals:Lorg/antlr/v4/tool/AttributeDict;
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getstatic org.antlr.v4.tool.LabelType.RULE_LABEL:Lorg/antlr/v4/tool/LabelType;
invokevirtual org.antlr.v4.tool.Rule.getPredefinedScope:(Lorg/antlr/v4/tool/LabelType;)Lorg/antlr/v4/tool/AttributeDict;
astore 2
start local 2 4: aload 2
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Rule;
0 5 1 y Ljava/lang/String;
2 3 2 a Lorg/antlr/v4/tool/Attribute;
4 5 2 d Lorg/antlr/v4/tool/AttributeDict;
MethodParameters:
Name Flags
y
public java.util.Set<java.lang.String> getTokenRefs();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 5
3: StackMap locals: java.util.Set int
StackMap stack:
aload 1
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.tokenRefs:Lorg/stringtemplate/v4/misc/MultiMap;
invokevirtual org.stringtemplate.v4.misc.MultiMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.antlr.v4.tool.Rule.numberOfAlts:I
if_icmple 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/antlr/v4/tool/Rule;
1 7 1 refs Ljava/util/Set<Ljava/lang/String;>;
2 6 2 i I
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getElementLabelNames();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 5
3: StackMap locals: java.util.Set int
StackMap stack:
aload 1
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.labelDefs:Lorg/stringtemplate/v4/misc/MultiMap;
invokevirtual org.stringtemplate.v4.misc.MultiMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.antlr.v4.tool.Rule.numberOfAlts:I
if_icmple 3
end local 2 6: aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifeq 7
aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/Rule;
1 8 1 refs Ljava/util/Set<Ljava/lang/String;>;
2 6 2 i I
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public org.stringtemplate.v4.misc.MultiMap<java.lang.String, org.antlr.v4.tool.LabelElementPair> getElementLabelDefs();
descriptor: ()Lorg/stringtemplate/v4/misc/MultiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new org.stringtemplate.v4.misc.MultiMap
dup
invokespecial org.stringtemplate.v4.misc.MultiMap.<init>:()V
1: astore 1
start local 1 2: iconst_1
istore 2
start local 2 3: goto 12
4: StackMap locals: org.stringtemplate.v4.misc.MultiMap int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.labelDefs:Lorg/stringtemplate/v4/misc/MultiMap;
invokevirtual org.stringtemplate.v4.misc.MultiMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: org.antlr.v4.tool.Rule org.stringtemplate.v4.misc.MultiMap int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 6: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.antlr.v4.tool.Rule org.stringtemplate.v4.misc.MultiMap int java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.LabelElementPair
astore 5
start local 5 8: aload 1
aload 5
getfield org.antlr.v4.tool.LabelElementPair.label:Lorg/antlr/v4/tool/ast/GrammarAST;
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
aload 5
invokevirtual org.stringtemplate.v4.misc.MultiMap.map:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 3 10: StackMap locals: org.antlr.v4.tool.Rule org.stringtemplate.v4.misc.MultiMap int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
11: iinc 2 1
StackMap locals: org.antlr.v4.tool.Rule org.stringtemplate.v4.misc.MultiMap int
StackMap stack:
12: iload 2
aload 0
getfield org.antlr.v4.tool.Rule.numberOfAlts:I
if_icmple 4
end local 2 13: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/antlr/v4/tool/Rule;
2 14 1 defs Lorg/stringtemplate/v4/misc/MultiMap<Ljava/lang/String;Lorg/antlr/v4/tool/LabelElementPair;>;
3 13 2 i I
6 10 3 pairs Ljava/util/List<Lorg/antlr/v4/tool/LabelElementPair;>;
8 9 5 p Lorg/antlr/v4/tool/LabelElementPair;
Signature: ()Lorg/stringtemplate/v4/misc/MultiMap<Ljava/lang/String;Lorg/antlr/v4/tool/LabelElementPair;>;
public boolean hasAltSpecificContexts();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Rule.getAltLabels:()Ljava/util/Map;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Rule;
public int getOriginalNumberOfAlts();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Rule.numberOfAlts:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Rule;
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=6, locals=5, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 11
3: StackMap locals: java.util.Map int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.ast:Lorg/antlr/v4/tool/ast/AltAST;
getfield org.antlr.v4.tool.ast.AltAST.altLabel:Lorg/antlr/v4/tool/ast/GrammarAST;
astore 3
start local 3 4: aload 3
ifnull 10
5: aload 1
aload 3
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 6: aload 4
ifnonnull 9
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
8: aload 1
aload 3
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals: org.antlr.v4.tool.ast.GrammarAST java.util.List
StackMap stack:
aload 4
new org.antlr.v4.runtime.misc.Pair
dup
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.ast: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 4 end local 3 10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield org.antlr.v4.tool.Rule.numberOfAlts:I
if_icmple 3
end local 2 12: aload 1
invokeinterface java.util.Map.isEmpty:()Z
ifeq 13
aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/antlr/v4/tool/Rule;
1 14 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 12 2 i I
4 10 3 altLabel Lorg/antlr/v4/tool/ast/GrammarAST;
6 10 4 list 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;>;>;>;
public java.util.List<org.antlr.v4.tool.ast.AltAST> getUnlabeledAltASTs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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: iconst_1
istore 2
start local 2 2: goto 6
3: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.ast:Lorg/antlr/v4/tool/ast/AltAST;
getfield org.antlr.v4.tool.ast.AltAST.altLabel:Lorg/antlr/v4/tool/ast/GrammarAST;
astore 3
start local 3 4: aload 3
ifnonnull 5
aload 1
aload 0
getfield org.antlr.v4.tool.Rule.alt:[Lorg/antlr/v4/tool/Alternative;
iload 2
aaload
getfield org.antlr.v4.tool.Alternative.ast:Lorg/antlr/v4/tool/ast/AltAST;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield org.antlr.v4.tool.Rule.numberOfAlts:I
if_icmple 3
end local 2 7: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 8
aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/antlr/v4/tool/Rule;
1 9 1 alts Ljava/util/List<Lorg/antlr/v4/tool/ast/AltAST;>;
2 7 2 i I
4 5 3 altLabel Lorg/antlr/v4/tool/ast/GrammarAST;
Signature: ()Ljava/util/List<Lorg/antlr/v4/tool/ast/AltAST;>;
public org.antlr.v4.tool.Attribute resolveToAttribute(java.lang.String, org.antlr.v4.tool.ast.ActionAST);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Lorg/antlr/v4/tool/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.antlr.v4.tool.Rule.args:Lorg/antlr/v4/tool/AttributeDict;
ifnull 3
1: aload 0
getfield org.antlr.v4.tool.Rule.args:Lorg/antlr/v4/tool/AttributeDict;
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
astore 3
start local 3 2: aload 3
ifnull 3
aload 3
areturn
end local 3 3: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.retvals:Lorg/antlr/v4/tool/AttributeDict;
ifnull 6
4: aload 0
getfield org.antlr.v4.tool.Rule.retvals:Lorg/antlr/v4/tool/AttributeDict;
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
areturn
end local 3 6: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.locals:Lorg/antlr/v4/tool/AttributeDict;
ifnull 9
7: aload 0
getfield org.antlr.v4.tool.Rule.locals:Lorg/antlr/v4/tool/AttributeDict;
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
astore 3
start local 3 8: aload 3
ifnull 9
aload 3
areturn
end local 3 9: StackMap locals:
StackMap stack:
aload 0
getstatic org.antlr.v4.tool.LabelType.RULE_LABEL:Lorg/antlr/v4/tool/LabelType;
invokevirtual org.antlr.v4.tool.Rule.getPredefinedScope:(Lorg/antlr/v4/tool/LabelType;)Lorg/antlr/v4/tool/AttributeDict;
astore 3
start local 3 10: aload 3
aload 1
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/antlr/v4/tool/Rule;
0 11 1 x Ljava/lang/String;
0 11 2 node Lorg/antlr/v4/tool/ast/ActionAST;
2 3 3 a Lorg/antlr/v4/tool/Attribute;
5 6 3 a Lorg/antlr/v4/tool/Attribute;
8 9 3 a Lorg/antlr/v4/tool/Attribute;
10 11 3 properties Lorg/antlr/v4/tool/AttributeDict;
MethodParameters:
Name Flags
x
node
public org.antlr.v4.tool.Attribute resolveToAttribute(java.lang.String, java.lang.String, org.antlr.v4.tool.ast.ActionAST);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Lorg/antlr/v4/tool/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.antlr.v4.tool.Rule.getAnyLabelDef:(Ljava/lang/String;)Lorg/antlr/v4/tool/LabelElementPair;
astore 4
start local 4 1: aload 4
ifnull 8
2: aload 4
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.RULE_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpne 4
3: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
aload 4
getfield org.antlr.v4.tool.LabelElementPair.element:Lorg/antlr/v4/tool/ast/GrammarAST;
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
invokevirtual org.antlr.v4.tool.Grammar.getRule:(Ljava/lang/String;)Lorg/antlr/v4/tool/Rule;
aload 2
invokevirtual org.antlr.v4.tool.Rule.resolveRetvalOrProperty:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
areturn
4: StackMap locals: org.antlr.v4.tool.LabelElementPair
StackMap stack:
aload 0
aload 4
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
invokevirtual org.antlr.v4.tool.Rule.getPredefinedScope:(Lorg/antlr/v4/tool/LabelType;)Lorg/antlr/v4/tool/AttributeDict;
astore 5
start local 5 5: aload 5
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals: org.antlr.v4.tool.AttributeDict
StackMap stack:
aload 5
aload 2
invokevirtual org.antlr.v4.tool.AttributeDict.get:(Ljava/lang/String;)Lorg/antlr/v4/tool/Attribute;
areturn
end local 5 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/antlr/v4/tool/Rule;
0 9 1 x Ljava/lang/String;
0 9 2 y Ljava/lang/String;
0 9 3 node Lorg/antlr/v4/tool/ast/ActionAST;
1 9 4 anyLabelDef Lorg/antlr/v4/tool/LabelElementPair;
5 8 5 scope Lorg/antlr/v4/tool/AttributeDict;
MethodParameters:
Name Flags
x
y
node
public boolean resolvesToLabel(java.lang.String, org.antlr.v4.tool.ast.ActionAST);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.antlr.v4.tool.Rule.getAnyLabelDef:(Ljava/lang/String;)Lorg/antlr/v4/tool/LabelElementPair;
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 3
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.RULE_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpeq 4
3: aload 3
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.TOKEN_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpne 5
4: StackMap locals: org.antlr.v4.tool.LabelElementPair
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/tool/Rule;
0 6 1 x Ljava/lang/String;
0 6 2 node Lorg/antlr/v4/tool/ast/ActionAST;
1 6 3 anyLabelDef Lorg/antlr/v4/tool/LabelElementPair;
MethodParameters:
Name Flags
x
node
public boolean resolvesToListLabel(java.lang.String, org.antlr.v4.tool.ast.ActionAST);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.antlr.v4.tool.Rule.getAnyLabelDef:(Ljava/lang/String;)Lorg/antlr/v4/tool/LabelElementPair;
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 3
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.RULE_LIST_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpeq 4
3: aload 3
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.TOKEN_LIST_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpne 5
4: StackMap locals: org.antlr.v4.tool.LabelElementPair
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/tool/Rule;
0 6 1 x Ljava/lang/String;
0 6 2 node Lorg/antlr/v4/tool/ast/ActionAST;
1 6 3 anyLabelDef Lorg/antlr/v4/tool/LabelElementPair;
MethodParameters:
Name Flags
x
node
public boolean resolvesToToken(java.lang.String, org.antlr.v4.tool.ast.ActionAST);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.antlr.v4.tool.Rule.getAnyLabelDef:(Ljava/lang/String;)Lorg/antlr/v4/tool/LabelElementPair;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.TOKEN_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpne 2
iconst_1
ireturn
2: StackMap locals: org.antlr.v4.tool.LabelElementPair
StackMap stack:
iconst_0
ireturn
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/Rule;
0 3 1 x Ljava/lang/String;
0 3 2 node Lorg/antlr/v4/tool/ast/ActionAST;
1 3 3 anyLabelDef Lorg/antlr/v4/tool/LabelElementPair;
MethodParameters:
Name Flags
x
node
public boolean resolvesToAttributeDict(java.lang.String, org.antlr.v4.tool.ast.ActionAST);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.antlr.v4.tool.Rule.resolvesToToken:(Ljava/lang/String;Lorg/antlr/v4/tool/ast/ActionAST;)Z
ifeq 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Rule;
0 2 1 x Ljava/lang/String;
0 2 2 node Lorg/antlr/v4/tool/ast/ActionAST;
MethodParameters:
Name Flags
x
node
public org.antlr.v4.tool.Rule resolveToRule(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/Rule;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.antlr.v4.tool.Rule.getAnyLabelDef:(Ljava/lang/String;)Lorg/antlr/v4/tool/LabelElementPair;
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
getfield org.antlr.v4.tool.LabelElementPair.type:Lorg/antlr/v4/tool/LabelType;
getstatic org.antlr.v4.tool.LabelType.RULE_LABEL:Lorg/antlr/v4/tool/LabelType;
if_acmpne 4
3: aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
aload 2
getfield org.antlr.v4.tool.LabelElementPair.element:Lorg/antlr/v4/tool/ast/GrammarAST;
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
invokevirtual org.antlr.v4.tool.Grammar.getRule:(Ljava/lang/String;)Lorg/antlr/v4/tool/Rule;
areturn
4: StackMap locals: org.antlr.v4.tool.LabelElementPair
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
aload 1
invokevirtual org.antlr.v4.tool.Grammar.getRule:(Ljava/lang/String;)Lorg/antlr/v4/tool/Rule;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Rule;
0 5 1 x Ljava/lang/String;
2 5 2 anyLabelDef Lorg/antlr/v4/tool/LabelElementPair;
MethodParameters:
Name Flags
x
public org.antlr.v4.tool.LabelElementPair getAnyLabelDef(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/LabelElementPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.antlr.v4.tool.Rule.getElementLabelDefs:()Lorg/stringtemplate/v4/misc/MultiMap;
aload 1
invokevirtual org.stringtemplate.v4.misc.MultiMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.tool.LabelElementPair
areturn
2: StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/Rule;
0 3 1 x Ljava/lang/String;
1 3 2 labels Ljava/util/List<Lorg/antlr/v4/tool/LabelElementPair;>;
MethodParameters:
Name Flags
x
public org.antlr.v4.tool.AttributeDict getPredefinedScope(org.antlr.v4.tool.LabelType);
descriptor: (Lorg/antlr/v4/tool/LabelType;)Lorg/antlr/v4/tool/AttributeDict;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
getfield org.antlr.v4.tool.Rule.g:Lorg/antlr/v4/tool/Grammar;
invokevirtual org.antlr.v4.tool.Grammar.getTypeString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: getstatic org.antlr.v4.tool.Grammar.grammarAndLabelRefTypeToScope:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.AttributeDict
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Rule;
0 2 1 ltype Lorg/antlr/v4/tool/LabelType;
1 2 2 grammarLabelKey Ljava/lang/String;
MethodParameters:
Name Flags
ltype
public boolean isFragment();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Rule.modifiers:Ljava/util/List;
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.modifiers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.antlr.v4.tool.Rule top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 1
start local 1 3: aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
ldc "fragment"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/tool/Rule;
3 4 1 a Lorg/antlr/v4/tool/ast/GrammarAST;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Rule;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.antlr.v4.tool.Rule
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
aload 1
checkcast org.antlr.v4.tool.Rule
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Rule;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "Rule{name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.antlr.v4.tool.Rule.args:Lorg/antlr/v4/tool/AttributeDict;
ifnull 3
aload 1
ldc ", args="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.Rule.args:Lorg/antlr/v4/tool/AttributeDict;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Rule.retvals:Lorg/antlr/v4/tool/AttributeDict;
ifnull 4
aload 1
ldc ", retvals="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.Rule.retvals:Lorg/antlr/v4/tool/AttributeDict;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 1
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/tool/Rule;
1 6 1 buf Ljava/lang/StringBuilder;
}
SourceFile: "Rule.java"
InnerClasses:
public final DictType = org.antlr.v4.tool.AttributeDict$DictType of org.antlr.v4.tool.AttributeDict