package com.davidmogar.njc.ast.types;

import com.davidmogar.njc.ast.AbstractAstNode;

import java.util.List;

public class FunctionType extends AbstractAstNode implements Type {

    public List<Type> parameters;
    public Type returnType;

    public FunctionType(int line, int column, List<Type> parameters, Type returnType) {
        super(line, column);
        this.parameters = parameters;
        this.returnType = returnType;
    }
}

@@ -79,16 +79,117 @@
 stNode;%0A
+import com.davidmogar.njc.ast.statements.definitions.VariableDefinition;%0A%0Aimport java.util.ArrayList;
 %0Aimport 
@@ -286,28 +286,42 @@
 public List%3C
-Type
+VariableDefinition
 %3E parameters
@@ -401,17 +401,162 @@
 mn, 
-List%3CType
+Type returnType) %7B%0A        this(line, column, new ArrayList%3C%3E(), returnType);%0A    %7D%0A%0A    public FunctionType(int line, int column, List%3CVariableDefinition
 %3E pa

Add facility constructor to function type