class InstructionReturn extends Instruction {
    private final boolean haveReturnValue;

    public InstructionReturn(boolean haveReturnValue) {
        this.haveReturnValue = haveReturnValue;
    }

    @Override
    public void execute(RunEnvironment environment, List<String> errorList) throws Exception {
        //目前的模式，不需要执行任何操作
        if (this.haveReturnValue) {
            environment.quitExpress(environment.pop().getObject(environment.getContext()));
        } else {
            environment.quitExpress();
        }
        environment.gotoLastWhenReturn();
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}
}

        if (this.haveReturnValue) {
            return "return [value]";
        } else {
            return "return";
        }
    
<methods>public non-sealed void <init>() ,public abstract void execute(com.ql.util.express.RunEnvironment, List<java.lang.String>) throws java.lang.Exception,public java.lang.String getExceptionPrefix() ,public java.lang.Integer getLine() ,public com.ql.util.express.instruction.detail.Instruction setLine(java.lang.Integer) <variables>private java.lang.Integer line