StarOffice 5.2 API
reverse engineered by classdoc

stardiv.js.ip
Class CodeBlock

java.lang.Object
  |
  +--stardiv.js.ip.CodeBlock

public synchronized class CodeBlock
extends java.lang.Object


Field Summary
(package private)  stardiv.js.base.IdentifierPool aIdentPool
           
private  boolean bSourcePCode
           
private  int iCodeInc
           
private  int iCodePos
           
private  int iDoublePos
           
private  int iIntPos
           
(package private)  int iMaxStackIndex
           
private  int iObjectPos
           
private  int iPoolInc
           
(package private)  int iStackIndex
           
private  stardiv.memory.Vector pBreakPointArr
           
(package private)  byte[] pCodes
           
(package private)  double[] pDoubles
           
(package private)  int[] pInts
           
(package private)  java.lang.Object[] pObjects
           
private  stardiv.memory.Vector pStmtStartArr
           
private  java.lang.String sSourceCode
           
 
Constructor Summary
CodeBlock(stardiv.js.base.IdentifierPool ip, int i1, int i2, int i3, int i4, java.lang.String s)
           
CodeBlock(stardiv.js.base.IdentifierPool ip, java.lang.String s)
           
 
Method Summary
 void clearAllBreakPoints()
           
 void clearBreakPoint(int i)
           
 java.lang.String dump()
           
 java.lang.String dump(int i)
           
 java.lang.String dump(int i, java.awt.Point[] p)
           
 void enableSourcePCode(boolean b)
           
private  void expandCodeArray()
           
private  void expandDoubleArray()
           
private  void expandIntArray()
           
private  void expandObjectArray()
           
 void genIdentParamCode(byte b, java.lang.String s)
           
private  void genIndexCode(byte b, int i)
           
 void genIntParamCode(byte b, int i)
           
 int genJmpCode(byte b, int i)
           
private  void genLongIndex(int i)
           
 void genMissingCode(java.lang.Object o)
           
 void genNoParamCode(byte b)
           
private  void genObjectArrayPCode(java.lang.Object o, byte b)
           
 void genObjectPCode(stardiv.js.ip.PCode pc)
           
 void genPushBool(boolean b)
           
 void genPushDouble(double d)
           
 void genPushEmpty()
           
 void genPushInt(int i)
           
 void genPushNull()
           
 void genPushString(java.lang.String s)
           
 void genSourcePCode(java.lang.String s)
           
private  stardiv.js.ip.DbgInfo getBreakPoint(int i)
           
 byte getBreakPointRealCode(int i)
           
private  stardiv.js.ip.DbgInfo getInfoForExactPos(int i)
           
private  stardiv.js.ip.DbgInfo getInfoForPos(int i)
           
(package private) static java.lang.String getIntAsHex(int i1, int i2)
           
private static java.lang.String getLabelString(int i)
           
 int getMaxStackIndex()
           
(package private)  byte[] getPCodeArray()
           
 java.lang.String getSourceCode()
           
 int getStackIndex()
           
 java.lang.Object getStmtInfo(int i)
           
 stardiv.memory.Vector getStmtStartArray()
           
 int getWritePos()
           
 boolean isBreakPoint(int i)
           
 boolean isStmtStart(int i)
           
 void setBreakPoint(int i)
           
 void setJmpTarget(int i1, int i2)
           
 void setStmtStartInfo(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aIdentPool

stardiv.js.base.IdentifierPool aIdentPool

bSourcePCode

private boolean bSourcePCode

iCodeInc

private int iCodeInc

iCodePos

private int iCodePos

iDoublePos

private int iDoublePos

iIntPos

private int iIntPos

iMaxStackIndex

int iMaxStackIndex

iObjectPos

private int iObjectPos

iPoolInc

private int iPoolInc

iStackIndex

int iStackIndex

pBreakPointArr

private stardiv.memory.Vector pBreakPointArr

pCodes

byte[] pCodes

pDoubles

double[] pDoubles

pInts

int[] pInts

pObjects

java.lang.Object[] pObjects

pStmtStartArr

private stardiv.memory.Vector pStmtStartArr

sSourceCode

private java.lang.String sSourceCode
Constructor Detail

CodeBlock

public CodeBlock(stardiv.js.base.IdentifierPool ip,
                 int i1,
                 int i2,
                 int i3,
                 int i4,
                 java.lang.String s)
          throws java.lang.IllegalArgumentException

CodeBlock

public CodeBlock(stardiv.js.base.IdentifierPool ip,
                 java.lang.String s)
Method Detail

clearAllBreakPoints

public final void clearAllBreakPoints()

clearBreakPoint

public final void clearBreakPoint(int i)

dump

public final java.lang.String dump()

dump

public final java.lang.String dump(int i)

dump

public final java.lang.String dump(int i,
                                   java.awt.Point[] p)

enableSourcePCode

public final void enableSourcePCode(boolean b)

expandCodeArray

private final void expandCodeArray()

expandDoubleArray

private final void expandDoubleArray()

expandIntArray

private final void expandIntArray()

expandObjectArray

private final void expandObjectArray()

genIdentParamCode

public final void genIdentParamCode(byte b,
                                    java.lang.String s)

genIndexCode

private final void genIndexCode(byte b,
                                int i)

genIntParamCode

public final void genIntParamCode(byte b,
                                  int i)

genJmpCode

public final int genJmpCode(byte b,
                            int i)

genLongIndex

private final void genLongIndex(int i)

genMissingCode

public final void genMissingCode(java.lang.Object o)

genNoParamCode

public final void genNoParamCode(byte b)

genObjectArrayPCode

private final void genObjectArrayPCode(java.lang.Object o,
                                       byte b)

genObjectPCode

public final void genObjectPCode(stardiv.js.ip.PCode pc)

genPushBool

public final void genPushBool(boolean b)

genPushDouble

public final void genPushDouble(double d)

genPushEmpty

public final void genPushEmpty()

genPushInt

public final void genPushInt(int i)

genPushNull

public final void genPushNull()

genPushString

public final void genPushString(java.lang.String s)

genSourcePCode

public final void genSourcePCode(java.lang.String s)

getBreakPoint

private final stardiv.js.ip.DbgInfo getBreakPoint(int i)

getBreakPointRealCode

public final byte getBreakPointRealCode(int i)

getInfoForExactPos

private final stardiv.js.ip.DbgInfo getInfoForExactPos(int i)

getInfoForPos

private final stardiv.js.ip.DbgInfo getInfoForPos(int i)

getIntAsHex

static final java.lang.String getIntAsHex(int i1,
                                          int i2)

getLabelString

private static final java.lang.String getLabelString(int i)

getMaxStackIndex

public int getMaxStackIndex()

getPCodeArray

byte[] getPCodeArray()

getSourceCode

public final java.lang.String getSourceCode()

getStackIndex

public int getStackIndex()

getStmtInfo

public final java.lang.Object getStmtInfo(int i)

getStmtStartArray

public stardiv.memory.Vector getStmtStartArray()

getWritePos

public final int getWritePos()

isBreakPoint

public final boolean isBreakPoint(int i)

isStmtStart

public final boolean isStmtStart(int i)

setBreakPoint

public final void setBreakPoint(int i)

setJmpTarget

public final void setJmpTarget(int i1,
                               int i2)

setStmtStartInfo

public final void setStmtStartInfo(java.lang.Object o)

StarOffice 5.2 API
reverse engineered by classdoc