|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.medor.expression.type.ExpressionTypeHelper
| Constructor Summary | |
ExpressionTypeHelper()
|
|
| Method Summary | |
static org.objectweb.jorm.type.api.PType |
getResultType(org.objectweb.jorm.type.api.PType type1,
org.objectweb.jorm.type.api.PType type2)
This method returns the type which would result from applying a binary operator to 2 objects of given PType. |
static boolean |
isArithmeticType(org.objectweb.jorm.type.api.PType t)
This method tells if a given Type is an arithmetic type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExpressionTypeHelper()
| Method Detail |
public static final boolean isArithmeticType(org.objectweb.jorm.type.api.PType t)
t - The PType to be checked.
public static org.objectweb.jorm.type.api.PType getResultType(org.objectweb.jorm.type.api.PType type1,
org.objectweb.jorm.type.api.PType type2)
throws TypingException
type1 - The PType of the first object.type2 - The PType of the second object.
TypingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||