Resolver is responsible to calculate the IType based on the type of the
math function expression. The valid type is a Number type.
The math function takes a numeric argument and returns a number (integer, float, or double) of the same type as the argument to the function.
| Modifier and Type | Class and Description |
|---|---|
| public static class | MathFunctionResolver.Ceiling
The |
| public static class | MathFunctionResolver.Floor
The |
| public static class | MathFunctionResolver.Round
The |
| Access | Constructor and Description |
|---|---|
| public | MathFunctionResolver(Resolver
The parent parent)Resolver, which is never nullCreates a new instance of math function expression resolver. |
| Modifier and Type | Method and Description |
|---|---|
| protected IType | buildType()
Overrides org. IType of the property handled by this Resolver.
|
| protected ITypeDeclaration | buildTypeDeclaration()
Implements abstract org. ITypeDeclaration of the property handled by this Resolver.
|
| MathFunctionResolver | back to summary |
|---|---|
| public MathFunctionResolver(Resolver parent) Creates a new instance of math function expression resolver. | |
| buildType | back to summary |
|---|---|
| protected IType buildType() Overrides org. Doc from org. Resolves the | |
| buildTypeDeclaration | back to summary |
|---|---|
| protected ITypeDeclaration buildTypeDeclaration() Implements abstract org. Doc from org. Resolves the
| |
CEILING math function expression resolver.
| Access | Constructor and Description |
|---|---|
| public |
| Ceiling | back to summary |
|---|---|
| public Ceiling(Resolver parent) Creates a new instance of | |
FLOOR math function expression resolver.
| Access | Constructor and Description |
|---|---|
| public |
| Floor | back to summary |
|---|---|
| public Floor(Resolver parent) Creates a new instance of | |
ROUND math function expression resolver.
| Access | Constructor and Description |
|---|---|
| public |
| Round | back to summary |
|---|---|
| public Round(Resolver parent) Creates a new instance of | |