public class org.stringtemplate.v4.compiler.CompilationState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.stringtemplate.v4.compiler.CompilationState
super_class: java.lang.Object
{
org.stringtemplate.v4.compiler.CompiledST impl;
descriptor: Lorg/stringtemplate/v4/compiler/CompiledST;
flags: (0x0000)
org.stringtemplate.v4.compiler.StringTable stringtable;
descriptor: Lorg/stringtemplate/v4/compiler/StringTable;
flags: (0x0000)
int ip;
descriptor: I
flags: (0x0000)
org.antlr.runtime.TokenStream tokens;
descriptor: Lorg/antlr/runtime/TokenStream;
flags: (0x0000)
org.stringtemplate.v4.misc.ErrorManager errMgr;
descriptor: Lorg/stringtemplate/v4/misc/ErrorManager;
flags: (0x0000)
public void <init>(org.stringtemplate.v4.misc.ErrorManager, java.lang.String, org.antlr.runtime.TokenStream);
descriptor: (Lorg/stringtemplate/v4/misc/ErrorManager;Ljava/lang/String;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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.stringtemplate.v4.compiler.CompiledST
dup
invokespecial org.stringtemplate.v4.compiler.CompiledST.<init>:()V
putfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
2: aload 0
new org.stringtemplate.v4.compiler.StringTable
dup
invokespecial org.stringtemplate.v4.compiler.StringTable.<init>:()V
putfield org.stringtemplate.v4.compiler.CompilationState.stringtable:Lorg/stringtemplate/v4/compiler/StringTable;
3: aload 0
iconst_0
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
4: aload 0
aload 1
putfield org.stringtemplate.v4.compiler.CompilationState.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
5: aload 0
aload 3
putfield org.stringtemplate.v4.compiler.CompilationState.tokens:Lorg/antlr/runtime/TokenStream;
6: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
aload 2
putfield org.stringtemplate.v4.compiler.CompiledST.name:Ljava/lang/String;
7: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
aload 2
invokestatic org.stringtemplate.v4.misc.Misc.getPrefix:(Ljava/lang/String;)Ljava/lang/String;
putfield org.stringtemplate.v4.compiler.CompiledST.prefix:Ljava/lang/String;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 9 1 errMgr Lorg/stringtemplate/v4/misc/ErrorManager;
0 9 2 name Ljava/lang/String;
0 9 3 tokens Lorg/antlr/runtime/TokenStream;
MethodParameters:
Name Flags
errMgr
name
tokens
public int defineString(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.stringtable:Lorg/stringtemplate/v4/compiler/StringTable;
aload 1
invokevirtual org.stringtemplate.v4.compiler.StringTable.add:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void refAttr(org.antlr.runtime.Token, org.antlr.runtime.tree.CommonTree);
descriptor: (Lorg/antlr/runtime/Token;Lorg/antlr/runtime/tree/CommonTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.antlr.runtime.tree.CommonTree.getText:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.formalArguments:Ljava/util/Map;
ifnull 6
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.formalArguments:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 6
2: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.formalArguments:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.stringtemplate.v4.compiler.FormalArgument
astore 4
start local 4 3: aload 4
getfield org.stringtemplate.v4.compiler.FormalArgument.index:I
istore 5
start local 5 4: aload 0
aload 2
iconst_3
iload 5
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit1:(Lorg/antlr/runtime/tree/CommonTree;SI)V
end local 5 end local 4 5: goto 13
6: StackMap locals: java.lang.String
StackMap stack:
getstatic org.stringtemplate.v4.Interpreter.predefinedAnonSubtemplateAttributes:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 12
7: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
getstatic org.stringtemplate.v4.misc.ErrorType.REF_TO_IMPLICIT_ATTRIBUTE_OUT_OF_SCOPE:Lorg/stringtemplate/v4/misc/ErrorType;
8: aload 1
aload 2
getfield org.antlr.runtime.tree.CommonTree.token:Lorg/antlr/runtime/Token;
9: invokevirtual org.stringtemplate.v4.misc.ErrorManager.compileTimeError:(Lorg/stringtemplate/v4/misc/ErrorType;Lorg/antlr/runtime/Token;Lorg/antlr/runtime/Token;)V
10: aload 0
aload 2
bipush 44
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit:(Lorg/antlr/runtime/tree/CommonTree;S)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_2
aload 3
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit1:(Lorg/antlr/runtime/tree/CommonTree;SLjava/lang/String;)V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 14 1 templateToken Lorg/antlr/runtime/Token;
0 14 2 id Lorg/antlr/runtime/tree/CommonTree;
1 14 3 name Ljava/lang/String;
3 5 4 arg Lorg/stringtemplate/v4/compiler/FormalArgument;
4 5 5 index I
MethodParameters:
Name Flags
templateToken
id
public void setOption(org.antlr.runtime.tree.CommonTree);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.stringtemplate.v4.compiler.Compiler.supportedOptions:Ljava/util/Map;
aload 1
invokevirtual org.antlr.runtime.tree.CommonTree.getText:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.stringtemplate.v4.Interpreter$Option
astore 2
start local 2 1: aload 0
aload 1
bipush 6
aload 2
invokevirtual org.stringtemplate.v4.Interpreter$Option.ordinal:()I
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit1:(Lorg/antlr/runtime/tree/CommonTree;SI)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 3 1 id Lorg/antlr/runtime/tree/CommonTree;
1 3 2 O Lorg/stringtemplate/v4/Interpreter$Option;
MethodParameters:
Name Flags
id
public void func(org.antlr.runtime.Token, org.antlr.runtime.tree.CommonTree);
descriptor: (Lorg/antlr/runtime/Token;Lorg/antlr/runtime/tree/CommonTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.stringtemplate.v4.compiler.Compiler.funcs:Ljava/util/Map;
aload 2
invokevirtual org.antlr.runtime.tree.CommonTree.getText:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Short
astore 3
start local 3 1: aload 3
ifnonnull 5
2: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.errMgr:Lorg/stringtemplate/v4/misc/ErrorManager;
getstatic org.stringtemplate.v4.misc.ErrorType.NO_SUCH_FUNCTION:Lorg/stringtemplate/v4/misc/ErrorType;
aload 1
aload 2
getfield org.antlr.runtime.tree.CommonTree.token:Lorg/antlr/runtime/Token;
invokevirtual org.stringtemplate.v4.misc.ErrorManager.compileTimeError:(Lorg/stringtemplate/v4/misc/ErrorType;Lorg/antlr/runtime/Token;Lorg/antlr/runtime/Token;)V
3: aload 0
aload 2
bipush 43
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit:(Lorg/antlr/runtime/tree/CommonTree;S)V
4: goto 6
5: StackMap locals: java.lang.Short
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual java.lang.Short.shortValue:()S
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit:(Lorg/antlr/runtime/tree/CommonTree;S)V
6: StackMap locals:
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/stringtemplate/v4/compiler/CompilationState;
0 7 1 templateToken Lorg/antlr/runtime/Token;
0 7 2 id Lorg/antlr/runtime/tree/CommonTree;
1 7 3 funcBytecode Ljava/lang/Short;
MethodParameters:
Name Flags
templateToken
id
public void emit(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
iload 1
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit:(Lorg/antlr/runtime/tree/CommonTree;S)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 1 1 opcode S
MethodParameters:
Name Flags
opcode
public void emit(org.antlr.runtime.tree.CommonTree, short);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
invokevirtual org.stringtemplate.v4.compiler.CompilationState.ensureCapacity:(I)V
1: aload 1
ifnull 7
2: aload 1
invokevirtual org.antlr.runtime.tree.CommonTree.getTokenStartIndex:()I
istore 3
start local 3 3: aload 1
invokevirtual org.antlr.runtime.tree.CommonTree.getTokenStopIndex:()I
istore 4
start local 4 4: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.tokens:Lorg/antlr/runtime/TokenStream;
iload 3
invokeinterface org.antlr.runtime.TokenStream.get:(I)Lorg/antlr/runtime/Token;
checkcast org.antlr.runtime.CommonToken
invokevirtual org.antlr.runtime.CommonToken.getStartIndex:()I
istore 5
start local 5 5: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.tokens:Lorg/antlr/runtime/TokenStream;
iload 4
invokeinterface org.antlr.runtime.TokenStream.get:(I)Lorg/antlr/runtime/Token;
checkcast org.antlr.runtime.CommonToken
invokevirtual org.antlr.runtime.CommonToken.getStopIndex:()I
istore 6
start local 6 6: iload 5
iflt 7
iload 6
iflt 7
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.sourceMap:[Lorg/stringtemplate/v4/misc/Interval;
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
new org.stringtemplate.v4.misc.Interval
dup
iload 5
iload 6
invokespecial org.stringtemplate.v4.misc.Interval.<init>:(II)V
aastore
end local 6 end local 5 end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
aload 0
dup
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
dup_x1
iconst_1
iadd
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iload 2
i2b
bastore
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 9 1 opAST Lorg/antlr/runtime/tree/CommonTree;
0 9 2 opcode S
3 7 3 i I
4 7 4 j I
5 7 5 p I
6 7 6 q I
MethodParameters:
Name Flags
opAST
opcode
public void emit1(org.antlr.runtime.tree.CommonTree, short, int);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;SI)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
aload 1
iload 2
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit:(Lorg/antlr/runtime/tree/CommonTree;S)V
1: aload 0
iconst_2
invokevirtual org.stringtemplate.v4.compiler.CompilationState.ensureCapacity:(I)V
2: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iload 3
i2s
invokestatic org.stringtemplate.v4.compiler.CompilationState.writeShort:([BIS)V
3: aload 0
dup
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iconst_2
iadd
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
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/stringtemplate/v4/compiler/CompilationState;
0 5 1 opAST Lorg/antlr/runtime/tree/CommonTree;
0 5 2 opcode S
0 5 3 arg I
MethodParameters:
Name Flags
opAST
opcode
arg
public void emit2(org.antlr.runtime.tree.CommonTree, short, int, int);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;SII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit:(Lorg/antlr/runtime/tree/CommonTree;S)V
1: aload 0
iconst_4
invokevirtual org.stringtemplate.v4.compiler.CompilationState.ensureCapacity:(I)V
2: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iload 3
i2s
invokestatic org.stringtemplate.v4.compiler.CompilationState.writeShort:([BIS)V
3: aload 0
dup
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iconst_2
iadd
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
4: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iload 4
i2s
invokestatic org.stringtemplate.v4.compiler.CompilationState.writeShort:([BIS)V
5: aload 0
dup
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iconst_2
iadd
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 7 1 opAST Lorg/antlr/runtime/tree/CommonTree;
0 7 2 opcode S
0 7 3 arg I
0 7 4 arg2 I
MethodParameters:
Name Flags
opAST
opcode
arg
arg2
public void emit2(org.antlr.runtime.tree.CommonTree, short, java.lang.String, int);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;SLjava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
invokevirtual org.stringtemplate.v4.compiler.CompilationState.defineString:(Ljava/lang/String;)I
istore 5
start local 5 1: aload 0
aload 1
iload 2
iload 5
iload 4
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit2:(Lorg/antlr/runtime/tree/CommonTree;SII)V
2: 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 3 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 3 1 opAST Lorg/antlr/runtime/tree/CommonTree;
0 3 2 opcode S
0 3 3 s Ljava/lang/String;
0 3 4 arg2 I
1 3 5 i I
MethodParameters:
Name Flags
opAST
opcode
s
arg2
public void emit1(org.antlr.runtime.tree.CommonTree, short, java.lang.String);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;SLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokevirtual org.stringtemplate.v4.compiler.CompilationState.defineString:(Ljava/lang/String;)I
istore 4
start local 4 1: aload 0
aload 1
iload 2
iload 4
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit1:(Lorg/antlr/runtime/tree/CommonTree;SI)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 3 1 opAST Lorg/antlr/runtime/tree/CommonTree;
0 3 2 opcode S
0 3 3 s Ljava/lang/String;
1 3 4 i I
MethodParameters:
Name Flags
opAST
opcode
s
public void insert(int, short, java.lang.String);
descriptor: (ISLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_3
invokevirtual org.stringtemplate.v4.compiler.CompilationState.ensureCapacity:(I)V
1: iconst_3
istore 4
start local 4 2: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iload 1
3: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iload 1
iload 4
iadd
4: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iload 1
isub
5: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
istore 5
start local 5 7: aload 0
iload 1
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
8: aload 0
aconst_null
iload 2
aload 3
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit1:(Lorg/antlr/runtime/tree/CommonTree;SLjava/lang/String;)V
9: aload 0
iload 5
iload 4
iadd
putfield org.stringtemplate.v4.compiler.CompilationState.ip:I
10: iload 1
iload 4
iadd
istore 6
start local 6 11: goto 18
12: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iload 6
baload
istore 7
start local 7 13: getstatic org.stringtemplate.v4.compiler.Bytecode.instructions:[Lorg/stringtemplate/v4/compiler/Bytecode$Instruction;
iload 7
aaload
astore 8
start local 8 14: iload 7
bipush 18
if_icmpeq 15
iload 7
bipush 19
if_icmpne 17
15: StackMap locals: int org.stringtemplate.v4.compiler.Bytecode$Instruction
StackMap stack:
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iload 6
iconst_1
iadd
invokestatic org.stringtemplate.v4.compiler.BytecodeDisassembler.getShort:([BI)I
istore 9
start local 9 16: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iload 6
iconst_1
iadd
iload 9
iload 4
iadd
i2s
invokestatic org.stringtemplate.v4.compiler.CompilationState.writeShort:([BIS)V
end local 9 17: StackMap locals:
StackMap stack:
iload 6
aload 8
getfield org.stringtemplate.v4.compiler.Bytecode$Instruction.nopnds:I
iconst_2
imul
iconst_1
iadd
iadd
istore 6
end local 8 end local 7 18: StackMap locals:
StackMap stack:
iload 6
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
if_icmplt 12
19: return
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 20 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 20 1 addr I
0 20 2 opcode S
0 20 3 s Ljava/lang/String;
2 20 4 instrSize I
7 20 5 save I
11 20 6 a I
13 18 7 op B
14 18 8 I Lorg/stringtemplate/v4/compiler/Bytecode$Instruction;
16 17 9 opnd I
MethodParameters:
Name Flags
addr
opcode
s
public void write(int, short);
descriptor: (IS)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.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iload 1
iload 2
invokestatic org.stringtemplate.v4.compiler.CompilationState.writeShort:([BIS)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 2 1 addr I
0 2 2 value S
MethodParameters:
Name Flags
addr
value
protected void ensureCapacity(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.ip:I
iload 1
iadd
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
arraylength
if_icmplt 7
1: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
arraylength
iconst_2
imul
newarray 8
astore 2
start local 2 2: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
iconst_0
aload 2
iconst_0
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
aload 2
putfield org.stringtemplate.v4.compiler.CompiledST.instrs:[B
4: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.sourceMap:[Lorg/stringtemplate/v4/misc/Interval;
arraylength
iconst_2
imul
anewarray org.stringtemplate.v4.misc.Interval
astore 3
start local 3 5: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.sourceMap:[Lorg/stringtemplate/v4/misc/Interval;
iconst_0
aload 3
iconst_0
aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
getfield org.stringtemplate.v4.compiler.CompiledST.sourceMap:[Lorg/stringtemplate/v4/misc/Interval;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
getfield org.stringtemplate.v4.compiler.CompilationState.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
aload 3
putfield org.stringtemplate.v4.compiler.CompiledST.sourceMap:[Lorg/stringtemplate/v4/misc/Interval;
end local 3 end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 8 1 n I
2 7 2 c [B
5 7 3 sm [Lorg/stringtemplate/v4/misc/Interval;
MethodParameters:
Name Flags
n
public void indent(org.antlr.runtime.tree.CommonTree);
descriptor: (Lorg/antlr/runtime/tree/CommonTree;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 39
aload 1
invokevirtual org.antlr.runtime.tree.CommonTree.getText:()Ljava/lang/String;
invokevirtual org.stringtemplate.v4.compiler.CompilationState.emit1:(Lorg/antlr/runtime/tree/CommonTree;SLjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/stringtemplate/v4/compiler/CompilationState;
0 2 1 indent Lorg/antlr/runtime/tree/CommonTree;
MethodParameters:
Name Flags
indent
public static void writeShort(byte[], int, short);
descriptor: ([BIS)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_0
iadd
iload 2
bipush 8
ishr
sipush 255
iand
i2b
bastore
1: aload 0
iload 1
iconst_1
iadd
iload 2
sipush 255
iand
i2b
bastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 memory [B
0 3 1 index I
0 3 2 value S
MethodParameters:
Name Flags
memory
index
value
}
SourceFile: "CompilationState.java"
InnerClasses:
public final Option = org.stringtemplate.v4.Interpreter$Option of org.stringtemplate.v4.Interpreter
public Instruction = org.stringtemplate.v4.compiler.Bytecode$Instruction of org.stringtemplate.v4.compiler.Bytecode