|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.bddbddb.DatalogParser
public class DatalogParser
DatalogParser
Field Summary | |
---|---|
java.io.PrintStream |
err
|
java.io.PrintStream |
out
Trace output stream. |
Constructor Summary | |
---|---|
DatalogParser(Solver solver)
Construct a new Datalog parser with the given solver. |
Method Summary | |
---|---|
void |
parseAndAddConstraint(Relation r,
java.util.regex.Matcher m)
Parse and add an attribute constraint. |
void |
readDatalogProgram(Solver.MyReader in)
Read and parse a Datalog program. |
void |
readDatalogProgram(java.lang.String inputFilename)
Read and parse a Datalog program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.io.PrintStream out
public java.io.PrintStream err
Constructor Detail |
---|
public DatalogParser(Solver solver)
solver
- add rules, relations, etc. to this solverMethod Detail |
---|
public void readDatalogProgram(java.lang.String inputFilename) throws java.io.IOException
inputFilename
- name of file to read
java.io.IOException
public void readDatalogProgram(Solver.MyReader in) throws java.io.IOException
in
- input reader
java.io.IOException
public void parseAndAddConstraint(Relation r, java.util.regex.Matcher m)
r
- relation to add constraint form
- constraint pattern matcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |