org.stringtemplate.v4.compiler
Class BytecodeDisassembler

java.lang.Object
  extended by org.stringtemplate.v4.compiler.BytecodeDisassembler

public class BytecodeDisassembler
extends Object


Constructor Summary
BytecodeDisassembler(CompiledST code)
           
 
Method Summary
 String disassemble()
           
 int disassembleInstruction(StringBuilder buf, int ip)
           
static int getShort(byte[] memory, int index)
           
 String instrs()
           
 String sourceMap()
           
 String strings()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytecodeDisassembler

public BytecodeDisassembler(CompiledST code)
Method Detail

instrs

public String instrs()

disassemble

public String disassemble()

disassembleInstruction

public int disassembleInstruction(StringBuilder buf,
                                  int ip)

getShort

public static int getShort(byte[] memory,
                           int index)

strings

public String strings()

sourceMap

public String sourceMap()


Copyright © 2011. All Rights Reserved.