|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the data type of an expression type.
Method Summary | |
EType |
add(EType t)
Apply the operation + on the current instance and an additional argument. |
EType |
and(EType t)
Apply the operation && on the current instance and an additional argument. |
EType |
divide(EType t)
Apply the operation + on the current instance and an additional argument. |
TBoolean |
eq(EType t)
Compare the current instance with an another value for equality. |
TBoolean |
ge(EType t)
Compare the current instance with an another value for greater or equal. |
TBoolean |
gt(EType t)
Compare the current instance with an another value for greater than. |
TBoolean |
le(EType t)
Compare the current instance with an another value for less or equal. |
TBoolean |
lt(EType t)
Compare the current instance with an another value for less. |
EType |
multiply(EType t)
Apply the operation * on the current instance and an additional argument. |
TBoolean |
ne(EType t)
Compare the current instance with an another value for not equal. |
EType |
negate()
Apply the unary minus - on the current instance. |
EType |
not()
Apply the unary negation ! on the current instance. |
EType |
or(EType t)
Apply the operation || on the current instance and an additional argument. |
EType |
set(EType t)
Assign a new value from an additional argument. |
EType |
subtract(EType t)
Apply the operation - on the current instance and an additional argument. |
Method Detail |
public EType add(EType t) throws CastException, UnsupportedException
t
- the terminal to add
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic EType and(EType t) throws CastException, UnsupportedException
t
- the terminal to build the conjunction with
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic EType divide(EType t) throws ArithmeticOverflowException, CastException, UnsupportedException
t
- the terminal to divide by
ArithmeticOverflowException
- in case of a division by zero
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic TBoolean eq(EType t) throws CastException, UnsupportedException
t
- the terminal to compare to
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic TBoolean ge(EType t) throws CastException, UnsupportedException
t
- the terminal to compare to
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic TBoolean gt(EType t) throws CastException, UnsupportedException
t
- the terminal to compare to
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic TBoolean le(EType t) throws CastException, UnsupportedException
t
- the terminal to compare to
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic TBoolean lt(EType t) throws CastException, UnsupportedException
t
- the terminal to compare to
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic EType multiply(EType t) throws CastException, UnsupportedException
t
- the terminal to multiply
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic TBoolean ne(EType t) throws CastException, UnsupportedException
t
- the terminal to compare to
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic EType negate() throws UnsupportedException
UnsupportedException
- in case of an unsupported operationpublic EType not() throws UnsupportedException
UnsupportedException
- in case of an unsupported operationpublic EType or(EType t) throws CastException, UnsupportedException
t
- the terminal to build the disjunction with
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operationpublic EType set(EType t) throws CastException
t
- the terminal to build the conjunction with
CastException
- in case of an error in casing the argumentpublic EType subtract(EType t) throws CastException, UnsupportedException
t
- the terminal to subtract
CastException
- in case of an error in casing the argument
UnsupportedException
- in case of an unsupported operation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |