Class FunctionType

java.lang.Object
org.jfuncmachine.compiler.model.types.FunctionType
All Implemented Interfaces:
Type

public final class FunctionType extends Object implements Type
The type of a function
  • Field Details

    • parameterTypes

      public final Type[] parameterTypes
      The types of the function parameters
    • returnType

      public final Type returnType
      The function's return type
  • Constructor Details

    • FunctionType

      public FunctionType(Type[] parameterTypes, Type returnType)
      Create a function type
      Parameters:
      parameterTypes - The types of the function parameters
      returnType - The function's return type
  • Method Details