Hold.java :  » Algebra » symja » org » matheclipse » core » reflection » system » Java Open Source

Java Open Source » Algebra » symja 
symja » org » matheclipse » core » reflection » system » Hold.java
package org.matheclipse.core.reflection.system;

import org.matheclipse.core.eval.interfaces.IFunctionEvaluator;
import org.matheclipse.core.interfaces.IAST;
import org.matheclipse.core.interfaces.IExpr;
import org.matheclipse.core.interfaces.ISymbol;

public class Hold implements IFunctionEvaluator {

  public Hold() {
  }


  /* (non-Javadoc)
   * @see org.matheclipse.core.eval.interfaces.IFunctionEvaluator#evaluate(org.matheclipse.core.eval.EvalEngine, org.matheclipse.parser.interfaces.IAST)
   */
  public IExpr evaluate(final IAST functionList) {
    return null;
  }

  /* (non-Javadoc)
   * @see org.matheclipse.core.eval.interfaces.IFunctionEvaluator#numericEval(org.matheclipse.core.eval.EvalEngine, org.matheclipse.parser.interfaces.IAST)
   */
  public IExpr numericEval(final IAST functionList) {
    return evaluate(functionList);
  }

  /* (non-Javadoc)
   * @see org.matheclipse.parser.interfaces.IEvaluator#setUp(org.matheclipse.parser.interfaces.ISymbol)
   */
  public void setUp(final ISymbol symbol) {
    symbol.setAttributes(ISymbol.HOLDALL);
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.