Interface IFunctionType

All Superinterfaces:
IInvocableType, INonLoadableType, IType, Serializable
All Known Subinterfaces:
IBlockType
All Known Implementing Classes:
BlockType, DelegateFunctionType, ErrorTypeInfo.UniversalFunctionType, FunctionType, ParameterizedFunctionType

public interface IFunctionType extends IInvocableType
  • Method Details

    • getReturnType

      IType getReturnType()
    • getParameterTypes

      IType[] getParameterTypes()
      Specified by:
      getParameterTypes in interface IInvocableType
    • getMethodInfo

      IMethodInfo getMethodInfo()
      An associated IMethodInfo. Optional.
    • getMethodOrConstructorInfo

      IFeatureInfo getMethodOrConstructorInfo()
    • getParamSignature

      String getParamSignature()
      Formatted signature of the form " ( param-list )"
      Specified by:
      getParamSignature in interface IInvocableType
    • getParamSignatureForCurrentModule

      String getParamSignatureForCurrentModule()
    • inferParameterizedTypeFromArgTypesAndContextType

      IFunctionType inferParameterizedTypeFromArgTypesAndContextType(IType[] eArgs, IType ctxType)
    • areParamsCompatible

      boolean areParamsCompatible(IFunctionType rhsFunctionType)
    • isAssignableFrom

      boolean isAssignableFrom(IType type, boolean bContravariant)
    • getScriptPart

      IScriptPartId getScriptPart()
    • newInstance

      IType newInstance(IType[] paramTypes, IType returnType)
      Returns:
      a new copy of this IFunctionType with the given parameter and return types