Interface  Description 

EvalEnv 
Represents an application dependant evaluation environment.

Function 
A representation of a function.

Namespace 
Namespaces are used by a
in order
to resolve to symbol references and function calls. 
Parser 
Instances of the
Parser interface are used to convert a code
string representing an arithmetic expression in a tree of terms
which can then be executed by using one of the evaluation methods of
the class. 
Symbol 
Represents a readonly symbol.

TermTransformer 
A term transformer is a term visitor that returns terms.

TermVisitor<T> 
Visitor support for the
Term class. 
Variable 
Represents a variable to which a value can be assigned.

WritableNamespace 
Class  Description 

AbstractTermTransformer 
A basic implementation of a term transformer which recursively clones operation and function call terms.

Term 
The abstract
Term class is an inmemory representation of an
element within an arbitrary expression tree. 
Term.Add 
The numerical ADD operation:
nterm
+ nterm

Term.AndB 
The logical AND operation:
bterm
&& bterm

Term.AndI 
The bitwise AND operation:
iterm
& iterm

Term.Assign 
The assignment operation
variablerefterm
= term

Term.Binary  
Term.BinaryB 
An abstract binary (= 2 operands) operation.

Term.BinaryI 
An abstract binary (= 2 operands) operation with a return type
of
int . 
Term.BinaryN 
An abstract binary (= 2 operands) operation with a numeric return type.

Term.Call 
A call of a (or reference to a)
. 
Term.Cond 
The conditional operation
bterm ?

Term.Const 
A boolean constant, e.g.

Term.ConstB 
A boolean constant, e.g.

Term.ConstD 
A floating point constant, e.g.

Term.ConstI 
An integer constant, e.g.

Term.ConstS  
Term.Div 
The numerical DIV operation:
nterm
/ nterm

Term.EqB 
The boolean EQ operation:
bterm
== bterm

Term.EqD 
The double EQ operation:
dterm
== dterm

Term.EqI 
The integer EQ operation:
iterm
== iterm

Term.GeD 
The double GE operation:
dterm
>= dterm

Term.GeI 
The integer GE operation:
iterm
>= iterm

Term.GtD 
The double GT operation:
dterm
> dterm

Term.GtI 
The integer GT operation:
iterm
> iterm

Term.LeD 
The double LE operation:
dterm
<= dterm

Term.LeI 
The integer LE operation:
iterm
<= iterm

Term.LtD 
The double LT operation:
dterm
< dterm

Term.LtI 
The integer LT operation:
iterm
< iterm

Term.Mod 
The numerical MOD (modulo) operation:
nterm
% nterm

Term.Mul 
The numerical MUL operation:
nterm
* nterm

Term.Neg 
The numerical NEG operation:
 dterm

Term.NEqB 
The boolean NEQ operation:
bterm !

Term.NEqD 
The double NEQ operation:
dterm !

Term.NEqI 
The integer NEQ operation:
iterm !

Term.NotB 
The logical NOT operation
!

Term.NotI 
The bitwise NOT operation:
~ iterm

Term.Op 
An abstract operation.

Term.OrB 
The logical OR operation:
bterm
 bterm

Term.OrI 
The bitwise OR operation:
iterm
¦ iterm

Term.Ref 
A reference to a
. 
Term.Sub 
The numerical SUB operation:
nterm
 nterm

Term.Unary 
An abstract unary (= 1 operand) operation.

Term.UnaryB 
An abstract unary (= 1 operand) operation with return type of
boolean . 
Term.UnaryI 
An abstract unary (= 1 operand) operation with return type of
int . 
Term.UnaryN 
An abstract unary (= 1 operand) operation with a numeric return type.

Term.XOrI 
The bitwise XOR operation:
iterm
^ iterm

Exception  Description 

EvalException 
An exception that can be thrown during the evaluation of a
. 
ParseException 
An exception thrown by a
ParserX.parse() call in order to
signal a parser error. 
Term
class which plays a central role in the API.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.