All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PrologParse.PrologParser

java.lang.Object
   |
   +----java.util.Vector
           |
           +----PrologParse.ClauseList
                   |
                   +----PrologParse.PrologParser

public class PrologParser
extends ClauseList
A ClauseList produced by parsing a piece of prolog. The Parsing is conducted top-down. The prolog is first tokenised by a PrologTokeniser, and the token sequence is then split into Clauses. The Clause class handles each subsequence of tokens by splitting them further into term subsequences, which are then passed to the Term class.

See Also:
ClauseList, Clause, Term

Constructor Index

 o PrologParser(BufferedReader)
Construct the PrologParser from a reader of some prolog.

Method Index

 o main(String[])

Constructors

 o PrologParser
 public PrologParser(BufferedReader in) throws IOException
Construct the PrologParser from a reader of some prolog.

Parameters:
in - A BufferedReader of some prolog.

Methods

 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index