proper.imp
Class PrologParser

java.lang.Object
  extended by proper.core.ProperObject
      extended by proper.imp.Parser
          extended by proper.imp.PrologParser
All Implemented Interfaces:
ProperInterface, ParserInterface

public class PrologParser
extends Parser

This parser works on files that contain Prolog ground facts. Handwritten parser was necessary, since JLex/CUP had problems with big files...

Version:
$Revision: 1.2 $
Author:
FracPete

Field Summary
 
Fields inherited from class proper.imp.Parser
RELAGGS_FIX
 
Fields inherited from interface proper.imp.ParserInterface
CLASS_NEGATIVE, CLASS_POSITIVE
 
Fields inherited from interface proper.core.ProperInterface
VERSION
 
Constructor Summary
PrologParser()
           
 
Method Summary
static void main(java.lang.String[] args)
          for testing only
 
Methods inherited from class proper.imp.Parser
clear, getAddClassLabel, getClassLabel, getFilename, getOnlyForSingles, getPredicates, parse, parse, setAddClassLabel, setClassLabel, setFilename, setID, setOnlyForSingles, toString
 
Methods inherited from class proper.core.ProperObject
addListener, addOutput, classInVerbose, debugprint, debugprint, debugprint, debugprint, debugprintln, debugprintln, debugprintln, debugprintln, debugprintln, getListeners, getRuntime, getVerbose, getVerboseLevel, getVerboseLevelForClass, getVerboseString, getVerboseStringForClass, notifyListener, notifyListeners, print, print, print, print, println, println, println, println, println, printMemory, removeListener, setOutput, setVerbose, setVerboseLevel, setVerboseString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface proper.imp.ParserInterface
getVerbose, setVerbose
 

Constructor Detail

PrologParser

public PrologParser()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
for testing only

Throws:
java.lang.Exception