public class org.antlr.v4.tool.Grammar 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.Grammar
super_class: java.lang.Object
{
public static final java.lang.String GRAMMAR_FROM_STRING_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<string>"
public static final java.lang.String INVALID_TOKEN_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<INVALID>"
public static final java.lang.String INVALID_RULE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<invalid>"
public static final java.util.Set<java.lang.String> parserOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> lexerOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> ruleOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> ParserBlockOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> LexerBlockOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> ruleRefOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> tokenOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> actionOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> semPredOptions;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Set<java.lang.String> doNotCopyOptionsToLexer;
descriptor: Ljava/util/Set;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
public static final java.util.Map<java.lang.String, org.antlr.v4.tool.AttributeDict> grammarAndLabelRefTypeToScope;
descriptor: Ljava/util/Map;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/antlr/v4/tool/AttributeDict;>;
public java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.ast.GrammarRootAST ast;
descriptor: Lorg/antlr/v4/tool/ast/GrammarRootAST;
flags: (0x0001) ACC_PUBLIC
public final org.antlr.runtime.TokenStream tokenStream;
descriptor: Lorg/antlr/runtime/TokenStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public org.antlr.runtime.TokenStream originalTokenStream;
descriptor: Lorg/antlr/runtime/TokenStream;
flags: (0x0001) ACC_PUBLIC
public java.lang.String text;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.LexerGrammar implicitLexer;
descriptor: Lorg/antlr/v4/tool/LexerGrammar;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Grammar originalGrammar;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Grammar parent;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
public java.util.List<org.antlr.v4.tool.Grammar> importedGrammars;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
public org.antlr.v4.misc.OrderedHashMap<java.lang.String, org.antlr.v4.tool.Rule> rules;
descriptor: Lorg/antlr/v4/misc/OrderedHashMap;
flags: (0x0001) ACC_PUBLIC
Signature: Lorg/antlr/v4/misc/OrderedHashMap<Ljava/lang/String;Lorg/antlr/v4/tool/Rule;>;
public java.util.List<org.antlr.v4.tool.Rule> indexToRule;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<Lorg/antlr/v4/tool/Rule;>;
int ruleNumber;
descriptor: I
flags: (0x0000)
int stringLiteralRuleNumber;
descriptor: I
flags: (0x0000)
public org.antlr.v4.runtime.atn.ATN atn;
descriptor: Lorg/antlr/v4/runtime/atn/ATN;
flags: (0x0001) ACC_PUBLIC
public java.util.Map<java.lang.Integer, org.antlr.v4.runtime.misc.Interval> stateToGrammarRegionMap;
descriptor: Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/antlr/v4/runtime/misc/Interval;>;
public java.util.Map<java.lang.Integer, org.antlr.v4.runtime.dfa.DFA> decisionDFAs;
descriptor: Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/antlr/v4/runtime/dfa/DFA;>;
public java.util.List<org.antlr.v4.runtime.misc.IntervalSet[]> decisionLOOK;
descriptor: Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/List<[Lorg/antlr/v4/runtime/misc/IntervalSet;>;
public final org.antlr.v4.Tool tool;
descriptor: Lorg/antlr/v4/Tool;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
int maxTokenType;
descriptor: I
flags: (0x0000)
public final java.util.Map<java.lang.String, java.lang.Integer> tokenNameToTypeMap;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
public final java.util.Map<java.lang.String, java.lang.Integer> stringLiteralToTypeMap;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
public final java.util.List<java.lang.String> typeToStringLiteralList;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
public final java.util.List<java.lang.String> typeToTokenList;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
int maxChannelType;
descriptor: I
flags: (0x0000)
public final java.util.Map<java.lang.String, java.lang.Integer> channelNameToValueMap;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
public final java.util.List<java.lang.String> channelValueToNameList;
descriptor: Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
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.LinkedHashMap<org.antlr.v4.tool.ast.ActionAST, java.lang.Integer> lexerActions;
descriptor: Ljava/util/LinkedHashMap;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/LinkedHashMap<Lorg/antlr/v4/tool/ast/ActionAST;Ljava/lang/Integer;>;
public java.util.LinkedHashMap<org.antlr.v4.tool.ast.PredAST, java.lang.Integer> sempreds;
descriptor: Ljava/util/LinkedHashMap;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/LinkedHashMap<Lorg/antlr/v4/tool/ast/PredAST;Ljava/lang/Integer;>;
public java.util.LinkedHashMap<java.lang.Integer, org.antlr.v4.tool.ast.PredAST> indexToPredMap;
descriptor: Ljava/util/LinkedHashMap;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/LinkedHashMap<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/PredAST;>;
public static final java.lang.String AUTO_GENERATED_TOKEN_NAME_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "T__"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/antlr/v4/tool/Grammar;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.antlr.v4.tool.Grammar.$assertionsDisabled:Z
3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
4: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "superClass"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "contextSuperClass"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "TokenLabelType"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "tokenVocab"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "language"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "accessLevel"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
ldc "exportMacro"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.antlr.v4.tool.Grammar.parserOptions:Ljava/util/Set;
putstatic org.antlr.v4.tool.Grammar.lexerOptions:Ljava/util/Set;
12: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.ruleOptions:Ljava/util/Set;
13: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.ParserBlockOptions:Ljava/util/Set;
14: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.LexerBlockOptions:Ljava/util/Set;
15: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.ruleRefOptions:Ljava/util/Set;
16: getstatic org.antlr.v4.tool.Grammar.ruleRefOptions:Ljava/util/Set;
ldc "p"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: getstatic org.antlr.v4.tool.Grammar.ruleRefOptions:Ljava/util/Set;
ldc "tokenIndex"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
18: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.tokenOptions:Ljava/util/Set;
19: getstatic org.antlr.v4.tool.Grammar.tokenOptions:Ljava/util/Set;
ldc "assoc"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
20: getstatic org.antlr.v4.tool.Grammar.tokenOptions:Ljava/util/Set;
ldc "tokenIndex"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.actionOptions:Ljava/util/Set;
22: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.semPredOptions:Ljava/util/Set;
23: getstatic org.antlr.v4.tool.Grammar.semPredOptions:Ljava/util/Set;
ldc "p"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
24: getstatic org.antlr.v4.tool.Grammar.semPredOptions:Ljava/util/Set;
ldc "fail"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
25: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.antlr.v4.tool.Grammar.doNotCopyOptionsToLexer:Ljava/util/Set;
26: getstatic org.antlr.v4.tool.Grammar.doNotCopyOptionsToLexer:Ljava/util/Set;
ldc "superClass"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
27: getstatic org.antlr.v4.tool.Grammar.doNotCopyOptionsToLexer:Ljava/util/Set;
ldc "TokenLabelType"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
28: getstatic org.antlr.v4.tool.Grammar.doNotCopyOptionsToLexer:Ljava/util/Set;
ldc "tokenVocab"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
29: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
30: putstatic org.antlr.v4.tool.Grammar.grammarAndLabelRefTypeToScope:Ljava/util/Map;
31: getstatic org.antlr.v4.tool.Grammar.grammarAndLabelRefTypeToScope:Ljava/util/Map;
ldc "parser:RULE_LABEL"
getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
32: getstatic org.antlr.v4.tool.Grammar.grammarAndLabelRefTypeToScope:Ljava/util/Map;
ldc "parser:TOKEN_LABEL"
getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
33: getstatic org.antlr.v4.tool.Grammar.grammarAndLabelRefTypeToScope:Ljava/util/Map;
ldc "combined:RULE_LABEL"
getstatic org.antlr.v4.tool.Rule.predefinedRulePropertiesDict:Lorg/antlr/v4/tool/AttributeDict;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: getstatic org.antlr.v4.tool.Grammar.grammarAndLabelRefTypeToScope:Ljava/util/Map;
ldc "combined:TOKEN_LABEL"
getstatic org.antlr.v4.tool.AttributeDict.predefinedTokenDict:Lorg/antlr/v4/tool/AttributeDict;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
35: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.antlr.v4.Tool, org.antlr.v4.tool.ast.GrammarRootAST);
descriptor: (Lorg/antlr/v4/Tool;Lorg/antlr/v4/tool/ast/GrammarRootAST;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.antlr.v4.misc.OrderedHashMap
dup
invokespecial org.antlr.v4.misc.OrderedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
3: aload 0
iconst_0
putfield org.antlr.v4.tool.Grammar.ruleNumber:I
4: aload 0
iconst_0
putfield org.antlr.v4.tool.Grammar.stringLiteralRuleNumber:I
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.decisionDFAs:Ljava/util/Map;
6: aload 0
iconst_0
putfield org.antlr.v4.tool.Grammar.maxTokenType:I
7: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
8: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
9: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
10: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
11: aload 0
iconst_1
putfield org.antlr.v4.tool.Grammar.maxChannelType:I
12: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
13: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
14: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.namedActions:Ljava/util/Map;
15: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.lexerActions:Ljava/util/LinkedHashMap;
16: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.sempreds:Ljava/util/LinkedHashMap;
17: aload 2
ifnonnull 19
18: new java.lang.NullPointerException
dup
ldc "ast"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.Tool org.antlr.v4.tool.ast.GrammarRootAST
StackMap stack:
aload 2
getfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
ifnonnull 21
20: new java.lang.IllegalArgumentException
dup
ldc "ast must have a token stream"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
22: aload 0
aload 2
putfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
23: aload 0
aload 2
iconst_0
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
invokeinterface org.antlr.runtime.tree.Tree.getText:()Ljava/lang/String;
putfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
24: aload 0
aload 2
getfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
putfield org.antlr.v4.tool.Grammar.tokenStream:Lorg/antlr/runtime/TokenStream;
25: aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.tokenStream:Lorg/antlr/runtime/TokenStream;
putfield org.antlr.v4.tool.Grammar.originalTokenStream:Lorg/antlr/runtime/TokenStream;
26: aload 0
invokevirtual org.antlr.v4.tool.Grammar.initTokenSymbolTables:()V
27: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/antlr/v4/tool/Grammar;
0 28 1 tool Lorg/antlr/v4/Tool;
0 28 2 ast Lorg/antlr/v4/tool/ast/GrammarRootAST;
MethodParameters:
Name Flags
tool
ast
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "<string>"
aload 1
aconst_null
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
0 2 1 grammarText Ljava/lang/String;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
grammarText
public void <init>(java.lang.String, org.antlr.v4.tool.LexerGrammar);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/LexerGrammar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "<string>"
aload 1
aload 2
aconst_null
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
0 2 1 grammarText Ljava/lang/String;
0 2 2 tokenVocabSource Lorg/antlr/v4/tool/LexerGrammar;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
grammarText
tokenVocabSource
public void <init>(java.lang.String, org.antlr.v4.tool.ANTLRToolListener);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "<string>"
aload 1
aload 2
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
0 2 1 grammarText Ljava/lang/String;
0 2 2 listener Lorg/antlr/v4/tool/ANTLRToolListener;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
grammarText
listener
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
0 2 1 fileName Ljava/lang/String;
0 2 2 grammarText Ljava/lang/String;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
fileName
grammarText
public void <init>(java.lang.String, java.lang.String, org.antlr.v4.tool.ANTLRToolListener);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/ANTLRToolListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
aload 3
invokespecial org.antlr.v4.tool.Grammar.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/tool/ANTLRToolListener;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
0 2 1 fileName Ljava/lang/String;
0 2 2 grammarText Ljava/lang/String;
0 2 3 listener Lorg/antlr/v4/tool/ANTLRToolListener;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
fileName
grammarText
listener
public void <init>(java.lang.String, java.lang.String, org.antlr.v4.tool.Grammar, org.antlr.v4.tool.ANTLRToolListener);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/tool/ANTLRToolListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, 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
new org.antlr.v4.misc.OrderedHashMap
dup
invokespecial org.antlr.v4.misc.OrderedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
3: aload 0
iconst_0
putfield org.antlr.v4.tool.Grammar.ruleNumber:I
4: aload 0
iconst_0
putfield org.antlr.v4.tool.Grammar.stringLiteralRuleNumber:I
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.decisionDFAs:Ljava/util/Map;
6: aload 0
iconst_0
putfield org.antlr.v4.tool.Grammar.maxTokenType:I
7: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
8: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
9: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
10: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
11: aload 0
iconst_1
putfield org.antlr.v4.tool.Grammar.maxChannelType:I
12: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
13: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
14: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.namedActions:Ljava/util/Map;
15: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.lexerActions:Ljava/util/LinkedHashMap;
16: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.antlr.v4.tool.Grammar.sempreds:Ljava/util/LinkedHashMap;
17: aload 0
aload 2
putfield org.antlr.v4.tool.Grammar.text:Ljava/lang/String;
18: aload 0
aload 1
putfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
19: aload 0
new org.antlr.v4.Tool
dup
invokespecial org.antlr.v4.Tool.<init>:()V
putfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
20: new org.antlr.v4.tool.Grammar$1
dup
aload 0
invokespecial org.antlr.v4.tool.Grammar$1.<init>:(Lorg/antlr/v4/tool/Grammar;)V
astore 5
start local 5 21: aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
aload 5
invokevirtual org.antlr.v4.Tool.addListener:(Lorg/antlr/v4/tool/ANTLRToolListener;)V
22: aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
aload 4
invokevirtual org.antlr.v4.Tool.addListener:(Lorg/antlr/v4/tool/ANTLRToolListener;)V
23: new org.antlr.runtime.ANTLRStringStream
dup
aload 2
invokespecial org.antlr.runtime.ANTLRStringStream.<init>:(Ljava/lang/String;)V
astore 6
start local 6 24: aload 6
aload 1
putfield org.antlr.runtime.ANTLRStringStream.name:Ljava/lang/String;
25: aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
aload 1
aload 6
invokevirtual org.antlr.v4.Tool.parse:(Ljava/lang/String;Lorg/antlr/runtime/CharStream;)Lorg/antlr/v4/tool/ast/GrammarRootAST;
putfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
26: aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
ifnonnull 28
27: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
28: StackMap locals: org.antlr.v4.tool.Grammar java.lang.String java.lang.String org.antlr.v4.tool.Grammar org.antlr.v4.tool.ANTLRToolListener org.antlr.v4.tool.ANTLRToolListener org.antlr.runtime.ANTLRStringStream
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
getfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
ifnonnull 30
29: new java.lang.IllegalStateException
dup
ldc "expected ast to have a token stream"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
getfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
putfield org.antlr.v4.tool.Grammar.tokenStream:Lorg/antlr/runtime/TokenStream;
31: aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.tokenStream:Lorg/antlr/runtime/TokenStream;
putfield org.antlr.v4.tool.Grammar.originalTokenStream:Lorg/antlr/runtime/TokenStream;
32: aload 0
astore 7
start local 7 33: new org.antlr.runtime.tree.TreeVisitor
dup
new org.antlr.v4.parse.GrammarASTAdaptor
dup
invokespecial org.antlr.v4.parse.GrammarASTAdaptor.<init>:()V
invokespecial org.antlr.runtime.tree.TreeVisitor.<init>:(Lorg/antlr/runtime/tree/TreeAdaptor;)V
astore 8
start local 8 34: aload 8
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
new org.antlr.v4.tool.Grammar$2
dup
aload 0
aload 7
invokespecial org.antlr.v4.tool.Grammar$2.<init>:(Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/tool/Grammar;)V
invokevirtual org.antlr.runtime.tree.TreeVisitor.visit:(Ljava/lang/Object;Lorg/antlr/runtime/tree/TreeVisitorAction;)Ljava/lang/Object;
pop
35: aload 0
invokevirtual org.antlr.v4.tool.Grammar.initTokenSymbolTables:()V
36: aload 3
ifnull 38
37: aload 0
aload 3
invokevirtual org.antlr.v4.tool.Grammar.importVocab:(Lorg/antlr/v4/tool/Grammar;)V
38: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.runtime.tree.TreeVisitor
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
aload 0
iconst_0
invokevirtual org.antlr.v4.Tool.process:(Lorg/antlr/v4/tool/Grammar;Z)V
39: return
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 40 0 this Lorg/antlr/v4/tool/Grammar;
0 40 1 fileName Ljava/lang/String;
0 40 2 grammarText Ljava/lang/String;
0 40 3 tokenVocabSource Lorg/antlr/v4/tool/Grammar;
0 40 4 listener Lorg/antlr/v4/tool/ANTLRToolListener;
21 40 5 hush Lorg/antlr/v4/tool/ANTLRToolListener;
24 40 6 in Lorg/antlr/runtime/ANTLRStringStream;
33 40 7 thiz Lorg/antlr/v4/tool/Grammar;
34 40 8 v Lorg/antlr/runtime/tree/TreeVisitor;
Exceptions:
throws org.antlr.runtime.RecognitionException
MethodParameters:
Name Flags
fileName
grammarText
tokenVocabSource
listener
protected void initTokenSymbolTables();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
ldc "EOF"
iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/Grammar;
public void loadImportedGrammars();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
bipush 29
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.getFirstChildWithType:(I)Lorg/antlr/runtime/tree/Tree;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 1
start local 1 2: aload 1
ifnonnull 3
return
3: StackMap locals: org.antlr.v4.tool.ast.GrammarAST
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 4: aload 2
aload 0
getfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.antlr.v4.tool.Grammar.importedGrammars:Ljava/util/List;
6: aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 32
StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.tool.ast.GrammarAST java.util.Set top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 8: aload 3
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 5
start local 5 9: aconst_null
astore 6
start local 6 10: aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getType:()I
bipush 10
if_icmpne 14
11: aload 5
iconst_1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 5
12: aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
astore 6
13: goto 16
14: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.tool.ast.GrammarAST java.util.Set java.lang.Object java.util.Iterator org.antlr.v4.tool.ast.GrammarAST java.lang.String
StackMap stack:
aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getType:()I
bipush 28
if_icmpne 16
15: aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
astore 6
16: StackMap locals:
StackMap stack:
aload 2
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 18
17: goto 32
18: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
aload 0
aload 5
invokevirtual org.antlr.v4.Tool.loadImportedGrammar:(Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/tool/ast/GrammarAST;)Lorg/antlr/v4/tool/Grammar;
astore 7
start local 7 19: goto 28
end local 7 20: StackMap locals:
StackMap stack: java.io.IOException
pop
21: aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
getfield org.antlr.v4.Tool.errMgr:Lorg/antlr/v4/tool/ErrorManager;
getstatic org.antlr.v4.tool.ErrorType.ERROR_READING_IMPORTED_GRAMMAR:Lorg/antlr/v4/tool/ErrorType;
22: aload 6
23: aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getToken:()Lorg/antlr/runtime/Token;
iconst_2
anewarray java.lang.Object
dup
iconst_0
24: aload 6
aastore
dup
iconst_1
25: aload 0
getfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
aastore
26: invokevirtual org.antlr.v4.tool.ErrorManager.grammarError:(Lorg/antlr/v4/tool/ErrorType;Ljava/lang/String;Lorg/antlr/runtime/Token;[Ljava/lang/Object;)V
27: goto 32
start local 7 28: StackMap locals: org.antlr.v4.tool.Grammar
StackMap stack:
aload 7
ifnonnull 29
goto 32
29: StackMap locals:
StackMap stack:
aload 7
aload 0
putfield org.antlr.v4.tool.Grammar.parent:Lorg/antlr/v4/tool/Grammar;
30: aload 0
getfield org.antlr.v4.tool.Grammar.importedGrammars:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
31: aload 7
invokevirtual org.antlr.v4.tool.Grammar.loadImportedGrammars:()V
end local 7 end local 6 end local 5 end local 3 32: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.tool.ast.GrammarAST java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
33: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/antlr/v4/tool/Grammar;
2 34 1 i Lorg/antlr/v4/tool/ast/GrammarAST;
4 34 2 visited Ljava/util/Set<Ljava/lang/String;>;
8 32 3 c Ljava/lang/Object;
9 32 5 t Lorg/antlr/v4/tool/ast/GrammarAST;
10 32 6 importedGrammarName Ljava/lang/String;
19 20 7 g Lorg/antlr/v4/tool/Grammar;
28 32 7 g Lorg/antlr/v4/tool/Grammar;
Exception table:
from to target type
18 19 20 Class java.io.IOException
public void defineAction(org.antlr.v4.tool.ast.GrammarAST);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChildCount:()I
iconst_2
if_icmpne 4
1: aload 1
iconst_0
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
invokeinterface org.antlr.runtime.tree.Tree.getText:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
getfield org.antlr.v4.tool.Grammar.namedActions:Ljava/util/Map;
aload 2
aload 1
iconst_1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
checkcast org.antlr.v4.tool.ast.ActionAST
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 3: goto 9
4: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
invokeinterface org.antlr.runtime.tree.Tree.getText:()Ljava/lang/String;
astore 2
start local 2 5: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getTypeString:()Ljava/lang/String;
astore 3
start local 3 6: aload 2
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 2
ldc "parser"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
aload 3
ldc "combined"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
iconst_1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
invokeinterface org.antlr.runtime.tree.Tree.getText:()Ljava/lang/String;
astore 4
start local 4 8: aload 0
getfield org.antlr.v4.tool.Grammar.namedActions:Ljava/util/Map;
aload 4
aload 1
iconst_2
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
checkcast org.antlr.v4.tool.ast.ActionAST
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/antlr/v4/tool/Grammar;
0 10 1 atAST Lorg/antlr/v4/tool/ast/GrammarAST;
2 3 2 name Ljava/lang/String;
5 9 2 scope Ljava/lang/String;
6 9 3 gtype Ljava/lang/String;
8 9 4 name Ljava/lang/String;
MethodParameters:
Name Flags
atAST
public boolean defineRule(org.antlr.v4.tool.Rule);
descriptor: (Lorg/antlr/v4/tool/Rule;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
aload 1
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual org.antlr.v4.misc.OrderedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
aload 1
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
aload 1
invokevirtual org.antlr.v4.misc.OrderedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
aload 0
dup
getfield org.antlr.v4.tool.Grammar.ruleNumber:I
dup_x1
iconst_1
iadd
putfield org.antlr.v4.tool.Grammar.ruleNumber:I
putfield org.antlr.v4.tool.Rule.index:I
4: aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/tool/Grammar;
0 6 1 r Lorg/antlr/v4/tool/Rule;
MethodParameters:
Name Flags
r
public boolean undefineRule(org.antlr.v4.tool.Rule);
descriptor: (Lorg/antlr/v4/tool/Rule;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.antlr.v4.tool.Rule.index:I
iflt 1
aload 1
getfield org.antlr.v4.tool.Rule.index:I
aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 1
aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
aload 1
getfield org.antlr.v4.tool.Rule.index:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aload 1
if_acmpeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.antlr.v4.tool.Grammar.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
aload 1
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual org.antlr.v4.misc.OrderedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 1
if_acmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
aload 1
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
invokevirtual org.antlr.v4.misc.OrderedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
aload 1
getfield org.antlr.v4.tool.Rule.index:I
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
5: aload 1
getfield org.antlr.v4.tool.Rule.index:I
istore 2
start local 2 6: goto 10
7: StackMap locals: int
StackMap stack:
getstatic org.antlr.v4.tool.Grammar.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
getfield org.antlr.v4.tool.Rule.index:I
iload 2
iconst_1
iadd
if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
dup
getfield org.antlr.v4.tool.Rule.index:I
iconst_1
isub
putfield org.antlr.v4.tool.Rule.index:I
9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 7
end local 2 11: aload 0
dup
getfield org.antlr.v4.tool.Grammar.ruleNumber:I
iconst_1
isub
putfield org.antlr.v4.tool.Grammar.ruleNumber:I
12: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/antlr/v4/tool/Grammar;
0 13 1 r Lorg/antlr/v4/tool/Rule;
6 11 2 i I
MethodParameters:
Name Flags
r
public org.antlr.v4.tool.Rule getRule(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 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
aload 1
invokevirtual org.antlr.v4.misc.OrderedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
areturn
2: StackMap locals: org.antlr.v4.tool.Rule
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/Grammar;
0 3 1 name Ljava/lang/String;
1 3 2 r Lorg/antlr/v4/tool/Rule;
MethodParameters:
Name Flags
name
public org.antlr.v4.runtime.atn.ATN getATN();
descriptor: ()Lorg/antlr/v4/runtime/atn/ATN;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
ifnonnull 3
1: new org.antlr.v4.automata.ParserATNFactory
dup
aload 0
invokespecial org.antlr.v4.automata.ParserATNFactory.<init>:(Lorg/antlr/v4/tool/Grammar;)V
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.antlr.v4.automata.ParserATNFactory.createATN:()Lorg/antlr/v4/runtime/atn/ATN;
putfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
2 3 1 factory Lorg/antlr/v4/automata/ParserATNFactory;
public org.antlr.v4.tool.Rule getRule(int);
descriptor: (I)Lorg/antlr/v4/tool/Rule;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.indexToRule:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 index I
MethodParameters:
Name Flags
index
public org.antlr.v4.tool.Rule getRule(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/antlr/v4/tool/Rule;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 5
1: aload 0
aload 1
invokevirtual org.antlr.v4.tool.Grammar.getImportedGrammar:(Ljava/lang/String;)Lorg/antlr/v4/tool/Grammar;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: org.antlr.v4.tool.Grammar
StackMap stack:
aload 3
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
aload 2
invokevirtual org.antlr.v4.misc.OrderedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 0
aload 2
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 6 0 this Lorg/antlr/v4/tool/Grammar;
0 6 1 grammarName Ljava/lang/String;
0 6 2 ruleName Ljava/lang/String;
2 5 3 g Lorg/antlr/v4/tool/Grammar;
MethodParameters:
Name Flags
grammarName
ruleName
public java.util.List<org.antlr.v4.tool.Grammar> getAllImportedGrammars();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.importedGrammars:Ljava/util/List;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 3: aload 0
getfield org.antlr.v4.tool.Grammar.importedGrammars:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: org.antlr.v4.tool.Grammar java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.Grammar
astore 2
start local 2 5: aload 1
aload 2
getfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
aload 2
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 2
invokevirtual org.antlr.v4.tool.Grammar.getAllImportedGrammars:()Ljava/util/List;
astore 4
start local 4 7: aload 4
ifnull 12
8: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: org.antlr.v4.tool.Grammar java.util.LinkedHashMap org.antlr.v4.tool.Grammar java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.Grammar
astore 5
start local 5 10: aload 1
aload 5
getfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
aload 5
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 4 end local 2 12: StackMap locals: org.antlr.v4.tool.Grammar java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: new java.util.ArrayList
dup
aload 1
invokevirtual java.util.LinkedHashMap.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/antlr/v4/tool/Grammar;
3 14 1 delegates Ljava/util/LinkedHashMap<Ljava/lang/String;Lorg/antlr/v4/tool/Grammar;>;
5 12 2 d Lorg/antlr/v4/tool/Grammar;
7 12 4 ds Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
10 11 5 imported Lorg/antlr/v4/tool/Grammar;
Signature: ()Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
public java.util.List<org.antlr.v4.tool.Grammar> getImportedGrammars();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.importedGrammars:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
Signature: ()Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
public org.antlr.v4.tool.LexerGrammar getImplicitLexer();
descriptor: ()Lorg/antlr/v4/tool/LexerGrammar;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.implicitLexer:Lorg/antlr/v4/tool/LexerGrammar;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
public static org.antlr.v4.tool.Grammar load(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/Grammar;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.antlr.v4.Tool
dup
invokespecial org.antlr.v4.Tool.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.antlr.v4.Tool.loadGrammar:(Ljava/lang/String;)Lorg/antlr/v4/tool/Grammar;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fileName Ljava/lang/String;
1 2 1 antlr Lorg/antlr/v4/Tool;
MethodParameters:
Name Flags
fileName
public java.util.List<org.antlr.v4.tool.Grammar> getGrammarAncestors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getOutermostGrammar:()Lorg/antlr/v4/tool/Grammar;
astore 1
start local 1 1: aload 0
aload 1
if_acmpne 2
aconst_null
areturn
2: StackMap locals: org.antlr.v4.tool.Grammar
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: aload 0
getfield org.antlr.v4.tool.Grammar.parent:Lorg/antlr/v4/tool/Grammar;
astore 3
start local 3 4: goto 7
5: StackMap locals: java.util.List org.antlr.v4.tool.Grammar
StackMap stack:
aload 2
iconst_0
aload 3
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
6: aload 3
getfield org.antlr.v4.tool.Grammar.parent:Lorg/antlr/v4/tool/Grammar;
astore 3
7: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
8: aload 2
areturn
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/Grammar;
1 9 1 root Lorg/antlr/v4/tool/Grammar;
3 9 2 grammars Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
4 9 3 p Lorg/antlr/v4/tool/Grammar;
Signature: ()Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
public org.antlr.v4.tool.Grammar getOutermostGrammar();
descriptor: ()Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.parent:Lorg/antlr/v4/tool/Grammar;
ifnonnull 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.parent:Lorg/antlr/v4/tool/Grammar;
invokevirtual org.antlr.v4.tool.Grammar.getOutermostGrammar:()Lorg/antlr/v4/tool/Grammar;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
public java.lang.String getRecognizerName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getOutermostGrammar:()Lorg/antlr/v4/tool/Grammar;
invokevirtual org.antlr.v4.tool.Grammar.getGrammarAncestors:()Ljava/util/List;
astore 2
start local 2 2: aload 0
getfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
astore 3
start local 3 3: aload 2
ifnull 12
4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 5: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.antlr.v4.tool.Grammar java.lang.String java.util.List java.lang.String java.lang.StringBuilder top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.Grammar
astore 5
start local 5 7: aload 4
aload 5
getfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 4
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aload 4
aload 0
getfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 4 12: StackMap locals: org.antlr.v4.tool.Grammar java.lang.String java.util.List java.lang.String
StackMap stack:
aload 0
invokevirtual org.antlr.v4.tool.Grammar.isCombined:()Z
ifne 13
aload 0
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 14
aload 0
getfield org.antlr.v4.tool.Grammar.implicitLexer:Lorg/antlr/v4/tool/LexerGrammar;
ifnull 14
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getType:()I
invokestatic org.antlr.v4.tool.Grammar.getGrammarTypeToFileNameSuffix:(I)Ljava/lang/String;
astore 1
14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/antlr/v4/tool/Grammar;
1 15 1 suffix Ljava/lang/String;
2 15 2 grammarsFromRootToMe Ljava/util/List<Lorg/antlr/v4/tool/Grammar;>;
3 15 3 qualifiedName Ljava/lang/String;
5 12 4 buf Ljava/lang/StringBuilder;
7 9 5 g Lorg/antlr/v4/tool/Grammar;
public java.lang.String getStringLiteralLexerRuleName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "T__"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
dup
getfield org.antlr.v4.tool.Grammar.stringLiteralRuleNumber:I
dup_x1
iconst_1
iadd
putfield org.antlr.v4.tool.Grammar.stringLiteralRuleNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 lit Ljava/lang/String;
MethodParameters:
Name Flags
lit
public org.antlr.v4.tool.Grammar getImportedGrammar(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.importedGrammars:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.antlr.v4.tool.Grammar java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.Grammar
astore 2
start local 2 2: aload 2
getfield org.antlr.v4.tool.Grammar.name:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 2
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Grammar;
0 5 1 name Ljava/lang/String;
2 3 2 g Lorg/antlr/v4/tool/Grammar;
MethodParameters:
Name Flags
name
public int getTokenType(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 39
if_icmpne 3
1: aload 0
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 4: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
ifnull 5
aload 2
invokevirtual java.lang.Integer.intValue:()I
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: iload 3
ireturn
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/Grammar;
0 8 1 token Ljava/lang/String;
2 3 2 I Ljava/lang/Integer;
4 8 2 I Ljava/lang/Integer;
7 8 3 i I
MethodParameters:
Name Flags
token
public java.lang.String getTokenName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: goto 5
2: StackMap locals: org.antlr.v4.tool.Grammar
StackMap stack:
aload 2
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
aload 2
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.antlr.v4.tool.Grammar.getTokenName:(I)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.antlr.v4.tool.Grammar.parent:Lorg/antlr/v4/tool/Grammar;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/antlr/v4/tool/Grammar;
0 7 1 literal Ljava/lang/String;
1 7 2 grammar Lorg/antlr/v4/tool/Grammar;
MethodParameters:
Name Flags
literal
public java.lang.String getTokenDisplayName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 3
1: iload 1
iflt 3
iload 1
ldc 1114111
if_icmpgt 3
2: iload 1
invokestatic org.antlr.v4.misc.CharSupport.getANTLRCharLiteralForChar:(I)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
iload 1
iconst_m1
if_icmpne 5
4: ldc "EOF"
areturn
5: StackMap locals:
StackMap stack:
iload 1
ifne 7
6: ldc "<INVALID>"
areturn
7: StackMap locals:
StackMap stack:
iload 1
iflt 9
iload 1
aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 9
aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnull 9
8: aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
9: StackMap locals:
StackMap stack:
iload 1
iflt 11
iload 1
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 11
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnull 11
10: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
11: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/antlr/v4/tool/Grammar;
0 12 1 ttype I
MethodParameters:
Name Flags
ttype
public java.lang.String getTokenName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 3
1: iload 1
iflt 3
iload 1
ldc 1114111
if_icmpgt 3
2: iload 1
invokestatic org.antlr.v4.misc.CharSupport.getANTLRCharLiteralForChar:(I)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
iload 1
iconst_m1
if_icmpne 5
4: ldc "EOF"
areturn
5: StackMap locals:
StackMap stack:
iload 1
iflt 7
iload 1
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 7
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnull 7
6: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
7: StackMap locals:
StackMap stack:
ldc "<INVALID>"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/Grammar;
0 8 1 ttype I
MethodParameters:
Name Flags
ttype
public int getChannelValue(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Integer.intValue:()I
goto 3
StackMap locals: java.lang.Integer
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Grammar;
0 5 1 channel Ljava/lang/String;
1 5 2 I Ljava/lang/Integer;
4 5 3 i I
MethodParameters:
Name Flags
channel
public java.lang.String[] getRuleNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.size:()I
anewarray java.lang.String
astore 1
start local 1 1: aload 1
ldc "<invalid>"
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.antlr.v4.tool.Grammar java.lang.String[] top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
astore 2
start local 2 4: aload 1
aload 2
getfield org.antlr.v4.tool.Rule.index:I
aload 2
getfield org.antlr.v4.tool.Rule.name:Ljava/lang/String;
aastore
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/antlr/v4/tool/Grammar;
1 7 1 result [Ljava/lang/String;
4 5 2 rule Lorg/antlr/v4/tool/Rule;
public java.lang.String[] getTokenNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getMaxTokenType:()I
istore 1
start local 1 1: iload 1
iconst_1
iadd
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int java.lang.String[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
invokevirtual org.antlr.v4.tool.Grammar.getTokenName:(I)Ljava/lang/String;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/Grammar;
1 8 1 numTokens I
2 8 2 tokenNames [Ljava/lang/String;
3 7 3 i I
public java.lang.String[] getTokenDisplayNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getMaxTokenType:()I
istore 1
start local 1 1: iload 1
iconst_1
iadd
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int java.lang.String[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
invokevirtual org.antlr.v4.tool.Grammar.getTokenDisplayName:(I)Ljava/lang/String;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/Grammar;
1 8 1 numTokens I
2 8 2 tokenNames [Ljava/lang/String;
3 7 3 i I
public java.lang.String[] getTokenLiteralNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getMaxTokenType:()I
istore 1
start local 1 1: iload 1
iconst_1
iadd
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int java.lang.String[] int
StackMap stack:
aload 2
iload 3
aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.min:(II)I
if_icmplt 4
end local 3 7: aload 0
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.antlr.v4.tool.Grammar int java.lang.String[] top java.util.Iterator
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 9: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iflt 11
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 2
arraylength
if_icmpge 11
aload 2
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aaload
ifnonnull 11
10: aload 2
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aastore
end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/antlr/v4/tool/Grammar;
1 13 1 numTokens I
2 13 2 literalNames [Ljava/lang/String;
3 7 3 i I
9 11 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;
public java.lang.String[] getTokenSymbolicNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getMaxTokenType:()I
istore 1
start local 1 1: iload 1
iconst_1
iadd
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: int java.lang.String[] int
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnull 7
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
ldc "T__"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: goto 7
6: StackMap locals:
StackMap stack:
aload 2
iload 3
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aastore
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 2
arraylength
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.min:(II)I
if_icmplt 4
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/antlr/v4/tool/Grammar;
1 10 1 numTokens I
2 10 2 symbolicNames [Ljava/lang/String;
3 9 3 i I
public org.antlr.v4.runtime.Vocabulary getVocabulary();
descriptor: ()Lorg/antlr/v4/runtime/Vocabulary;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.antlr.v4.runtime.VocabularyImpl
dup
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getTokenLiteralNames:()[Ljava/lang/String;
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getTokenSymbolicNames:()[Ljava/lang/String;
invokespecial org.antlr.v4.runtime.VocabularyImpl.<init>:([Ljava/lang/String;[Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
public java.lang.String getSemanticContextDisplayString(org.antlr.v4.runtime.atn.SemanticContext);
descriptor: (Lorg/antlr/v4/runtime/atn/SemanticContext;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.antlr.v4.runtime.atn.SemanticContext$Predicate
ifeq 2
1: aload 0
aload 1
checkcast org.antlr.v4.runtime.atn.SemanticContext$Predicate
invokevirtual org.antlr.v4.tool.Grammar.getPredicateDisplayString:(Lorg/antlr/v4/runtime/atn/SemanticContext$Predicate;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.antlr.v4.runtime.atn.SemanticContext$AND
ifeq 5
3: aload 1
checkcast org.antlr.v4.runtime.atn.SemanticContext$AND
astore 2
start local 2 4: aload 0
aload 2
ldc " and "
invokevirtual org.antlr.v4.tool.Grammar.joinPredicateOperands:(Lorg/antlr/v4/runtime/atn/SemanticContext$Operator;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 1
instanceof org.antlr.v4.runtime.atn.SemanticContext$OR
ifeq 8
6: aload 1
checkcast org.antlr.v4.runtime.atn.SemanticContext$OR
astore 2
start local 2 7: aload 0
aload 2
ldc " or "
invokevirtual org.antlr.v4.tool.Grammar.joinPredicateOperands:(Lorg/antlr/v4/runtime/atn/SemanticContext$Operator;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/antlr/v4/tool/Grammar;
0 9 1 semctx Lorg/antlr/v4/runtime/atn/SemanticContext;
4 5 2 and Lorg/antlr/v4/runtime/atn/SemanticContext$AND;
7 8 2 or Lorg/antlr/v4/runtime/atn/SemanticContext$OR;
MethodParameters:
Name Flags
semctx
public java.lang.String joinPredicateOperands(org.antlr.v4.runtime.atn.SemanticContext$Operator, java.lang.String);
descriptor: (Lorg/antlr/v4/runtime/atn/SemanticContext$Operator;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual org.antlr.v4.runtime.atn.SemanticContext$Operator.getOperands:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.atn.SemanticContext$Operator java.lang.String java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.runtime.atn.SemanticContext
astore 4
start local 4 3: aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifle 5
4: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.atn.SemanticContext$Operator java.lang.String java.lang.StringBuilder org.antlr.v4.runtime.atn.SemanticContext java.util.Iterator
StackMap stack:
aload 3
aload 0
aload 4
invokevirtual org.antlr.v4.tool.Grammar.getSemanticContextDisplayString:(Lorg/antlr/v4/runtime/atn/SemanticContext;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 6: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.runtime.atn.SemanticContext$Operator java.lang.String java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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/Grammar;
0 8 1 op Lorg/antlr/v4/runtime/atn/SemanticContext$Operator;
0 8 2 separator Ljava/lang/String;
1 8 3 buf Ljava/lang/StringBuilder;
3 6 4 operand Lorg/antlr/v4/runtime/atn/SemanticContext;
MethodParameters:
Name Flags
op
separator
public java.util.LinkedHashMap<java.lang.Integer, org.antlr.v4.tool.ast.PredAST> getIndexToPredicateMap();
descriptor: ()Ljava/util/LinkedHashMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.antlr.v4.tool.Grammar.rules:Lorg/antlr/v4/misc/OrderedHashMap;
invokevirtual org.antlr.v4.misc.OrderedHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.antlr.v4.tool.Grammar java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.Rule
astore 2
start local 2 3: aload 2
getfield org.antlr.v4.tool.Rule.actions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.antlr.v4.tool.Grammar java.util.LinkedHashMap org.antlr.v4.tool.Rule java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.ActionAST
astore 4
start local 4 5: aload 4
instanceof org.antlr.v4.tool.ast.PredAST
ifeq 8
6: aload 4
checkcast org.antlr.v4.tool.ast.PredAST
astore 6
start local 6 7: aload 1
aload 0
getfield org.antlr.v4.tool.Grammar.sempreds:Ljava/util/LinkedHashMap;
aload 6
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
aload 6
invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 9: StackMap locals: org.antlr.v4.tool.Grammar java.util.LinkedHashMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/antlr/v4/tool/Grammar;
1 11 1 indexToPredMap Ljava/util/LinkedHashMap<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/PredAST;>;
3 9 2 r Lorg/antlr/v4/tool/Rule;
5 8 4 a Lorg/antlr/v4/tool/ast/ActionAST;
7 8 6 p Lorg/antlr/v4/tool/ast/PredAST;
Signature: ()Ljava/util/LinkedHashMap<Ljava/lang/Integer;Lorg/antlr/v4/tool/ast/PredAST;>;
public java.lang.String getPredicateDisplayString(org.antlr.v4.runtime.atn.SemanticContext$Predicate);
descriptor: (Lorg/antlr/v4/runtime/atn/SemanticContext$Predicate;)Ljava/lang/String;
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.Grammar.indexToPredMap:Ljava/util/LinkedHashMap;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getIndexToPredicateMap:()Ljava/util/LinkedHashMap;
putfield org.antlr.v4.tool.Grammar.indexToPredMap:Ljava/util/LinkedHashMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.indexToPredMap:Ljava/util/LinkedHashMap;
aload 1
getfield org.antlr.v4.runtime.atn.SemanticContext$Predicate.predIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.ActionAST
astore 2
start local 2 3: aload 2
invokevirtual org.antlr.v4.tool.ast.ActionAST.getText:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
0 4 1 pred Lorg/antlr/v4/runtime/atn/SemanticContext$Predicate;
3 4 2 actionAST Lorg/antlr/v4/tool/ast/ActionAST;
MethodParameters:
Name Flags
pred
public int getMaxCharValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 1114111
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
public org.antlr.v4.runtime.misc.IntSet getTokenTypes();
descriptor: ()Lorg/antlr/v4/runtime/misc/IntSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 2
1: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getAllCharValues:()Lorg/antlr/v4/runtime/misc/IntSet;
areturn
2: StackMap locals:
StackMap stack:
iconst_1
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getMaxTokenType:()I
invokestatic org.antlr.v4.runtime.misc.IntervalSet.of:(II)Lorg/antlr/v4/runtime/misc/IntervalSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/Grammar;
public org.antlr.v4.runtime.misc.IntSet getAllCharValues();
descriptor: ()Lorg/antlr/v4/runtime/misc/IntSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_0
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getMaxCharValue:()I
invokestatic org.antlr.v4.runtime.misc.IntervalSet.of:(II)Lorg/antlr/v4/runtime/misc/IntervalSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
public int getMaxTokenType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
public int getNewTokenType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.antlr.v4.tool.Grammar.maxTokenType:I
iconst_1
iadd
putfield org.antlr.v4.tool.Grammar.maxTokenType:I
1: aload 0
getfield org.antlr.v4.tool.Grammar.maxTokenType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
public int getNewChannelNumber();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.antlr.v4.tool.Grammar.maxChannelType:I
iconst_1
iadd
putfield org.antlr.v4.tool.Grammar.maxChannelType:I
1: aload 0
getfield org.antlr.v4.tool.Grammar.maxChannelType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
public void importTokensFromTokensFile();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
ldc "tokenVocab"
invokevirtual org.antlr.v4.tool.Grammar.getOptionString:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 10
2: new org.antlr.v4.parse.TokenVocabParser
dup
aload 0
invokespecial org.antlr.v4.parse.TokenVocabParser.<init>:(Lorg/antlr/v4/tool/Grammar;)V
astore 2
start local 2 3: aload 2
invokevirtual org.antlr.v4.parse.TokenVocabParser.load:()Ljava/util/Map;
astore 3
start local 3 4: aload 0
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
ldc "grammar"
new java.lang.StringBuilder
dup
ldc "tokens="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.antlr.v4.Tool.log:(Ljava/lang/String;Ljava/lang/String;)V
5: aload 3
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.antlr.v4.tool.Grammar java.lang.String org.antlr.v4.parse.TokenVocabParser java.util.Map top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 7: aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 39
if_icmpne 8
aload 0
aload 4
aload 3
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.antlr.v4.tool.Grammar.defineStringLiteral:(Ljava/lang/String;I)I
pop
goto 9
8: StackMap locals: org.antlr.v4.tool.Grammar java.lang.String org.antlr.v4.parse.TokenVocabParser java.util.Map java.lang.String java.util.Iterator
StackMap stack:
aload 0
aload 4
aload 3
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.antlr.v4.tool.Grammar.defineTokenName:(Ljava/lang/String;I)I
pop
end local 4 9: StackMap locals: org.antlr.v4.tool.Grammar java.lang.String org.antlr.v4.parse.TokenVocabParser java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 end local 2 10: StackMap locals: org.antlr.v4.tool.Grammar java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/antlr/v4/tool/Grammar;
1 11 1 vocab Ljava/lang/String;
3 10 2 vparser Lorg/antlr/v4/parse/TokenVocabParser;
4 10 3 tokens Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
7 9 4 t Ljava/lang/String;
public void importVocab(org.antlr.v4.tool.Grammar);
descriptor: (Lorg/antlr/v4/tool/Grammar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.tool.Grammar top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
aload 2
aload 1
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.antlr.v4.tool.Grammar.defineTokenName:(Ljava/lang/String;I)I
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 1
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals:
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 6: aload 0
aload 2
aload 1
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.antlr.v4.tool.Grammar.defineStringLiteral:(Ljava/lang/String;I)I
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 1
getfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals:
StackMap stack:
9: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 10: aload 0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.antlr.v4.tool.Grammar.defineChannelName:(Ljava/lang/String;I)I
pop
end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
12: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 13: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 2
invokestatic org.antlr.v4.misc.Utils.setSize:(Ljava/util/List;I)V
14: iconst_0
istore 3
start local 3 15: goto 19
16: StackMap locals: org.antlr.v4.tool.Grammar org.antlr.v4.tool.Grammar int int
StackMap stack:
aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.maxTokenType:I
iload 3
invokestatic java.lang.Math.max:(II)I
putfield org.antlr.v4.tool.Grammar.maxTokenType:I
17: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 3
aload 1
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
18: iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
aload 1
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 16
end local 3 20: aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.max:(II)I
istore 2
21: aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
iload 2
invokestatic org.antlr.v4.misc.Utils.setSize:(Ljava/util/List;I)V
22: iconst_0
istore 3
start local 3 23: goto 27
24: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.maxChannelType:I
iload 3
invokestatic java.lang.Math.max:(II)I
putfield org.antlr.v4.tool.Grammar.maxChannelType:I
25: aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
iload 3
aload 1
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
26: iinc 3 1
StackMap locals:
StackMap stack:
27: iload 3
aload 1
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 24
end local 3 28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/antlr/v4/tool/Grammar;
0 29 1 importG Lorg/antlr/v4/tool/Grammar;
2 3 2 tokenName Ljava/lang/String;
6 7 2 tokenName Ljava/lang/String;
10 11 2 channel Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;
13 29 2 max I
15 20 3 ttype I
23 28 3 channelValue I
MethodParameters:
Name Flags
importG
public int defineTokenName(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
aload 1
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getNewTokenType:()I
invokevirtual org.antlr.v4.tool.Grammar.defineTokenName:(Ljava/lang/String;I)I
ireturn
2: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/Grammar;
0 3 1 name Ljava/lang/String;
1 3 2 prev Ljava/lang/Integer;
MethodParameters:
Name Flags
name
public int defineTokenName(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokevirtual java.lang.Integer.intValue:()I
ireturn
2: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.tokenNameToTypeMap:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
iload 2
aload 1
invokevirtual org.antlr.v4.tool.Grammar.setTokenForType:(ILjava/lang/String;)V
4: aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.maxTokenType:I
iload 2
invokestatic java.lang.Math.max:(II)I
putfield org.antlr.v4.tool.Grammar.maxTokenType:I
5: iload 2
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/Grammar;
0 6 1 name Ljava/lang/String;
0 6 2 ttype I
1 6 3 prev Ljava/lang/Integer;
MethodParameters:
Name Flags
name
ttype
public int defineStringLiteral(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getNewTokenType:()I
invokevirtual org.antlr.v4.tool.Grammar.defineStringLiteral:(Ljava/lang/String;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/Grammar;
0 3 1 lit Ljava/lang/String;
MethodParameters:
Name Flags
lit
public int defineStringLiteral(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
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.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 7
1: aload 0
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: iload 2
aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 4
3: aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
iload 2
iconst_1
iadd
invokestatic org.antlr.v4.misc.Utils.setSize:(Ljava/util/List;I)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.typeToStringLiteralList:Ljava/util/List;
iload 2
aload 1
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
iload 2
aload 1
invokevirtual org.antlr.v4.tool.Grammar.setTokenForType:(ILjava/lang/String;)V
6: iload 2
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/Grammar;
0 8 1 lit Ljava/lang/String;
0 8 2 ttype I
MethodParameters:
Name Flags
lit
ttype
public int defineTokenAlias(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.antlr.v4.tool.Grammar.defineTokenName:(Ljava/lang/String;)I
istore 3
start local 3 1: aload 0
getfield org.antlr.v4.tool.Grammar.stringLiteralToTypeMap:Ljava/util/Map;
aload 2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
iload 3
aload 1
invokevirtual org.antlr.v4.tool.Grammar.setTokenForType:(ILjava/lang/String;)V
3: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
0 4 1 name Ljava/lang/String;
0 4 2 lit Ljava/lang/String;
1 4 3 ttype I
MethodParameters:
Name Flags
name
lit
public void setTokenForType(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_m1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 4
3: aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
iconst_1
iadd
invokestatic org.antlr.v4.misc.Utils.setSize:(Ljava/util/List;I)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 39
if_icmpne 7
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.typeToTokenList:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
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/Grammar;
0 8 1 ttype I
0 8 2 text Ljava/lang/String;
5 8 3 prevToken Ljava/lang/String;
MethodParameters:
Name Flags
ttype
text
public int defineChannelName(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
aload 1
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getNewChannelNumber:()I
invokevirtual org.antlr.v4.tool.Grammar.defineChannelName:(Ljava/lang/String;I)I
ireturn
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
0 4 1 name Ljava/lang/String;
1 4 2 prev Ljava/lang/Integer;
MethodParameters:
Name Flags
name
public int defineChannelName(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
invokevirtual java.lang.Integer.intValue:()I
ireturn
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.channelNameToValueMap:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
iload 2
aload 1
invokevirtual org.antlr.v4.tool.Grammar.setChannelNameForValue:(ILjava/lang/String;)V
5: aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.maxChannelType:I
iload 2
invokestatic java.lang.Math.max:(II)I
putfield org.antlr.v4.tool.Grammar.maxChannelType:I
6: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/antlr/v4/tool/Grammar;
0 7 1 name Ljava/lang/String;
0 7 2 value I
1 7 3 prev Ljava/lang/Integer;
MethodParameters:
Name Flags
name
value
public void setChannelNameForValue(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
1: aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
iload 1
iconst_1
iadd
invokestatic org.antlr.v4.misc.Utils.setSize:(Ljava/util/List;I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
ifnonnull 5
4: aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
iload 1
aload 2
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.lang.String
StackMap stack:
return
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/Grammar;
0 6 1 channelValue I
0 6 2 name Ljava/lang/String;
3 6 3 prevChannel Ljava/lang/String;
MethodParameters:
Name Flags
channelValue
name
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 x Ljava/lang/String;
0 1 2 node Lorg/antlr/v4/tool/ast/ActionAST;
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=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
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/Grammar;
0 1 1 x Ljava/lang/String;
0 1 2 y Ljava/lang/String;
0 1 3 node Lorg/antlr/v4/tool/ast/ActionAST;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 x Ljava/lang/String;
0 1 2 node Lorg/antlr/v4/tool/ast/ActionAST;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 x Ljava/lang/String;
0 1 2 node Lorg/antlr/v4/tool/ast/ActionAST;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 x Ljava/lang/String;
0 1 2 node Lorg/antlr/v4/tool/ast/ActionAST;
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 x Ljava/lang/String;
0 1 2 node Lorg/antlr/v4/tool/ast/ActionAST;
MethodParameters:
Name Flags
x
node
public java.lang.String getDefaultActionScope();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getType:()I
lookupswitch { // 3
31: 1
44: 2
81: 2
default: 3
}
1: StackMap locals:
StackMap stack:
ldc "lexer"
areturn
2: StackMap locals:
StackMap stack:
ldc "parser"
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
public int getType();
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.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
ifnull 1
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
getfield org.antlr.v4.tool.ast.GrammarRootAST.grammarType:I
ireturn
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
public org.antlr.runtime.TokenStream getTokenStream();
descriptor: ()Lorg/antlr/runtime/TokenStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
ifnull 1
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
getfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
areturn
1: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
public boolean isLexer();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getType:()I
bipush 31
if_icmpne 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/Grammar;
public boolean isParser();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getType:()I
bipush 44
if_icmpne 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/Grammar;
public boolean isCombined();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.getType:()I
bipush 81
if_icmpne 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/Grammar;
public static boolean isTokenName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isUpperCase:(C)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public java.lang.String getTypeString();
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.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
getstatic org.antlr.v4.parse.ANTLRParser.tokenNames:[Ljava/lang/String;
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getType:()I
aaload
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
public static java.lang.String getGrammarTypeToFileNameSuffix(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
lookupswitch { // 3
31: 1
44: 2
81: 3
default: 4
}
1: StackMap locals:
StackMap stack:
ldc "Lexer"
areturn
2: StackMap locals:
StackMap stack:
ldc "Parser"
areturn
3: StackMap locals:
StackMap stack:
ldc "Parser"
areturn
4: StackMap locals:
StackMap stack:
ldc "<invalid>"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type I
MethodParameters:
Name Flags
type
public java.lang.String getOptionString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.getOptionString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/Grammar;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public static void setNodeOptions(org.antlr.v4.tool.ast.GrammarAST, org.antlr.v4.tool.ast.GrammarAST);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarAST;Lorg/antlr/v4/tool/ast/GrammarAST;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.antlr.v4.tool.ast.GrammarASTWithOptions
astore 2
start local 2 2: aload 2
invokevirtual org.antlr.v4.tool.ast.GrammarASTWithOptions.getChildCount:()I
ifeq 3
aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChildCount:()I
ifne 4
StackMap locals: org.antlr.v4.tool.ast.GrammarASTWithOptions
StackMap stack:
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.antlr.v4.tool.ast.GrammarAST org.antlr.v4.tool.ast.GrammarAST org.antlr.v4.tool.ast.GrammarASTWithOptions top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 6: aload 3
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 5
start local 5 7: aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getType:()I
bipush 10
if_icmpne 10
8: aload 2
aload 5
iconst_0
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
invokeinterface org.antlr.runtime.tree.Tree.getText:()Ljava/lang/String;
aload 5
iconst_1
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
checkcast org.antlr.v4.tool.ast.GrammarAST
invokevirtual org.antlr.v4.tool.ast.GrammarASTWithOptions.setOption:(Ljava/lang/String;Lorg/antlr/v4/tool/ast/GrammarAST;)V
9: goto 11
10: StackMap locals: org.antlr.v4.tool.ast.GrammarAST org.antlr.v4.tool.ast.GrammarAST org.antlr.v4.tool.ast.GrammarASTWithOptions java.lang.Object java.util.Iterator org.antlr.v4.tool.ast.GrammarAST
StackMap stack:
aload 2
aload 5
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
aconst_null
invokevirtual org.antlr.v4.tool.ast.GrammarASTWithOptions.setOption:(Ljava/lang/String;Lorg/antlr/v4/tool/ast/GrammarAST;)V
end local 5 end local 3 11: StackMap locals: org.antlr.v4.tool.ast.GrammarAST org.antlr.v4.tool.ast.GrammarAST org.antlr.v4.tool.ast.GrammarASTWithOptions top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 node Lorg/antlr/v4/tool/ast/GrammarAST;
0 13 1 options Lorg/antlr/v4/tool/ast/GrammarAST;
2 13 2 t Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
6 11 3 o Ljava/lang/Object;
7 11 5 c Lorg/antlr/v4/tool/ast/GrammarAST;
MethodParameters:
Name Flags
node
options
public static java.util.List<org.antlr.v4.runtime.misc.Pair<org.antlr.v4.tool.ast.GrammarAST, org.antlr.v4.tool.ast.GrammarAST>> getStringLiteralAliasesFromLexerRules(org.antlr.v4.tool.ast.GrammarRootAST);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarRootAST;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=14, args_size=1
start local 0 0: bipush 8
anewarray java.lang.String
dup
iconst_0
1: ldc "(RULE %name:TOKEN_REF (BLOCK (ALT %lit:STRING_LITERAL)))"
aastore
dup
iconst_1
2: ldc "(RULE %name:TOKEN_REF (BLOCK (ALT %lit:STRING_LITERAL ACTION)))"
aastore
dup
iconst_2
3: ldc "(RULE %name:TOKEN_REF (BLOCK (ALT %lit:STRING_LITERAL SEMPRED)))"
aastore
dup
iconst_3
4: ldc "(RULE %name:TOKEN_REF (BLOCK (LEXER_ALT_ACTION (ALT %lit:STRING_LITERAL) .)))"
aastore
dup
iconst_4
5: ldc "(RULE %name:TOKEN_REF (BLOCK (LEXER_ALT_ACTION (ALT %lit:STRING_LITERAL) . .)))"
aastore
dup
iconst_5
6: ldc "(RULE %name:TOKEN_REF (BLOCK (LEXER_ALT_ACTION (ALT %lit:STRING_LITERAL) (LEXER_ACTION_CALL . .))))"
aastore
dup
bipush 6
7: ldc "(RULE %name:TOKEN_REF (BLOCK (LEXER_ALT_ACTION (ALT %lit:STRING_LITERAL) . (LEXER_ACTION_CALL . .))))"
aastore
dup
bipush 7
8: ldc "(RULE %name:TOKEN_REF (BLOCK (LEXER_ALT_ACTION (ALT %lit:STRING_LITERAL) (LEXER_ACTION_CALL . .) .)))"
aastore
9: astore 1
start local 1 10: new org.antlr.v4.parse.GrammarASTAdaptor
dup
aload 0
getfield org.antlr.v4.tool.ast.GrammarRootAST.token:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getInputStream:()Lorg/antlr/runtime/CharStream;
invokespecial org.antlr.v4.parse.GrammarASTAdaptor.<init>:(Lorg/antlr/runtime/CharStream;)V
astore 2
start local 2 11: new org.antlr.runtime.tree.TreeWizard
dup
aload 2
getstatic org.antlr.v4.parse.ANTLRParser.tokenNames:[Ljava/lang/String;
invokespecial org.antlr.runtime.tree.TreeWizard.<init>:(Lorg/antlr/runtime/tree/TreeAdaptor;[Ljava/lang/String;)V
astore 3
start local 3 12: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
13: astore 4
start local 4 14: aload 0
bipush 94
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.getNodesWithType:(I)Ljava/util/List;
astore 5
start local 5 15: aload 5
ifnull 16
aload 5
invokeinterface java.util.List.isEmpty:()Z
ifeq 17
StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST java.lang.String[] org.antlr.v4.parse.GrammarASTAdaptor org.antlr.runtime.tree.TreeWizard java.util.List java.util.List
StackMap stack:
16: aconst_null
areturn
17: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 28
StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST java.lang.String[] org.antlr.v4.parse.GrammarASTAdaptor org.antlr.runtime.tree.TreeWizard java.util.List java.util.List top java.util.Iterator
StackMap stack:
18: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 6
start local 6 19: aload 6
iconst_0
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
astore 8
start local 8 20: aload 8
invokeinterface org.antlr.runtime.tree.Tree.getType:()I
bipush 66
if_icmpne 28
21: aload 1
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 27
StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST java.lang.String[] org.antlr.v4.parse.GrammarASTAdaptor org.antlr.runtime.tree.TreeWizard java.util.List java.util.List org.antlr.v4.tool.ast.GrammarAST java.util.Iterator org.antlr.runtime.tree.Tree top top int int java.lang.String[]
StackMap stack:
22: aload 13
iload 11
aaload
astore 10
start local 10 23: aload 6
aload 10
aload 3
aload 4
invokestatic org.antlr.v4.tool.Grammar.defAlias:(Lorg/antlr/v4/tool/ast/GrammarAST;Ljava/lang/String;Lorg/antlr/runtime/tree/TreeWizard;Ljava/util/List;)Z
24: istore 9
start local 9 25: iload 9
ifeq 26
goto 28
end local 10 end local 9 26: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
27: iload 11
iload 12
if_icmplt 22
end local 8 end local 6 28: StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST java.lang.String[] org.antlr.v4.parse.GrammarASTAdaptor org.antlr.runtime.tree.TreeWizard java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
29: aload 4
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 30 0 ast Lorg/antlr/v4/tool/ast/GrammarRootAST;
10 30 1 patterns [Ljava/lang/String;
11 30 2 adaptor Lorg/antlr/v4/parse/GrammarASTAdaptor;
12 30 3 wiz Lorg/antlr/runtime/tree/TreeWizard;
14 30 4 lexerRuleToStringLiteral Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Lorg/antlr/v4/tool/ast/GrammarAST;Lorg/antlr/v4/tool/ast/GrammarAST;>;>;
15 30 5 ruleNodes Ljava/util/List<Lorg/antlr/v4/tool/ast/GrammarAST;>;
19 28 6 r Lorg/antlr/v4/tool/ast/GrammarAST;
20 28 8 name Lorg/antlr/runtime/tree/Tree;
25 26 9 isLitRule Z
23 26 10 pattern Ljava/lang/String;
Signature: (Lorg/antlr/v4/tool/ast/GrammarRootAST;)Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Lorg/antlr/v4/tool/ast/GrammarAST;Lorg/antlr/v4/tool/ast/GrammarAST;>;>;
MethodParameters:
Name Flags
ast
protected static boolean defAlias(org.antlr.v4.tool.ast.GrammarAST, java.lang.String, org.antlr.runtime.tree.TreeWizard, java.util.List<org.antlr.v4.runtime.misc.Pair<org.antlr.v4.tool.ast.GrammarAST, org.antlr.v4.tool.ast.GrammarAST>>);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarAST;Ljava/lang/String;Lorg/antlr/runtime/tree/TreeWizard;Ljava/util/List;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 1: aload 2
aload 0
aload 1
aload 4
invokevirtual org.antlr.runtime.tree.TreeWizard.parse:(Ljava/lang/Object;Ljava/lang/String;Ljava/util/Map;)Z
ifeq 8
2: aload 4
ldc "lit"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 5
start local 5 3: aload 4
ldc "name"
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 6
start local 6 4: new org.antlr.v4.runtime.misc.Pair
dup
aload 6
aload 5
invokespecial org.antlr.v4.runtime.misc.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
5: astore 7
start local 7 6: aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: iconst_1
ireturn
end local 7 end local 6 end local 5 8: StackMap locals: java.util.HashMap
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 r Lorg/antlr/v4/tool/ast/GrammarAST;
0 9 1 pattern Ljava/lang/String;
0 9 2 wiz Lorg/antlr/runtime/tree/TreeWizard;
0 9 3 lexerRuleToStringLiteral Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Lorg/antlr/v4/tool/ast/GrammarAST;Lorg/antlr/v4/tool/ast/GrammarAST;>;>;
1 9 4 nodes Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
3 8 5 litNode Lorg/antlr/v4/tool/ast/GrammarAST;
4 8 6 nameNode Lorg/antlr/v4/tool/ast/GrammarAST;
6 8 7 pair Lorg/antlr/v4/runtime/misc/Pair<Lorg/antlr/v4/tool/ast/GrammarAST;Lorg/antlr/v4/tool/ast/GrammarAST;>;
Signature: (Lorg/antlr/v4/tool/ast/GrammarAST;Ljava/lang/String;Lorg/antlr/runtime/tree/TreeWizard;Ljava/util/List<Lorg/antlr/v4/runtime/misc/Pair<Lorg/antlr/v4/tool/ast/GrammarAST;Lorg/antlr/v4/tool/ast/GrammarAST;>;>;)Z
MethodParameters:
Name Flags
r
pattern
wiz
lexerRuleToStringLiteral
public java.util.Set<java.lang.String> getStringLiterals();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 1
start local 1 1: new org.antlr.v4.tool.Grammar$3
dup
aload 0
aload 1
invokespecial org.antlr.v4.tool.Grammar$3.<init>:(Lorg/antlr/v4/tool/Grammar;Ljava/util/Set;)V
astore 2
start local 2 2: aload 2
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
invokevirtual org.antlr.v4.parse.GrammarTreeVisitor.visitGrammar:(Lorg/antlr/v4/tool/ast/GrammarAST;)V
3: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
1 4 1 strings Ljava/util/Set<Ljava/lang/String;>;
2 4 2 collector Lorg/antlr/v4/parse/GrammarTreeVisitor;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void setLookaheadDFA(int, org.antlr.v4.runtime.dfa.DFA);
descriptor: (ILorg/antlr/v4/runtime/dfa/DFA;)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.Grammar.decisionDFAs:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/Grammar;
0 2 1 decision I
0 2 2 lookaheadDFA Lorg/antlr/v4/runtime/dfa/DFA;
MethodParameters:
Name Flags
decision
lookaheadDFA
public static java.util.Map<java.lang.Integer, org.antlr.v4.runtime.misc.Interval> getStateToGrammarRegionMap(org.antlr.v4.tool.ast.GrammarRootAST, org.antlr.v4.runtime.misc.IntervalSet);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarRootAST;Lorg/antlr/v4/runtime/misc/IntervalSet;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
ifnonnull 2
aload 2
areturn
2: StackMap locals: java.util.Map
StackMap stack:
aload 0
aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.getNodesWithType:(Lorg/antlr/v4/runtime/misc/IntervalSet;)Ljava/util/List;
astore 3
start local 3 3: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 19
StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST org.antlr.v4.runtime.misc.IntervalSet java.util.Map java.util.List top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.GrammarAST
astore 4
start local 4 5: aload 4
getfield org.antlr.v4.tool.ast.GrammarAST.atnState:Lorg/antlr/v4/runtime/atn/ATNState;
ifnull 19
6: aload 4
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getTokenStartIndex:()I
aload 4
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getTokenStopIndex:()I
invokestatic org.antlr.v4.runtime.misc.Interval.of:(II)Lorg/antlr/v4/runtime/misc/Interval;
astore 6
start local 6 7: aconst_null
astore 7
start local 7 8: aload 4
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getType:()I
lookupswitch { // 3
78: 11
80: 11
94: 9
default: 12
}
9: StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST org.antlr.v4.runtime.misc.IntervalSet java.util.Map java.util.List org.antlr.v4.tool.ast.GrammarAST java.util.Iterator org.antlr.v4.runtime.misc.Interval org.antlr.runtime.tree.Tree
StackMap stack:
aload 4
astore 7
10: goto 12
11: StackMap locals:
StackMap stack:
aload 4
bipush 94
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getAncestor:(I)Lorg/antlr/runtime/tree/Tree;
astore 7
12: StackMap locals:
StackMap stack:
aload 7
instanceof org.antlr.v4.tool.ast.RuleAST
ifeq 18
13: aload 7
checkcast org.antlr.v4.tool.ast.RuleAST
invokevirtual org.antlr.v4.tool.ast.RuleAST.getRuleName:()Ljava/lang/String;
astore 8
start local 8 14: aload 0
getfield org.antlr.v4.tool.ast.GrammarRootAST.g:Lorg/antlr/v4/tool/Grammar;
aload 8
invokevirtual org.antlr.v4.tool.Grammar.getRule:(Ljava/lang/String;)Lorg/antlr/v4/tool/Rule;
astore 9
start local 9 15: aload 9
instanceof org.antlr.v4.tool.LeftRecursiveRule
ifeq 18
16: aload 9
checkcast org.antlr.v4.tool.LeftRecursiveRule
invokevirtual org.antlr.v4.tool.LeftRecursiveRule.getOriginalAST:()Lorg/antlr/v4/tool/ast/RuleAST;
astore 10
start local 10 17: aload 10
invokevirtual org.antlr.v4.tool.ast.RuleAST.getTokenStartIndex:()I
aload 10
invokevirtual org.antlr.v4.tool.ast.RuleAST.getTokenStopIndex:()I
invokestatic org.antlr.v4.runtime.misc.Interval.of:(II)Lorg/antlr/v4/runtime/misc/Interval;
astore 6
end local 10 end local 9 end local 8 18: StackMap locals:
StackMap stack:
aload 2
aload 4
getfield org.antlr.v4.tool.ast.GrammarAST.atnState:Lorg/antlr/v4/runtime/atn/ATNState;
getfield org.antlr.v4.runtime.atn.ATNState.stateNumber:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 4 19: StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST org.antlr.v4.runtime.misc.IntervalSet java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
20: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 ast Lorg/antlr/v4/tool/ast/GrammarRootAST;
0 21 1 grammarTokenTypes Lorg/antlr/v4/runtime/misc/IntervalSet;
1 21 2 stateToGrammarRegionMap Ljava/util/Map<Ljava/lang/Integer;Lorg/antlr/v4/runtime/misc/Interval;>;
3 21 3 nodes Ljava/util/List<Lorg/antlr/v4/tool/ast/GrammarAST;>;
5 19 4 n Lorg/antlr/v4/tool/ast/GrammarAST;
7 19 6 tokenRegion Lorg/antlr/v4/runtime/misc/Interval;
8 19 7 ruleNode Lorg/antlr/runtime/tree/Tree;
14 18 8 ruleName Ljava/lang/String;
15 18 9 r Lorg/antlr/v4/tool/Rule;
17 18 10 originalAST Lorg/antlr/v4/tool/ast/RuleAST;
Signature: (Lorg/antlr/v4/tool/ast/GrammarRootAST;Lorg/antlr/v4/runtime/misc/IntervalSet;)Ljava/util/Map<Ljava/lang/Integer;Lorg/antlr/v4/runtime/misc/Interval;>;
MethodParameters:
Name Flags
ast
grammarTokenTypes
public org.antlr.v4.runtime.misc.Interval getStateToGrammarRegion(int);
descriptor: (I)Lorg/antlr/v4/runtime/misc/Interval;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.tool.Grammar.stateToGrammarRegionMap:Ljava/util/Map;
ifnonnull 2
1: aload 0
aload 0
getfield org.antlr.v4.tool.Grammar.ast:Lorg/antlr/v4/tool/ast/GrammarRootAST;
aconst_null
invokestatic org.antlr.v4.tool.Grammar.getStateToGrammarRegionMap:(Lorg/antlr/v4/tool/ast/GrammarRootAST;Lorg/antlr/v4/runtime/misc/IntervalSet;)Ljava/util/Map;
putfield org.antlr.v4.tool.Grammar.stateToGrammarRegionMap:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.stateToGrammarRegionMap:Ljava/util/Map;
ifnonnull 3
getstatic org.antlr.v4.runtime.misc.Interval.INVALID:Lorg/antlr/v4/runtime/misc/Interval;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.stateToGrammarRegionMap:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.runtime.misc.Interval
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/tool/Grammar;
0 4 1 atnStateNumber I
MethodParameters:
Name Flags
atnStateNumber
public org.antlr.v4.runtime.LexerInterpreter createLexerInterpreter(org.antlr.v4.runtime.CharStream);
descriptor: (Lorg/antlr/v4/runtime/CharStream;)Lorg/antlr/v4/runtime/LexerInterpreter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.isParser:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "A lexer interpreter can only be created for a lexer or combined grammar."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.antlr.v4.tool.Grammar.isCombined:()Z
ifeq 4
3: aload 0
getfield org.antlr.v4.tool.Grammar.implicitLexer:Lorg/antlr/v4/tool/LexerGrammar;
aload 1
invokevirtual org.antlr.v4.tool.LexerGrammar.createLexerInterpreter:(Lorg/antlr/v4/runtime/CharStream;)Lorg/antlr/v4/runtime/LexerInterpreter;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
invokestatic org.antlr.v4.runtime.atn.ATNSerializer.getSerializedAsChars:(Lorg/antlr/v4/runtime/atn/ATN;)[C
astore 2
start local 2 5: new org.antlr.v4.runtime.atn.ATNDeserializer
dup
invokespecial org.antlr.v4.runtime.atn.ATNDeserializer.<init>:()V
aload 2
invokevirtual org.antlr.v4.runtime.atn.ATNDeserializer.deserialize:([C)Lorg/antlr/v4/runtime/atn/ATN;
astore 3
start local 3 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 7: aload 4
ldc "DEFAULT_TOKEN_CHANNEL"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 4
ldc "HIDDEN"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 4
aload 0
getfield org.antlr.v4.tool.Grammar.channelValueToNameList:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: new org.antlr.v4.runtime.LexerInterpreter
dup
aload 0
getfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getVocabulary:()Lorg/antlr/v4/runtime/Vocabulary;
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getRuleNames:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 4
aload 0
checkcast org.antlr.v4.tool.LexerGrammar
getfield org.antlr.v4.tool.LexerGrammar.modes:Lorg/antlr/v4/runtime/misc/MultiMap;
invokevirtual org.antlr.v4.runtime.misc.MultiMap.keySet:()Ljava/util/Set;
aload 3
aload 1
invokespecial org.antlr.v4.runtime.LexerInterpreter.<init>:(Ljava/lang/String;Lorg/antlr/v4/runtime/Vocabulary;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/CharStream;)V
areturn
end local 4 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/Grammar;
0 11 1 input Lorg/antlr/v4/runtime/CharStream;
5 11 2 serializedAtn [C
6 11 3 deserialized Lorg/antlr/v4/runtime/atn/ATN;
7 11 4 allChannels Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
input
public org.antlr.v4.tool.GrammarParserInterpreter createGrammarParserInterpreter(org.antlr.v4.runtime.TokenStream);
descriptor: (Lorg/antlr/v4/runtime/TokenStream;)Lorg/antlr/v4/tool/GrammarParserInterpreter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "A parser interpreter can only be created for a parser or combined grammar."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
invokestatic org.antlr.v4.runtime.atn.ATNSerializer.getSerializedAsChars:(Lorg/antlr/v4/runtime/atn/ATN;)[C
astore 2
start local 2 3: new org.antlr.v4.runtime.atn.ATNDeserializer
dup
invokespecial org.antlr.v4.runtime.atn.ATNDeserializer.<init>:()V
aload 2
invokevirtual org.antlr.v4.runtime.atn.ATNDeserializer.deserialize:([C)Lorg/antlr/v4/runtime/atn/ATN;
astore 3
start local 3 4: new org.antlr.v4.tool.GrammarParserInterpreter
dup
aload 0
aload 3
aload 1
invokespecial org.antlr.v4.tool.GrammarParserInterpreter.<init>:(Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/runtime/atn/ATN;Lorg/antlr/v4/runtime/TokenStream;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Grammar;
0 5 1 tokenStream Lorg/antlr/v4/runtime/TokenStream;
3 5 2 serializedAtn [C
4 5 3 deserialized Lorg/antlr/v4/runtime/atn/ATN;
MethodParameters:
Name Flags
tokenStream
public org.antlr.v4.runtime.ParserInterpreter createParserInterpreter(org.antlr.v4.runtime.TokenStream);
descriptor: (Lorg/antlr/v4/runtime/TokenStream;)Lorg/antlr/v4/runtime/ParserInterpreter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.antlr.v4.tool.Grammar.isLexer:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "A parser interpreter can only be created for a parser or combined grammar."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.Grammar.atn:Lorg/antlr/v4/runtime/atn/ATN;
invokestatic org.antlr.v4.runtime.atn.ATNSerializer.getSerializedAsChars:(Lorg/antlr/v4/runtime/atn/ATN;)[C
astore 2
start local 2 3: new org.antlr.v4.runtime.atn.ATNDeserializer
dup
invokespecial org.antlr.v4.runtime.atn.ATNDeserializer.<init>:()V
aload 2
invokevirtual org.antlr.v4.runtime.atn.ATNDeserializer.deserialize:([C)Lorg/antlr/v4/runtime/atn/ATN;
astore 3
start local 3 4: new org.antlr.v4.runtime.ParserInterpreter
dup
aload 0
getfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getVocabulary:()Lorg/antlr/v4/runtime/Vocabulary;
aload 0
invokevirtual org.antlr.v4.tool.Grammar.getRuleNames:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 3
aload 1
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
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/Grammar;
0 5 1 tokenStream Lorg/antlr/v4/runtime/TokenStream;
3 5 2 serializedAtn [C
4 5 3 deserialized Lorg/antlr/v4/runtime/atn/ATN;
MethodParameters:
Name Flags
tokenStream
}
SourceFile: "Grammar.java"
NestMembers:
org.antlr.v4.tool.Grammar$1 org.antlr.v4.tool.Grammar$2 org.antlr.v4.tool.Grammar$3
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public AND = org.antlr.v4.runtime.atn.SemanticContext$AND of org.antlr.v4.runtime.atn.SemanticContext
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 Predicate = org.antlr.v4.runtime.atn.SemanticContext$Predicate of org.antlr.v4.runtime.atn.SemanticContext
org.antlr.v4.tool.Grammar$1
org.antlr.v4.tool.Grammar$2
org.antlr.v4.tool.Grammar$3