public interface Parser
Parser interface are used to convert a code
string representing an arithmetic expression in a tree of terms
which can then be executed by using one of the evaluation methods of
the Term class.Namespace getDefaultNamespace()
Term parse(String code) throws ParseException
code - the code string, for the syntax of valid expressions refer
to the class descriptionParseException - if a parse reportError occursTerm parse(String code, Namespace namespace) throws ParseException
code - the code string, for the syntax of valid expressions refer
to the class descriptionnamespace - the environment which is used to resolve namesParseException - if a parse error occursCopyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.