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.


Constructor Index

 o Parser()

Method Index

 o main(String[])
A simple read/narrow/print loop.
 o parse(InputStream)
Read a constraint set from the input stream.
 o parseLine(InputStream)
Read a constraint set from a string from the next line of the input stream.
 o parseString(String)
Read a constraint set from a string.

Constructors

 o Parser
 public Parser()

Methods

 o 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.

 o parseString
 public static Exp parseString(String string)
Read a constraint set from a string.

 o parseLine
 public static Exp parseLine(InputStream inStream)
Read a constraint set from a string from the next line of the input stream.

 o main
 public static void main(String args[])
A simple read/narrow/print loop.


All Packages  Class Hierarchy  This Package  Previous  Next  Index