Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
I
L
M
O
P
R
S
T
V
W
A
action(Event, Object)
- Method in class nl.bluering.
Calc2
this (deprecated) method is used by browsers with an old java environment.
actionPerformed(ActionEvent)
- Method in class nl.bluering.
Calc2
this method processes all events.
add(Bracket)
- Method in class nl.bluering.
OpLib
add(Expression)
- Method in class nl.bluering.
Expression
Adds an Expression to this class as a child.
add(Operator)
- Method in class nl.bluering.
OpLib
add(String, String, int, String)
- Method in class nl.bluering.
OpLib
aoverb(Operator, Operator)
- Static method in class nl.bluering.
Operator
aunderb(Operator, Operator)
- Static method in class nl.bluering.
Operator
B
Bracket
- class nl.bluering.
Bracket
.
this class can be used for telling the ExpParser you want him to recognize things like {a} and return them as accolade(a).
Bracket(String, String, String)
- Constructor for class nl.bluering.
Bracket
see descriptions of corresponding fields.
buffer(boolean)
- Method in class nl.bluering.
CoolFileHandle
buffer(true) enables buffering buffer(false) disables buffering.
C
Calc2
- class nl.bluering.
Calc2
.
this class implements a calculator using Expressions.
Calc2()
- Constructor for class nl.bluering.
Calc2
close()
- Method in class nl.bluering.
CoolFileHandle
closes the CFH.
close()
- Method in class nl.bluering.
ExpParser
close the CoolFileHandle.
CoolFileHandle
- class nl.bluering.
CoolFileHandle
.
A CoolFileHandle can be used to read files.
CoolFileHandle(File)
- Constructor for class nl.bluering.
CoolFileHandle
parses the given file.
CoolFileHandle(String)
- Constructor for class nl.bluering.
CoolFileHandle
creates a CFH for parsing the given string.
D
dump(ExpWriter)
- Method in class nl.bluering.
VarSpace
E
EOF()
- Method in class nl.bluering.
CoolFileHandle
ExpParser
- class nl.bluering.
ExpParser
.
this parser can read Expressions from Strings or files.
ExpParser(CoolFileHandle)
- Constructor for class nl.bluering.
ExpParser
you must first construct a CoolFileHandle to use an ExpPArser.
Expression
- class nl.bluering.
Expression
.
Expressions are simple trees.
Expression(Object, int)
- Constructor for class nl.bluering.
Expression
create an Expression with the object s and room for the given number of children.
ExpWriter
- class nl.bluering.
ExpWriter
.
This class provides the outputstream for writing Expressions
ExpWriter(File)
- Constructor for class nl.bluering.
ExpWriter
ExpWriter(TextArea)
- Constructor for class nl.bluering.
ExpWriter
ExpWriter(Writer)
- Constructor for class nl.bluering.
ExpWriter
Constructs the stream to the given java Writer
F
factory(String, String, int, String)
- Static method in class nl.bluering.
Operator
this is the method to construct Operators.
fitsunder(int)
- Method in class nl.bluering.
Operator
returns whether this Operator can be fitted under the given level.
fname
- Variable in class nl.bluering.
Bracket
String is the normal name of this bracket.
G
get()
- Method in class nl.bluering.
ExpParser
read an Expression from this ExpParser.
get(Expression)
- Method in class nl.bluering.
CoolFileHandle
get returns a part of the stream that matches the given regular expression.
get(String, boolean)
- Method in class nl.bluering.
VarSpace
getc()
- Method in class nl.bluering.
Expression
Returns the number of children.
getdefaultlib()
- Static method in class nl.bluering.
OpLib
getfunctionstring()
- Method in class nl.bluering.
Expression
return the primary object if it is a string.
getobject()
- Method in class nl.bluering.
Expression
getpos()
- Method in class nl.bluering.
CoolFileHandle
get the current position.
getprototype()
- Method in class nl.bluering.
Expression
returns the primary string concatenated with the number of children. this is used to look up functions in hashtables.
globalset(String, Expression)
- Method in class nl.bluering.
VarSpace
I
IN
- Static variable in class nl.bluering.
Operator
the possible values of place
init()
- Method in class nl.bluering.
Calc2
sets up the graphical user interface and does all other initialisations.
interpret(Expression)
- Method in interface nl.bluering.
Interpreter
interpret(Expression)
- Method in class nl.bluering.
MathEngine
Interpreter
- interface nl.bluering.
Interpreter
.
isbasic()
- Method in class nl.bluering.
Expression
Returns if this is a basic function.
isfunction(String)
- Method in class nl.bluering.
Expression
returns true if the primary object of this Expression is a string that is equal to f.
isfunction(String, int)
- Method in class nl.bluering.
Expression
returns true if the primary object of this Expression is a string that is equal to f,and the number of children is correct.
L
lastin(String)
- Method in class nl.bluering.
CoolFileHandle
leftlevel()
- Method in class nl.bluering.
Operator
returns the level that subexpression on the left must be smaller or equal to.
level
- Variable in class nl.bluering.
Operator
the level of this Operator.
M
main(String[])
- Static method in class nl.bluering.
Calc2
this methods allows you to start the applet as an application.
main(String[])
- Static method in class nl.bluering.
CoolFileHandle
test the class.
MathEngine
- class nl.bluering.
MathEngine
.
MathEngine()
- Constructor for class nl.bluering.
MathEngine
O
Operator
- class nl.bluering.
Operator
.
OpLib
- class nl.bluering.
OpLib
.
OpLib()
- Constructor for class nl.bluering.
OpLib
P
place
- Variable in class nl.bluering.
Operator
the place of the Operator: pre,post, or infix.
post
- Variable in class nl.bluering.
Bracket
pre is the end string of this bracket.
POST
- Static variable in class nl.bluering.
Operator
the possible values of place
postExp
- Variable in class nl.bluering.
Bracket
postExp is an Expression that can be given to a CoolFileHAndle to parse the post string. it is and(ignore(whitespace),post).
pre
- Variable in class nl.bluering.
Bracket
pre is the opening string of this bracket.
PRE
- Static variable in class nl.bluering.
Operator
the possible values of place
preExp
- Variable in class nl.bluering.
Bracket
preExp is an Expression that can be given to a CoolFileHAndle to parse the pre string. it is and(ignore(whitespace),pre).
pushback(String)
- Method in class nl.bluering.
CoolFileHandle
R
rightlevel()
- Method in class nl.bluering.
Operator
returns the level that subexpression on the right must be smaller or equal to.
S
setobject(Object)
- Method in class nl.bluering.
Expression
setpos(int)
- Method in class nl.bluering.
CoolFileHandle
with setpos you can return to a previous position.
T
toString()
- Method in class nl.bluering.
Expression
Converts the complete expression to a one-line string, including it's childs.
toString()
- Method in class nl.bluering.
Vertical
V
VarSpace
- class nl.bluering.
VarSpace
.
VarSpace()
- Constructor for class nl.bluering.
VarSpace
Vertical
- class nl.bluering.
Vertical
.
W
write(Expression)
- Method in class nl.bluering.
ExpWriter
write the expression to the stream
write(String)
- Method in class nl.bluering.
ExpWriter
write the given string to the stream
A
B
C
D
E
F
G
I
L
M
O
P
R
S
T
V
W
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES