public abstract class org.antlr.v4.tool.ast.GrammarASTWithOptions extends org.antlr.v4.tool.ast.GrammarAST
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.antlr.v4.tool.ast.GrammarASTWithOptions
super_class: org.antlr.v4.tool.ast.GrammarAST
{
protected java.util.Map<java.lang.String, org.antlr.v4.tool.ast.GrammarAST> options;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/antlr/v4/tool/ast/GrammarAST;>;
public void <init>(org.antlr.v4.tool.ast.GrammarASTWithOptions);
descriptor: (Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;)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.GrammarAST.<init>:(Lorg/antlr/v4/tool/ast/GrammarAST;)V
1: aload 0
aload 1
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
putfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 3 1 node Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
MethodParameters:
Name Flags
node
public void <init>(org.antlr.runtime.Token);
descriptor: (Lorg/antlr/runtime/Token;)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.GrammarAST.<init>:(Lorg/antlr/runtime/Token;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 1 1 t Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
t
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial org.antlr.v4.tool.ast.GrammarAST.<init>:(I)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 1 1 type I
MethodParameters:
Name Flags
type
public void <init>(int, org.antlr.runtime.Token);
descriptor: (ILorg/antlr/runtime/Token;)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
iload 1
aload 2
invokespecial org.antlr.v4.tool.ast.GrammarAST.<init>:(ILorg/antlr/runtime/Token;)V
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 1 1 type I
0 1 2 t Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
type
t
public void <init>(int, org.antlr.runtime.Token, java.lang.String);
descriptor: (ILorg/antlr/runtime/Token;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
invokespecial org.antlr.v4.tool.ast.GrammarAST.<init>:(ILorg/antlr/runtime/Token;Ljava/lang/String;)V
return
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/ast/GrammarASTWithOptions;
0 1 1 type I
0 1 2 t Lorg/antlr/runtime/Token;
0 1 3 text Ljava/lang/String;
MethodParameters:
Name Flags
type
t
text
public void setOption(java.lang.String, org.antlr.v4.tool.ast.GrammarAST);
descriptor: (Ljava/lang/String;Lorg/antlr/v4/tool/ast/GrammarAST;)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.ast.GrammarASTWithOptions.options:Ljava/util/Map;
ifnonnull 1
aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 3 1 key Ljava/lang/String;
0 3 2 node Lorg/antlr/v4/tool/ast/GrammarAST;
MethodParameters:
Name Flags
key
node
public java.lang.String getOptionString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.antlr.v4.tool.ast.GrammarASTWithOptions.getOptionAST:(Ljava/lang/String;)Lorg/antlr/v4/tool/ast/GrammarAST;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
areturn
2: StackMap locals: org.antlr.v4.tool.ast.GrammarAST
StackMap stack:
aload 2
instanceof org.antlr.v4.tool.ast.ActionAST
ifeq 4
3: aload 2
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ldc "'"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
aload 3
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
6: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokestatic org.antlr.v4.misc.CharSupport.getStringFromGrammarStringLiteral:(Ljava/lang/String;)Ljava/lang/String;
astore 3
7: aload 3
ifnonnull 10
8: aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.g:Lorg/antlr/v4/tool/Grammar;
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.INVALID_ESCAPE_SEQUENCE:Lorg/antlr/v4/tool/ErrorType;
aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.g:Lorg/antlr/v4/tool/Grammar;
getfield org.antlr.v4.tool.Grammar.fileName:Ljava/lang/String;
aload 2
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getToken:()Lorg/antlr/runtime/Token;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual org.antlr.v4.tool.ast.GrammarAST.getText:()Ljava/lang/String;
aastore
invokevirtual org.antlr.v4.tool.ErrorManager.grammarError:(Lorg/antlr/v4/tool/ErrorType;Ljava/lang/String;Lorg/antlr/runtime/Token;[Ljava/lang/Object;)V
9: ldc ""
astore 3
10: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 11 1 key Ljava/lang/String;
1 11 2 value Lorg/antlr/v4/tool/ast/GrammarAST;
5 11 3 v Ljava/lang/String;
MethodParameters:
Name Flags
key
public org.antlr.v4.tool.ast.GrammarAST getOptionAST(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/antlr/v4/tool/ast/GrammarAST;
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.ast.GrammarASTWithOptions.options:Ljava/util/Map;
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.antlr.v4.tool.ast.GrammarAST
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
0 2 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public int getNumberOfOptions();
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.ast.GrammarASTWithOptions.options:Ljava/util/Map;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
public abstract org.antlr.v4.tool.ast.GrammarASTWithOptions dupNode();
descriptor: ()Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.util.Map<java.lang.String, org.antlr.v4.tool.ast.GrammarAST> getOptions();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
ifnonnull 2
1: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.ast.GrammarASTWithOptions.options:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lorg/antlr/v4/tool/ast/GrammarAST;>;
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.GrammarASTWithOptions.dupNode:()Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
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.GrammarASTWithOptions.dupNode:()Lorg/antlr/v4/tool/ast/GrammarASTWithOptions;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "GrammarASTWithOptions.java"