A B C F G I N P R S U V 
All Classes All Packages

A

addInstruction(Instruction) - Method in class bytecode.CodeProcedure
Adding a instruction.
addLocalVariable(String, CodeType) - Method in class bytecode.CodeProcedure
Adding a local variable (declaration) to the procedure.
addParameter(String, CodeType) - Method in class bytecode.CodeProcedure
 
addProcedure(String) - Method in class bytecode.CodeFile
Prepare for a procedure declaration and definition.
addStringConstant(String) - Method in class bytecode.CodeFile
Add a string constant.
addStringConstant(String) - Method in class bytecode.CodeProcedure
The method corresponds to the corresponding method in the code file, and indeed an invocation simply delegates the task to the method of the code file.
addStruct(String) - Method in class bytecode.CodeFile
Prepare the definition of a named record type (struct type).
addVariable(String) - Method in class bytecode.CodeFile
Prepare a global variable "declaration", i.e.
addVariable(String, CodeType) - Method in class bytecode.CodeStruct
Add a field to a record type and fix its type.

B

bytecode - package bytecode
 

C

CodeFile - Class in bytecode
An instance of this class is to contain a representation of the code of a complete program.
CodeFile() - Constructor for class bytecode.CodeFile
 
CodeProcedure - Class in bytecode
This class is conceptually analogous to the class CodeFile for the whole program (and to CodeStruct, responsible for records.
CodeProcedure(String, CodeType, CodeFile) - Constructor for class bytecode.CodeProcedure
The constructor gives back the initially (mostly) empty data structure to store the definition of a procedure.
CodeStruct - Class in bytecode
This class is conceptually analogous to the class CodeFile for the whole program (and to CodeProcedure, responsible for procedures).
CodeStruct(String) - Constructor for class bytecode.CodeStruct
This class is conceptually analogous to the class CodeFile for the whole program (and to CodeProcedure, responsible for procedures).

F

fieldNumber(String) - Method in class bytecode.CodeStruct
Determine the index (an integer) of a field of a struct.
fieldNumber(String, String) - Method in class bytecode.CodeFile
Look up the index of a record type.
fieldNumber(String, String) - Method in class bytecode.CodeProcedure
The method corresponds to the corresponding method in the code file, and indeed an invocation simply delegates the task to the method of the code file.
floatFromByteArray(byte[], int) - Static method in class bytecode.NumberConversion
 
floatToByteArray(byte[], int, float) - Static method in class bytecode.NumberConversion
 

G

getBytecode() - Method in class bytecode.CodeFile
Returning the resulting bytecode as the overall result of the byte code generation.
getBytecode() - Method in class bytecode.CodeProcedure
Extract the actual bytecode as an array of bytes.
getBytecode() - Method in class bytecode.CodeStruct
Returning the resulting bytecode of the struct.
getName() - Method in class bytecode.CodeProcedure
A simple get-ter method for the name of the procedure.
getName() - Method in class bytecode.CodeStruct
A simple get-ter method for the name of the struct.
globalVariableNumber(String) - Method in class bytecode.CodeFile
Determine the index (an integer) of a global variable declared earlier
globalVariableNumber(String) - Method in class bytecode.CodeProcedure
The method corresponds to the corresponding method in the code file, and indeed an invocation simply delegates the task to the method of the code file.

I

intFromByteArray(byte[], int) - Static method in class bytecode.NumberConversion
 
intToByteArray(byte[], int, int) - Static method in class bytecode.NumberConversion
 

N

NumberConversion - Class in bytecode
 
NumberConversion() - Constructor for class bytecode.NumberConversion
 

P

procedureNumber(String) - Method in class bytecode.CodeFile
Look up the index of a procedure.
procedureNumber(String) - Method in class bytecode.CodeProcedure
The method corresponds to the corresponding method in the code file, and indeed an invocation simply delegates the task to the method of the code file.

R

replaceInstruction(int, Instruction) - Method in class bytecode.CodeProcedure
Replacing an instruction at some place specified by its index.

S

setMain(String) - Method in class bytecode.CodeFile
Determine the "main" procedure
shortFromByteArray(byte[], int) - Static method in class bytecode.NumberConversion
 
shortToByteArray(byte[], int, short) - Static method in class bytecode.NumberConversion
 
structNumber(String) - Method in class bytecode.CodeFile
Look up the index of a record type.
structNumber(String) - Method in class bytecode.CodeProcedure
The method corresponds to the corresponding method in the code file, and indeed an invocation simply delegates the task to the method of the code file.

U

updateProcedure(CodeProcedure) - Method in class bytecode.CodeFile
Finalize the definition of a procedure (whose name has to be added before.
updateStruct(CodeStruct) - Method in class bytecode.CodeFile
Finalize the definition of a named record type (struct type), by providing the "code" object for the record type.
updateVariable(String, CodeType) - Method in class bytecode.CodeFile
Declare the type for a global variable (which must have been added before), Add a global variable "declaration".

V

variableNumber(String) - Method in class bytecode.CodeProcedure
Determine the index (an integer) of a local variable or procedure parameter declared earlier.
A B C F G I N P R S U V 
All Classes All Packages