All Packages Class Hierarchy This Package Previous Next Index
Object | +----EDU.emporia.mathtools.Parser
These functions are defined: abs, acos, asin, atan, ceil, cos, exp, floor, log, round, sin, sqrt, tan. Each requires one argument enclosed in parentheses.
Whitespace outside identifiers is ignored.
The syntax-error messages aren't very informative, unfortunately. IWBNI it indicated where in the input string the parse failed, but that'd be kind of a pain since our scanner is a StreamTokenizer. A hook for that info should've been built into StreamTokenizer.
Examples:
public Parser()
public static EDU.emporia.mathtools.Expr parse(String input) throws Syntax_error
All Packages Class Hierarchy This Package Previous Next Index