Update FuncType.java

master
sunyinqi0508 4 years ago committed by GitHub
parent 8cbc495c57
commit ae3ef07c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,13 +8,11 @@ import java.util.List;
/** Semantic information for a function or method. */ /** Semantic information for a function or method. */
public class FuncType extends Type { public class FuncType extends Type {
/** Types of parameters. */ /** Types of parameters. */
public final List<ValueType> parameters; public final List<ValueType> parameters;
/** Function's return type. */ /** Function's return type. */
public final ValueType returnType; public final ValueType returnType;
/** Create a FuncType returning RETURNTYPE0, initially parameterless. */ /** Create a FuncType returning RETURNTYPE0, initially parameterless. */
public FuncType(ValueType returnType0) { public FuncType(ValueType returnType0) {
this(new ArrayList<>(), returnType0); this(new ArrayList<>(), returnType0);

Loading…
Cancel
Save