public class AbsFunctionResolver extends Resolver
Resolver is responsible to calculate the IType based on the type of the
ABS expression. The valid type is a Number type.
The ABS function takes a numeric argument and returns a number (integer, float, or double) of the same type as the argument to the function.
| Constructor and Description |
|---|
AbsFunctionResolver(Resolver parent)
Creates a new
AbsFunctionResolver. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ResolverVisitor visitor)
|
protected IType |
buildType()
|
protected ITypeDeclaration |
buildTypeDeclaration()
Resolves the
ITypeDeclaration of the property handled by this Resolver. |
addChild, checkParent, getChild, getManagedType, getMapping, getParent, getParentManagedType, getParentMapping, getParentType, getParentTypeDeclaration, getProvider, getQuery, getType, getType, getType, getTypeDeclaration, getTypeHelper, getTypeRepository, isNullAllowed, setNullAllowedpublic void accept(ResolverVisitor visitor)
protected IType buildType()
protected ITypeDeclaration buildTypeDeclaration()
ITypeDeclaration of the property handled by this Resolver.buildTypeDeclaration in class ResolverITypeDeclaration that was resolved by this Resolver or the
ITypeDeclaration for IType.UNRESOLVABLE_TYPE if it could not be resolved