All Packages Class Hierarchy This Package Previous Next Index
Class ia_parser.Parser
java.lang.Object
|
+----ia_parser.Parser
- public class Parser
- extends Object
the Parser class contains methods for reading interval arithmetic
expressions and interval arithmetic constraint sets. It returns
objects of the "Exp" which can be evaluated, narrowed, etc.
-
Parser()
-
-
main(String[])
- A simple read/narrow/print loop.
-
parse(InputStream)
- Read a constraint set from the input stream.
-
parseLine(InputStream)
- Read a constraint set from a string from the next line of the
input stream.
-
parseString(String)
- Read a constraint set from a string.
Parser
public Parser()
parse
public static Exp parse(InputStream inStream)
- Read a constraint set from the input stream.
This returns an Exp object
which represents the parse tree of the interval arithmetic
constraint set which was read. It reads and attempts
to parse the entire string, up to the end of file.
parseString
public static Exp parseString(String string)
- Read a constraint set from a string.
parseLine
public static Exp parseLine(InputStream inStream)
- Read a constraint set from a string from the next line of the
input stream.
main
public static void main(String args[])
- A simple read/narrow/print loop.
All Packages Class Hierarchy This Package Previous Next Index