Uses of Class
com.joanju.cg.bytecode.Bytecode

Packages that use Bytecode
com.joanju.cg.bytecode   
com.joanju.cg.compileunit   
com.joanju.cg.db   
 

Uses of Bytecode in com.joanju.cg.bytecode
 

Subclasses of Bytecode in com.joanju.cg.bytecode
 class AbstractCall
           
 class AddsnsuperInstr
           
 class AddsuperInstr
           
 class Assignment
          Represents an assignment of an r-value to an l-value.
 class BuiltinfuncInstr
          Built-in functions (and operators).
 class CallinInstr
          Represents any IN HANDLE type of call.
 class CallInstr
          Records a RUN statement, a call to a user function, or a call to a method.
 class CallsuperInstr
           
 class CheckvalsInstr
           
 class CompileunitInstr
           
 class DecleventInstr
           
 class DeclsnsupInstr
           
 class DefglobalInstr
          Record of a global variable.
 class DefInstr
          Record of some sort of assignment to an l-value.
 class DefsharedInstr
           
 class DefvarInstr
           
 class Endpoint
          Call and Procedure instructions are Endpoints.
 class GetsharedInstr
           
 class LiteralnumInstr
          Not currently used.
 class LiteralstrInstr
           
 class PopInstr
           
 class ProcedureInstr
           
 class PublishInstr
          Not yet implemented.
 class PushInstr
          Used at call sites for passing values as arguments.
 class PushonretInstr
          Used in a procedure for OUTPUT and INPUT-OUTPUT parameters, and for the return value from functions and methods.
 class ReturnInstr
           
 class RetvalgetInstr
          Not currently used.
 class RetvalsetInstr
          Not yet implemented.
 class ScriptValsInstr
          Procedure names or handle values from a user script.
 class SubscribeInstr
          Not yet implemented.
 class SupersInstr
           
 class SyshandleInstr
          The built-in system handles for TARGET-PROCEDURE and SOURCE-PROCEDURE.
 class TriggerblockInstr
          Represents an ON trigger block in the source code.
 class UnknownvalInstr
          There is one of these in a fixed position in the compile unit's header, and it is referenced when the unknown value (?) is assigned to a variable.
 class UnresInstr
          There is one of these in a fixed position in the compile unit's header, and it is referenced where there is an expression whos value cannot be resolved.
 

Methods in com.joanju.cg.bytecode with type parameters of type Bytecode
static
<T extends Bytecode>
java.util.ArrayList<T>
Bytecode.sourcesForXrefTarget(int tgtCuid, int tgtAddr, T sampleObject)
          Get an ArrayList of Bytecode instructions of subtype T which are xref sources for the specified target.
 

Methods in com.joanju.cg.bytecode that return Bytecode
abstract  Bytecode Opcode.createInstr(int cu, int addr)
          Create a Bytecode instruction object of the appropriate subclass for this Opcode.
protected  Bytecode Bytecode.fetchInCu(int addr)
          Fetch a bytecode object for an address in this CU.
 

Methods in com.joanju.cg.bytecode with parameters of type Bytecode
 java.util.HashSet<java.lang.Integer> Bytecode.getValuesCalcLocal(Bytecode usedBy, InstructionSet instrs)
          Calculate local values.
 void BuiltinfuncInstr.stringConcat(Bytecode rval1, Bytecode rval2)
          Set the arguments for string concatenation.
 void BuiltinfuncInstr.substring(Bytecode stringSource, java.util.ArrayList<JPNode> funcArgs)
          Set the arguments for the SUBSTRING function.
 void BuiltinfuncInstr.ternaryIfOp(Bytecode rval1, Bytecode rval2)
          Set the arguments for the ternary IF operator.
 

Uses of Bytecode in com.joanju.cg.compileunit
 

Methods in com.joanju.cg.compileunit that return Bytecode
 Bytecode InstructionSet.get(int address)
           
 Bytecode InstructionSet.getThisProcedureExprInstr()
          For THIS-PROCEDURE as an r-value, just need an instruction which returns this CUID.
 Bytecode InstructionSet.remove(int address)
           
 Bytecode InstructionSet.stringLiteralInstruction(java.lang.String s)
          Get or create a LiteralstrInstr for the input string.
 

Methods in com.joanju.cg.compileunit that return types with arguments of type Bytecode
 java.util.TreeMap<java.lang.Integer,Bytecode> InstructionSet.getCopy()
           
 java.util.ArrayList<Bytecode> InstructionSet.getSortedList()
           
 

Methods in com.joanju.cg.compileunit with parameters of type Bytecode
 void InstructionSet.move(Bytecode bc, int newAddress)
           
 void InstructionSet.put(Bytecode bc)
           
 

Uses of Bytecode in com.joanju.cg.db
 

Methods in com.joanju.cg.db that return Bytecode
static Bytecode BytecodeTable.fetch(int cuid, int address)
          This does not populate the bytecode data field.
static Bytecode BytecodeTable.fetchWithData(int cuid, int address)
          Fetch the entire bytecode record, including the data in the bytes field.
 

Methods in com.joanju.cg.db that return types with arguments of type Bytecode
static java.util.TreeMap<java.lang.Integer,Bytecode> BytecodeTable.fetchAll(int cuid)
          Fetch all for a CU.
static java.util.TreeMap<java.lang.Integer,Bytecode> BytecodeTable.fetchAllWithData(int cuid)
          Fetch all for a CU, with data bytes.
 

Methods in com.joanju.cg.db with parameters of type Bytecode
static void BytecodeTable.insert(Bytecode bytecode)
          Store one Bytecode record.
static void BytecodeTable.updateData(Bytecode bytecode)
          Store changes to the parameters/data byte[] for an instruction that is already in the DB.
 

Method parameters in com.joanju.cg.db with type arguments of type Bytecode
static void BytecodeTable.insert(java.util.Collection<Bytecode> list)
          Store a collection of Bytecode objects into the database.
 



Copyright © 2008 Joanju Software. All Rights Reserved.