|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.svincent.moksa.WamObject
|
+--com.svincent.moksa.PrologParser
|
+--com.svincent.moksa.IsoPrologParser
Parses ISO Prolog source files.
| Constructor Summary | |
IsoPrologParser(PrologEngine _engine)
|
|
| Method Summary | |
PrologTerm |
parseClause(Io.PrologInput in)
Parse a Prolog clause. |
PrologTerm |
parseTerm(Io.PrologInput in)
Parse a Prolog term. |
| Methods inherited from class com.svincent.moksa.PrologParser |
parseClause,
parseFile,
parseTerm |
| Methods inherited from class com.svincent.moksa.WamObject |
tag,
tag |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public IsoPrologParser(PrologEngine _engine)
| Method Detail |
public PrologTerm parseClause(Io.PrologInput in)
throws java.io.IOException,
PrologParseException
Parse a Prolog clause. This ends at the next end ('.') character, and typically contains something of the form "Term :- Term, Term."
Returns null on EOF.
public PrologTerm parseTerm(Io.PrologInput in)
throws java.io.IOException,
PrologParseException
Parse a Prolog term. This is the primitive term stuff we're all familiar with: atoms, integers, compound terms, floats, etc.
Returns null on EOF.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/
Copyright © 1999 Shawn P. Vincent.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.