public class org.antlr.v4.tool.ast.GrammarRootAST extends org.antlr.v4.tool.ast.GrammarASTWithOptions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.ast.GrammarRootAST
super_class: org.antlr.v4.tool.ast.GrammarASTWithOptions
{
public static final java.util.Map<java.lang.String, java.lang.String> defaultOptions;
descriptor: Ljava/util/Map;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public int grammarType;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public boolean hasErrors;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
public final org.antlr.runtime.TokenStream tokenStream;
descriptor: Lorg/antlr/runtime/TokenStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public java.util.Map<java.lang.String, java.lang.String> cmdLineOptions;
descriptor: Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.antlr.v4.tool.ast.GrammarRootAST.defaultOptions:Ljava/util/Map;
1: getstatic org.antlr.v4.tool.ast.GrammarRootAST.defaultOptions:Ljava/util/Map;
ldc "language"
ldc "Java"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.antlr.v4.tool.ast.GrammarRootAST);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarRootAST;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.antlr.v4.tool.ast.GrammarASTWithOptions.<init>:(Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;)V
1: aload 0
aload 1
getfield org.antlr.v4.tool.ast.GrammarRootAST.grammarType:I
putfield org.antlr.v4.tool.ast.GrammarRootAST.grammarType:I
2: aload 0
aload 1
getfield org.antlr.v4.tool.ast.GrammarRootAST.hasErrors:Z
putfield org.antlr.v4.tool.ast.GrammarRootAST.hasErrors:Z
3: aload 0
aload 1
getfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
putfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/ast/GrammarRootAST;
0 5 1 node Lorg/antlr/v4/tool/ast/GrammarRootAST;
MethodParameters:
Name Flags
node
public void <init>(org.antlr.runtime.Token, org.antlr.runtime.TokenStream);
descriptor: (Lorg/antlr/runtime/Token;Lorg/antlr/runtime/TokenStream;)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
aload 1
invokespecial org.antlr.v4.tool.ast.GrammarASTWithOptions.<init>:(Lorg/antlr/runtime/Token;)V
1: aload 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "tokenStream"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST org.antlr.runtime.Token org.antlr.runtime.TokenStream
StackMap stack:
aload 0
aload 2
putfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/antlr/v4/tool/ast/GrammarRootAST;
0 5 1 t Lorg/antlr/runtime/Token;
0 5 2 tokenStream Lorg/antlr/runtime/TokenStream;
MethodParameters:
Name Flags
t
tokenStream
public void <init>(int, org.antlr.runtime.Token, org.antlr.runtime.TokenStream);
descriptor: (ILorg/antlr/runtime/Token;Lorg/antlr/runtime/TokenStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokespecial org.antlr.v4.tool.ast.GrammarASTWithOptions.<init>:(ILorg/antlr/runtime/Token;)V
1: aload 3
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "tokenStream"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST int org.antlr.runtime.Token org.antlr.runtime.TokenStream
StackMap stack:
aload 0
aload 3
putfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
4: return
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/ast/GrammarRootAST;
0 5 1 type I
0 5 2 t Lorg/antlr/runtime/Token;
0 5 3 tokenStream Lorg/antlr/runtime/TokenStream;
MethodParameters:
Name Flags
type
t
tokenStream
public void <init>(int, org.antlr.runtime.Token, java.lang.String, org.antlr.runtime.TokenStream);
descriptor: (ILorg/antlr/runtime/Token;Ljava/lang/String;Lorg/antlr/runtime/TokenStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
aload 3
invokespecial org.antlr.v4.tool.ast.GrammarASTWithOptions.<init>:(ILorg/antlr/runtime/Token;Ljava/lang/String;)V
1: aload 4
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "tokenStream"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.antlr.v4.tool.ast.GrammarRootAST int org.antlr.runtime.Token java.lang.String org.antlr.runtime.TokenStream
StackMap stack:
aload 0
aload 4
putfield org.antlr.v4.tool.ast.GrammarRootAST.tokenStream:Lorg/antlr/runtime/TokenStream;
4: return
end local 4 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/ast/GrammarRootAST;
0 5 1 type I
0 5 2 t Lorg/antlr/runtime/Token;
0 5 3 text Ljava/lang/String;
0 5 4 tokenStream Lorg/antlr/runtime/TokenStream;
MethodParameters:
Name Flags
type
t
text
tokenStream
public java.lang.String getGrammarName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.getChild:(I)Lorg/antlr/runtime/tree/Tree;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface org.antlr.runtime.tree.Tree.getText:()Ljava/lang/String;
areturn
2: StackMap locals: org.antlr.runtime.tree.Tree
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/ast/GrammarRootAST;
1 3 1 t Lorg/antlr/runtime/tree/Tree;
public java.lang.String getOptionString(java.lang.String);
descriptor: (Ljava/lang/String;)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.ast.GrammarRootAST.cmdLineOptions:Ljava/util/Map;
ifnull 2
aload 0
getfield org.antlr.v4.tool.ast.GrammarRootAST.cmdLineOptions:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.antlr.v4.tool.ast.GrammarRootAST.cmdLineOptions:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.antlr.v4.tool.ast.GrammarASTWithOptions.getOptionString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: getstatic org.antlr.v4.tool.ast.GrammarRootAST.defaultOptions:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
5: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/tool/ast/GrammarRootAST;
0 6 1 key Ljava/lang/String;
3 6 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.lang.Object visit(org.antlr.v4.tool.ast.GrammarASTVisitor);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarASTVisitor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.antlr.v4.tool.ast.GrammarASTVisitor.visit:(Lorg/antlr/v4/tool/ast/GrammarRootAST;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ast/GrammarRootAST;
0 1 1 v Lorg/antlr/v4/tool/ast/GrammarASTVisitor;
MethodParameters:
Name Flags
v
public org.antlr.v4.tool.ast.GrammarRootAST dupNode();
descriptor: ()Lorg/antlr/v4/tool/ast/GrammarRootAST;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.antlr.v4.tool.ast.GrammarRootAST
dup
aload 0
invokespecial org.antlr.v4.tool.ast.GrammarRootAST.<init>:(Lorg/antlr/v4/tool/ast/GrammarRootAST;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ast/GrammarRootAST;
public org.antlr.v4.tool.ast.GrammarASTWithOptions dupNode();
descriptor: ()Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.dupNode:()Lorg/antlr/v4/tool/ast/GrammarRootAST;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.antlr.runtime.tree.Tree dupNode();
descriptor: ()Lorg/antlr/runtime/tree/Tree;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.dupNode:()Lorg/antlr/v4/tool/ast/GrammarRootAST;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.antlr.v4.tool.ast.GrammarAST dupNode();
descriptor: ()Lorg/antlr/v4/tool/ast/GrammarAST;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.antlr.v4.tool.ast.GrammarRootAST.dupNode:()Lorg/antlr/v4/tool/ast/GrammarRootAST;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "GrammarRootAST.java"