All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jaskell.expression.Quote Maven / Gradle / Ivy

Go to download

This is a utils library for java 8 project. It include parsec combinators and sql generators library.

There is a newer version: 2.9.2
Show newest version
package jaskell.expression;

/**
 * TODO
 *
 * @author mars
 * @version 1.0.0
 * @since 2020/06/04 11:25
 */
public class Quote implements Expression {
  private final Expression expression;

  public Quote(Expression expression) {
    this.expression = expression;
  }

  @Override
  public double eval(Env env) throws ExpressionException {
    return expression.eval(env);
  }

  @Override
  public Expression makeAst() {
    return new Quote(this.expression.makeAst());
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy