prolog.model
Interface IProgram

All Known Implementing Classes:
Program

public interface IProgram


Method Summary
 void clear()
          clear the programm (clears all items found by the parser)
 IFactDb getFacts()
          returns the fact database used to process a program
 IQueryList getQuerys()
          returns a list with all queries found by the parser
 IStatementMap getStatements()
          returns the statement map used to resolve queries
 ISymbolTable getSymbolTable()
          returns the used symboltable to en- and decode the names
 void run()
          the method processing the program
 

Method Detail

clear

public void clear()
clear the programm (clears all items found by the parser)

getSymbolTable

public ISymbolTable getSymbolTable()
returns the used symboltable to en- and decode the names

getQuerys

public IQueryList getQuerys()
returns a list with all queries found by the parser

getFacts

public IFactDb getFacts()
returns the fact database used to process a program

getStatements

public IStatementMap getStatements()
returns the statement map used to resolve queries

run

public void run()
         throws ParameterMatchingError
the method processing the program
Throws:
ParameterMatchingError -