Examples of evalGlobal()


Examples of edu.neu.ccs.task.TaskEngine.evalGlobal()

      "EXPR is evaluated as a Javascript expression, and the\n" +
      "results are printed.  Evaluation is in the global \n" +
      "environment, so $this is not bound.")
  public void _eval(String expr) {
    TaskEngine e = getEngine();
    Object value = e.evalGlobal(expr, "console eval");
    if (value != null)
      out.println(e.asLiteral(value, "console eval"));
  }
 
  @Desc("load a model file")
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.