package carpet.script.value; import carpet.script.exception.ExpressionException; import java.util.List; public class FunctionSignatureValue extends Value { private String identifier; private List arguments; private List globals; @Override public String getString() { throw new ExpressionException("Function "+identifier+" is not defined yet"); } @Override public boolean getBoolean() { throw new ExpressionException("Function "+identifier+" is not defined yet"); } @Override public Value clone() { throw new ExpressionException("Function "+identifier+" is not defined yet"); } public FunctionSignatureValue(String name, List args, List globals) { this.identifier = name; this.arguments = args; this.globals = globals; } public String getName() { return identifier; } public List getArgs() { return arguments; } public List getGlobals() {return globals;} }