A B C D E F G I L M O P R S T U V

A

asm_binary_param(int) - Method in class gnu.jel.ExpressionImage
Denotes that the first parameter for the given binary OP is now in stack.
asm_binary(int) - Method in class gnu.jel.ExpressionImage
Generates code to perform given binary operation.
asm_branch_end() - Method in class gnu.jel.ExpressionImage
Finishes generation of code for conditional.
asm_branch_start_false() - Method in class gnu.jel.ExpressionImage
Continues generation of code for conditional.
asm_branch_start_true() - Method in class gnu.jel.ExpressionImage
Starts generation of code for conditional.
asm_convert(Class) - Method in class gnu.jel.ExpressionImage
Converts current top of the java stack to the given class type.
asm_func_call() - Method in class gnu.jel.ExpressionImage
Finishes generation of call to a function.
asm_func_param() - Method in class gnu.jel.ExpressionImage
Denotes that the next parameter for the current function is now in stack.
asm_func_start(Method, int) - Method in class gnu.jel.ExpressionImage
Starts generation of code for the method call.
asm_get_array_element() - Method in class gnu.jel.ExpressionImage
Generates code for loading an element from the array.
asm_load_field(Field, int) - Method in class gnu.jel.ExpressionImage
Generates code for loading of a field value to the stack.
asm_load_object(Object) - Method in class gnu.jel.ExpressionImage
Generates code to load given object constant into Java stack.
asm_load_primitive(Object) - Method in class gnu.jel.ExpressionImage
Generates code to load given constant of a primitive type.
asm_logical_binary_param(int) - Method in class gnu.jel.ExpressionImage
Denotes the first parameter for the given logical binary OP is now in stack.
asm_logical_binary(int) - Method in class gnu.jel.ExpressionImage
Generates code to perform given logical binary operation.
asm_logical_block() - Method in class gnu.jel.ExpressionImage
This function starts a group of logical subexpressions.
asm_logical_unblock_not() - Method in class gnu.jel.ExpressionImage
This function finishes a group of logical subexpressions with inversion.
asm_return() - Method in class gnu.jel.ExpressionImage
Finishes construction of expression by generating code to return a value.
asm_throw_return() - Method in class gnu.jel.ExpressionImage
Finishes construction of expression by generating code to throw exception.
asm_unary(int) - Method in class gnu.jel.ExpressionImage
Generates code to perform given unary operation on the value in stack.
assert(boolean) - Static method in class gnu.jel.debug.Debug
Checks for the condition.
assert(boolean, String) - Static method in class gnu.jel.debug.Debug
Checks for the condition.

B

BI_AN - Static variable in class gnu.jel.ExpressionImage
Denotes the AND binary operation.
BI_DI - Static variable in class gnu.jel.ExpressionImage
Denotes the DIVIDE binary operation.
BI_EQ - Static variable in class gnu.jel.ExpressionImage
Denotes binary comparizon for equality
BI_GE - Static variable in class gnu.jel.ExpressionImage
Denotes binary comparizon for "greater or equal"
BI_GT - Static variable in class gnu.jel.ExpressionImage
Denotes binary comparizon for "greater"
BI_LE - Static variable in class gnu.jel.ExpressionImage
Denotes binary comparizon for "less or equal"
BI_LS - Static variable in class gnu.jel.ExpressionImage
Denotes binary left shift
BI_LT - Static variable in class gnu.jel.ExpressionImage
Denotes binary comparizon for "less"
BI_MI - Static variable in class gnu.jel.ExpressionImage
Denotes the MINUS binary operation.
BI_MU - Static variable in class gnu.jel.ExpressionImage
Denotes the MULTIPLY binary operation.
BI_NE - Static variable in class gnu.jel.ExpressionImage
Denotes binary comparizon for inequality
BI_OR - Static variable in class gnu.jel.ExpressionImage
Denotes the OR binary operation.
BI_PL - Static variable in class gnu.jel.ExpressionImage
Denotes the PLUS binary operation.
BI_RE - Static variable in class gnu.jel.ExpressionImage
Denotes the REMAINDER binary operation.
BI_RSS - Static variable in class gnu.jel.ExpressionImage
Denotes binary right signed shift
BI_RUS - Static variable in class gnu.jel.ExpressionImage
Denotes binary right unsigned shift
BI_XO - Static variable in class gnu.jel.ExpressionImage
Denotes the XOR binary operation.
binaryNames - Static variable in class gnu.jel.ExpressionImage
Names of binary operations by ID in the readable form.
binaryOP_param() - Method in class gnu.jel.Optimizer
Specifies that the parameter for the binary operation is now in stack.
binaryOP(int, boolean) - Method in class gnu.jel.Optimizer
Generates a binary operation.
binarySymbols - Static variable in class gnu.jel.ExpressionImage
Symbols of binary operations by ID in the readable form.

C

canConvert(Class, Class) - Static method in class gnu.jel.ExpressionImage
Tests is this assembler can generate code to convert from from one type to another even with possible loss of the information.
canConvertByWidening(Class, Class) - Static method in class gnu.jel.ExpressionImage
Tests is this assembler can generate code to convert from from one type to another without loss of the information.
canGenerateBinary(int, Class, Class) - Static method in class gnu.jel.ExpressionImage
Used to test if this assembler can generate given binary operation.
canGenerateUnary(int, Class) - Static method in class gnu.jel.ExpressionImage
Used to test if this assembler can generate given unary operation.
charAt(String, int) - Static method in class gnu.jel.StringLib
 
code - Variable in class gnu.jel.Optimizer
Double linked list of operations in this expression.
compare(byte[], byte[]) - Method in class gnu.jel.debug.Tester
 
compare(int, int) - Method in class gnu.jel.debug.Tester
 
compare(String, String) - Method in class gnu.jel.debug.Tester
 
compareTo(String, String) - Static method in class gnu.jel.StringLib
 
CompilationException - exception gnu.jel.CompilationException.
 
CompilationException(int, String) - Constructor for class gnu.jel.CompilationException
 
CompilationException(ParseException) - Constructor for class gnu.jel.CompilationException
 
CompilationException(TokenMgrError) - Constructor for class gnu.jel.CompilationException
 
CompilationException(Token, String) - Constructor for class gnu.jel.CompilationException
 
compile() - Method in class gnu.jel.Optimizer
Compiles the expression.
compile(String, Library) - Static method in class gnu.jel.Evaluator
Compiles expression, resolving the function names in the library.
compile(String, Library, Class) - Static method in class gnu.jel.Evaluator
Compiles expression, resolving the function names in the library.
compileBits() - Method in class gnu.jel.Optimizer
Compiles the expression into an ExpressionBits object.
compileBits(String, Library) - Static method in class gnu.jel.Evaluator
Compiles expression, resolving the function names in the library.
compileBits(String, Library, Class) - Static method in class gnu.jel.Evaluator
Compiles expression, resolving the function names in the library.
CompiledExpression - class gnu.jel.CompiledExpression.
The superclass of every compiled expression.
CompiledExpression() - Constructor for class gnu.jel.CompiledExpression
 
concat(String, String) - Static method in class gnu.jel.StringLib
 
conditional_end() - Method in class gnu.jel.Optimizer
Finishes generation of conditional ?: .
conditional_false() - Method in class gnu.jel.Optimizer
Continues generation of conditional ?: .
conditional_true() - Method in class gnu.jel.Optimizer
Starts generation of conditional ?: .
convert(Class) - Method in class gnu.jel.Optimizer
Generates an explicit type conversion operation.
convert(Class, boolean) - Method in class gnu.jel.Optimizer
Generates an explicit type conversion operation.

D

Debug - class gnu.jel.debug.Debug.
This class used for incorporating internal checks and assertions into the code.
Debug() - Constructor for class gnu.jel.debug.Debug
 

E

enabled - Static variable in class gnu.jel.debug.Debug
Determines if debugging is enabled in current compilation.
endsWith(String, String) - Static method in class gnu.jel.StringLib
 
equals(String, Object) - Static method in class gnu.jel.StringLib
 
evaluate_boolean(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type boolean.
evaluate_byte(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type byte.
evaluate_char(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type char.
evaluate_double(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type double.
evaluate_float(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type float.
evaluate_int(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type int.
evaluate_long(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type long.
evaluate_short(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression whose result has type short.
evaluate(Object[]) - Method in class gnu.jel.CompiledExpression
Evaluates the expression, representing result as an object.
Evaluator - class gnu.jel.Evaluator.
This is the main front end to JEL.
Evaluator() - Constructor for class gnu.jel.Evaluator
 
ExpressionBits - class gnu.jel.ExpressionBits.
This class handles storage of compiled expressions, their instantiation and naming.
ExpressionImage - class gnu.jel.ExpressionImage.
This class is responsible for generating valid Java class files based on a sequence of calls to it's methods (asm_XXXX family of methods).
ExpressionImage() - Constructor for class gnu.jel.ExpressionImage
Constructs and initializes empty expression image.

F

finish() - Method in class gnu.jel.Optimizer
Finishes the function.
function_call(String) - Method in class gnu.jel.Optimizer
Generates the function call.
function_param() - Method in class gnu.jel.Optimizer
Specifies that the parameter for the function is now in stack.
function_start() - Method in class gnu.jel.Optimizer
Denotes the start of the function call.

G

getBinaryPromoted(Class, Class) - Static method in class gnu.jel.ExpressionImage
Performs binary numeric promotion of types.
getBits() - Method in class gnu.jel.ExpressionImage
Returns compiled expression represented by ExpressionBits object.
getColumn() - Method in class gnu.jel.CompilationException
 
getExpression() - Method in class gnu.jel.ExpressionBits
Constructs a new instance of the CompiledExpression subclass from these bits.
getExpression() - Method in class gnu.jel.ExpressionImage
Constructs a new instance of this expression.
getImage() - Method in class gnu.jel.ExpressionBits
Used to get the binary image of the class.
getImage() - Method in class gnu.jel.ExpressionImage
Used to get the binary image of the class.
getSignature(Class) - Static method in class gnu.jel.ExpressionImage
Computes the signature of the given class.
getSignature(Constructor) - Static method in class gnu.jel.ExpressionImage
Computes signature of the given constructor.
getSignature(Method) - Static method in class gnu.jel.ExpressionImage
Computes signature of the given method.
getType() - Method in class gnu.jel.CompiledExpression
Returns type of the expression result.
getUnaryPromoted(Class) - Static method in class gnu.jel.ExpressionImage
Performs unary numeric promotion of types.
gnu.jel - package gnu.jel
 
gnu.jel.debug - package gnu.jel.debug
 

I

indexOf(String, int) - Static method in class gnu.jel.StringLib
 
indexOf(String, int, int) - Static method in class gnu.jel.StringLib
 
indexOf(String, String) - Static method in class gnu.jel.StringLib
 
indexOf(String, String, int) - Static method in class gnu.jel.StringLib
 
intern(String) - Static method in class gnu.jel.StringLib
 
isPromotionBinary(int) - Static method in class gnu.jel.ExpressionImage
Checks if the binary numeric promotion is required for the operation.
isStateless(Object) - Method in class gnu.jel.Library
Used to check if the given method is stateless.

L

lastIndexOf(String, int) - Static method in class gnu.jel.StringLib
 
lastIndexOf(String, int, int) - Static method in class gnu.jel.StringLib
 
lastIndexOf(String, String) - Static method in class gnu.jel.StringLib
 
lastIndexOf(String, String, int) - Static method in class gnu.jel.StringLib
 
length(String) - Static method in class gnu.jel.StringLib
 
Library - class gnu.jel.Library.
A Library of the methods, callable from compiled expressions.
Library(Class[], Class[]) - Constructor for class gnu.jel.Library
Creates a library for JEL.
load_array_param() - Method in class gnu.jel.Optimizer
Begins generation of the "load array element" operation.
load_array() - Method in class gnu.jel.Optimizer
Generates a "load array element" operation.
load(boolean) - Method in class gnu.jel.Optimizer
Generates a "load boolean constant" operation.
load(byte) - Method in class gnu.jel.Optimizer
Generates a "load byte constant" operation.
load(char) - Method in class gnu.jel.Optimizer
Generates a "load char constant" operation.
load(double) - Method in class gnu.jel.Optimizer
Generates a "load double constant" operation.
load(float) - Method in class gnu.jel.Optimizer
Generates a "load float constant" operation.
load(int) - Method in class gnu.jel.Optimizer
Generates a "load int constant" operation.
load(long) - Method in class gnu.jel.Optimizer
Generates a "load long constant" operation.
load(short) - Method in class gnu.jel.Optimizer
Generates a "load short constant" operation.
load(String) - Method in class gnu.jel.Optimizer
Generates a "load String constant" operation.
LOG_AN - Static variable in class gnu.jel.ExpressionImage
Denotes logical conjunction operator
LOG_NO - Static variable in class gnu.jel.ExpressionImage
Denotes logical complement operator
LOG_OR - Static variable in class gnu.jel.ExpressionImage
Denotes logical disjunction operator
logical_not_start() - Method in class gnu.jel.Optimizer
Denotes start of group of logical operators whose result should be inverted.
logical_not() - Method in class gnu.jel.Optimizer
Inverts result of group of logical operators.
logicalNames - Static variable in class gnu.jel.ExpressionImage
Names of logical operations by ID in the readable form.
logicalSymbols - Static variable in class gnu.jel.ExpressionImage
Symbols of logical operations by ID in the readable form.

M

main(String[]) - Static method in class gnu.jel.Library
Performs unitary test of the library.
main(String[]) - Static method in class gnu.jel.Optimizer
Performs unitary test of the interpreter.
main(String[]) - Static method in class gnu.jel.ExpressionImage
Performs unitary test of the code generator.
main(String[]) - Static method in class gnu.jel.debug.Tester
 
markStateDependent(String, Class[]) - Method in class gnu.jel.Library
This function is itended for marking static function as having the internal state.

O

optimize(int) - Method in class gnu.jel.Optimizer
Optimizes the function.
optimizeIteration(OPlist) - Static method in class gnu.jel.Optimizer
Performs one optimization pass on the given list of operations.
Optimizer - class gnu.jel.Optimizer.
This class handles storage of the expressions automatic widening type conversions and optimizations.
Optimizer(Library) - Constructor for class gnu.jel.Optimizer
Constructs the new "empty" optimizer with the library specified.

P

primitiveTypeNames - Static variable in class gnu.jel.ExpressionImage
Names of the primitive types by ID in readable form.
primitiveTypes - Static variable in class gnu.jel.ExpressionImage
Classes of the primitive types by ID
printHexLine16(PrintWriter, byte[], int) - Method in class gnu.jel.debug.Tester
 
println(String) - Static method in class gnu.jel.debug.Debug
Prints a line of the debug output.

R

regionMatches(boolean, String, int, String, int, int) - Static method in class gnu.jel.StringLib
 
regionMatches(String, int, String, int, int) - Static method in class gnu.jel.StringLib
 
replace(String, char, char) - Static method in class gnu.jel.StringLib
 
reportThrowable(Throwable) - Static method in class gnu.jel.debug.Debug
Reports an exception, which should not occur(i.e.
reportThrowable(Throwable, String) - Static method in class gnu.jel.debug.Debug
Reports an exception, which should not occur(i.e.

S

startsWith(String, String) - Static method in class gnu.jel.StringLib
 
startsWith(String, String, int) - Static method in class gnu.jel.StringLib
 
startTest(String) - Method in class gnu.jel.debug.Tester
 
StringLib - class gnu.jel.StringLib.
String manipulation library for JEL.
StringLib() - Constructor for class gnu.jel.StringLib
 
substring(String, int) - Static method in class gnu.jel.StringLib
 
substring(String, int, int) - Static method in class gnu.jel.StringLib
 
summarize() - Method in class gnu.jel.debug.Tester
 

T

test(Tester) - Static method in class gnu.jel.Library
Performs unitary test of the library.
test(Tester) - Static method in class gnu.jel.Optimizer
Performs unitary test of the interpreter.
test(Tester) - Static method in class gnu.jel.ExpressionImage
Performs unitary test of the code generator.
Tester - class gnu.jel.debug.Tester.
 
Tester(OutputStream) - Constructor for class gnu.jel.debug.Tester
 
testFail() - Method in class gnu.jel.debug.Tester
 
testFailProgressing() - Method in class gnu.jel.debug.Tester
 
testOK() - Method in class gnu.jel.debug.Tester
 
toLowerCase(String) - Static method in class gnu.jel.StringLib
 
toString() - Method in class gnu.jel.Optimizer
Represents the expression, contained in this optimizer as String.
toUpperCase(String) - Static method in class gnu.jel.StringLib
 
trim(String) - Static method in class gnu.jel.StringLib
 

U

UN_NE - Static variable in class gnu.jel.ExpressionImage
Denotes the unary NEGATION operation.
UN_NO - Static variable in class gnu.jel.ExpressionImage
Denotes the unary bitwise complement operation.
unary(int) - Method in class gnu.jel.Optimizer
Generates an unary operation.
unaryNames - Static variable in class gnu.jel.ExpressionImage
Names of unary operations by ID in the readable form.
unarySymbols - Static variable in class gnu.jel.ExpressionImage
Symbols of unary operations by ID in the readable form.

V

valueOf(boolean) - Static method in class gnu.jel.StringLib
 
valueOf(char) - Static method in class gnu.jel.StringLib
 
valueOf(double) - Static method in class gnu.jel.StringLib
 
valueOf(float) - Static method in class gnu.jel.StringLib
 
valueOf(int) - Static method in class gnu.jel.StringLib
 
valueOf(long) - Static method in class gnu.jel.StringLib
 
valueOf(Object) - Static method in class gnu.jel.StringLib
 

A B C D E F G I L M O P R S T U V