public class org.antlr.v4.semantics.ActionSniffer extends org.antlr.v4.semantics.BlankActionSplitterListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.semantics.ActionSniffer
super_class: org.antlr.v4.semantics.BlankActionSplitterListener
{
public org.antlr.v4.tool.Grammar g;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Rule r;
descriptor: Lorg/antlr/v4/tool/Rule;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Alternative alt;
descriptor: Lorg/antlr/v4/tool/Alternative;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.ast.ActionAST node;
descriptor: Lorg/antlr/v4/tool/ast/ActionAST;
flags: (0x0001) ACC_PUBLIC
public org.antlr.runtime.Token actionToken;
descriptor: Lorg/antlr/runtime/Token;
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.ErrorManager errMgr;
descriptor: Lorg/antlr/v4/tool/ErrorManager;
flags: (0x0001) ACC_PUBLIC
public void <init>(org.antlr.v4.tool.Grammar, org.antlr.v4.tool.Rule, org.antlr.v4.tool.Alternative, org.antlr.v4.tool.ast.ActionAST, org.antlr.runtime.Token);
descriptor: (Lorg/antlr/v4/tool/Grammar;Lorg/antlr/v4/tool/Rule;Lorg/antlr/v4/tool/Alternative;Lorg/antlr/v4/tool/ast/ActionAST;Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial org.antlr.v4.semantics.BlankActionSplitterListener.<init>:()V
1: aload 0
aload 1
putfield org.antlr.v4.semantics.ActionSniffer.g:Lorg/antlr/v4/tool/Grammar;
2: aload 0
aload 2
putfield org.antlr.v4.semantics.ActionSniffer.r:Lorg/antlr/v4/tool/Rule;
3: aload 0
aload 3
putfield org.antlr.v4.semantics.ActionSniffer.alt:Lorg/antlr/v4/tool/Alternative;
4: aload 0
aload 4
putfield org.antlr.v4.semantics.ActionSniffer.node:Lorg/antlr/v4/tool/ast/ActionAST;
5: aload 0
aload 5
putfield org.antlr.v4.semantics.ActionSniffer.actionToken:Lorg/antlr/runtime/Token;
6: aload 0
aload 1
getfield org.antlr.v4.tool.Grammar.tool:Lorg/antlr/v4/Tool;
getfield org.antlr.v4.Tool.errMgr:Lorg/antlr/v4/tool/ErrorManager;
putfield org.antlr.v4.semantics.ActionSniffer.errMgr:Lorg/antlr/v4/tool/ErrorManager;
7: return
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 8 0 this Lorg/antlr/v4/semantics/ActionSniffer;
0 8 1 g Lorg/antlr/v4/tool/Grammar;
0 8 2 r Lorg/antlr/v4/tool/Rule;
0 8 3 alt Lorg/antlr/v4/tool/Alternative;
0 8 4 node Lorg/antlr/v4/tool/ast/ActionAST;
0 8 5 actionToken Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
g
r
alt
node
actionToken
public void examineAction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new org.antlr.runtime.ANTLRStringStream
dup
aload 0
getfield org.antlr.v4.semantics.ActionSniffer.actionToken:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
invokespecial org.antlr.runtime.ANTLRStringStream.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
getfield org.antlr.v4.semantics.ActionSniffer.actionToken:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getLine:()I
invokevirtual org.antlr.runtime.ANTLRStringStream.setLine:(I)V
2: aload 1
aload 0
getfield org.antlr.v4.semantics.ActionSniffer.actionToken:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getCharPositionInLine:()I
invokevirtual org.antlr.runtime.ANTLRStringStream.setCharPositionInLine:(I)V
3: new org.antlr.v4.parse.ActionSplitter
dup
aload 1
aload 0
invokespecial org.antlr.v4.parse.ActionSplitter.<init>:(Lorg/antlr/runtime/CharStream;Lorg/antlr/v4/parse/ActionSplitterListener;)V
astore 2
start local 2 4: aload 0
getfield org.antlr.v4.semantics.ActionSniffer.node:Lorg/antlr/v4/tool/ast/ActionAST;
aload 2
invokevirtual org.antlr.v4.parse.ActionSplitter.getActionTokens:()Ljava/util/List;
putfield org.antlr.v4.tool.ast.ActionAST.chunks:Ljava/util/List;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/antlr/v4/semantics/ActionSniffer;
1 6 1 in Lorg/antlr/runtime/ANTLRStringStream;
4 6 2 splitter Lorg/antlr/v4/parse/ActionSplitter;
public void processNested(org.antlr.runtime.Token);
descriptor: (Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new org.antlr.runtime.ANTLRStringStream
dup
aload 1
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
invokespecial org.antlr.runtime.ANTLRStringStream.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
aload 1
invokeinterface org.antlr.runtime.Token.getLine:()I
invokevirtual org.antlr.runtime.ANTLRStringStream.setLine:(I)V
2: aload 2
aload 1
invokeinterface org.antlr.runtime.Token.getCharPositionInLine:()I
invokevirtual org.antlr.runtime.ANTLRStringStream.setCharPositionInLine:(I)V
3: new org.antlr.v4.parse.ActionSplitter
dup
aload 2
aload 0
invokespecial org.antlr.v4.parse.ActionSplitter.<init>:(Lorg/antlr/runtime/CharStream;Lorg/antlr/v4/parse/ActionSplitterListener;)V
astore 3
start local 3 4: aload 3
invokevirtual org.antlr.v4.parse.ActionSplitter.getActionTokens:()Ljava/util/List;
pop
5: 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/semantics/ActionSniffer;
0 6 1 actionToken Lorg/antlr/runtime/Token;
1 6 2 in Lorg/antlr/runtime/ANTLRStringStream;
4 6 3 splitter Lorg/antlr/v4/parse/ActionSplitter;
MethodParameters:
Name Flags
actionToken
public void attr(java.lang.String, org.antlr.runtime.Token);
descriptor: (Ljava/lang/String;Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.antlr.v4.semantics.ActionSniffer.trackRef:(Lorg/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/semantics/ActionSniffer;
0 1 1 expr Ljava/lang/String;
0 1 2 x Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
expr
x
public void qualifiedAttr(java.lang.String, org.antlr.runtime.Token, org.antlr.runtime.Token);
descriptor: (Ljava/lang/String;Lorg/antlr/runtime/Token;Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual org.antlr.v4.semantics.ActionSniffer.trackRef:(Lorg/antlr/runtime/Token;)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/semantics/ActionSniffer;
0 1 1 expr Ljava/lang/String;
0 1 2 x Lorg/antlr/runtime/Token;
0 1 3 y Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
expr
x
y
public void setAttr(java.lang.String, org.antlr.runtime.Token, org.antlr.runtime.Token);
descriptor: (Ljava/lang/String;Lorg/antlr/runtime/Token;Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual org.antlr.v4.semantics.ActionSniffer.trackRef:(Lorg/antlr/runtime/Token;)V
1: aload 0
aload 3
invokevirtual org.antlr.v4.semantics.ActionSniffer.processNested:(Lorg/antlr/runtime/Token;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/semantics/ActionSniffer;
0 3 1 expr Ljava/lang/String;
0 3 2 x Lorg/antlr/runtime/Token;
0 3 3 rhs Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
expr
x
rhs
public void setNonLocalAttr(java.lang.String, org.antlr.runtime.Token, org.antlr.runtime.Token, org.antlr.runtime.Token);
descriptor: (Ljava/lang/String;Lorg/antlr/runtime/Token;Lorg/antlr/runtime/Token;Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
invokevirtual org.antlr.v4.semantics.ActionSniffer.processNested:(Lorg/antlr/runtime/Token;)V
1: return
end local 4 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/semantics/ActionSniffer;
0 2 1 expr Ljava/lang/String;
0 2 2 x Lorg/antlr/runtime/Token;
0 2 3 y Lorg/antlr/runtime/Token;
0 2 4 rhs Lorg/antlr/runtime/Token;
MethodParameters:
Name Flags
expr
x
y
rhs
public void trackRef(org.antlr.runtime.Token);
descriptor: (Lorg/antlr/runtime/Token;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.semantics.ActionSniffer.alt:Lorg/antlr/v4/tool/Alternative;
getfield org.antlr.v4.tool.Alternative.tokenRefs:Lorg/stringtemplate/v4/misc/MultiMap;
aload 1
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
invokevirtual org.stringtemplate.v4.misc.MultiMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
getfield org.antlr.v4.semantics.ActionSniffer.alt:Lorg/antlr/v4/tool/Alternative;
getfield org.antlr.v4.tool.Alternative.tokenRefsInActions:Lorg/stringtemplate/v4/misc/MultiMap;
aload 1
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
aload 0
getfield org.antlr.v4.semantics.ActionSniffer.node:Lorg/antlr/v4/tool/ast/ActionAST;
invokevirtual org.stringtemplate.v4.misc.MultiMap.map:(Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield org.antlr.v4.semantics.ActionSniffer.alt:Lorg/antlr/v4/tool/Alternative;
getfield org.antlr.v4.tool.Alternative.ruleRefs:Lorg/stringtemplate/v4/misc/MultiMap;
aload 1
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
invokevirtual org.stringtemplate.v4.misc.MultiMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 0
getfield org.antlr.v4.semantics.ActionSniffer.alt:Lorg/antlr/v4/tool/Alternative;
getfield org.antlr.v4.tool.Alternative.ruleRefsInActions:Lorg/stringtemplate/v4/misc/MultiMap;
aload 1
invokeinterface org.antlr.runtime.Token.getText:()Ljava/lang/String;
aload 0
getfield org.antlr.v4.semantics.ActionSniffer.node:Lorg/antlr/v4/tool/ast/ActionAST;
invokevirtual org.stringtemplate.v4.misc.MultiMap.map:(Ljava/lang/Object;Ljava/lang/Object;)V
6: StackMap locals: java.util.List
StackMap stack:
return
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/semantics/ActionSniffer;
0 7 1 x Lorg/antlr/runtime/Token;
1 7 2 xRefs Ljava/util/List<Lorg/antlr/v4/tool/ast/TerminalAST;>;
4 7 3 rRefs Ljava/util/List<Lorg/antlr/v4/tool/ast/GrammarAST;>;
MethodParameters:
Name Flags
x
}
SourceFile: "ActionSniffer.java"