Logo Search packages:      
Sourcecode: wims version File versions  Download package

synchronized double org::javia::arity::Symbols::eval ( String  expression  )  throws SyntaxException [inline]

Evaluates a simple expression (such as "1+1") and returns its value.

SyntaxException in these cases:
  • the expression is not well-formed
  • the expression is a definition (such as "a=1+1")
  • the expression is an implicit function (such as "x+1")

Definition at line 93 of file Symbols.java.

References org::javia::arity::Compiler::eval().

Referenced by define().

        return getCompiler().eval(this, expression);

Generated by  Doxygen 1.6.0   Back to index