Interface ICallExpressionTester<M extends IResolvableModel<V,M>,O extends IResolvableOperation<V>,E extends ModelCallExpression<V,M,O>,V extends IMetaParameterDeclaration>
-
- Type Parameters:
M- the specific type of modelO- the specific type of operationE- the specific call expressionV- the specific class of variables
- All Known Implementing Classes:
Resolver.CallExpressionTester
public interface ICallExpressionTester<M extends IResolvableModel<V,M>,O extends IResolvableOperation<V>,E extends ModelCallExpression<V,M,O>,V extends IMetaParameterDeclaration>The interface of a dynamic call expression tester.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EcreateAndCheckCall(M model, boolean isSuper, M fromModel)Creates a call expression and tries to resolve the call.VilExceptiongetLastException()Returns the last exception produced by#createAndCheckCall(IResolvableModel, boolean).
-
-
-
Method Detail
-
createAndCheckCall
E createAndCheckCall(M model, boolean isSuper, M fromModel)
Creates a call expression and tries to resolve the call.- Parameters:
model- the model to resolve onisSuper- whether it is a super callfromModel- the model which issues the call- Returns:
- the created call expression in case of success, null else
-
getLastException
VilException getLastException()
Returns the last exception produced by#createAndCheckCall(IResolvableModel, boolean).- Returns:
- the last exception or null
-
-