net.sf.plb4jedit.plb
Class ListingAnalyzer

java.lang.Object
  extended bynet.sf.plb4jedit.plb.ListingAnalyzer

public class ListingAnalyzer
extends Object

$Log: ListingAnalyzer.java,v $ Revision 1.1 2003/11/07 16:57:27 schaefep initial ps Revision 1.13 2003/05/27 09:34:09 schaefer disable debug info Revision 1.12 2003/05/27 09:31:08 schaefer fix: recognize error position, e.g. varnames again. Don't trim line! Revision 1.11 2003/05/08 10:52:18 schaefer recognize if Listing is empty Revision 1.10 2003/05/06 12:32:48 schaefer no debug output Revision 1.9 2003/03/27 15:39:57 msk organized imports, add seaport master data Revision 1.8 2002/12/06 07:50:43 schaefer hot fix: recognize FATAL ERRORs Revision 1.7 2002/05/17 09:40:53 brink corrected ifLoopSwitchNotTerminatedRE Revision 1.6 2002/04/30 13:32:25 schaefer recognize # in undefined variable Revision 1.5 2002/04/30 13:00:54 schaefer locate error position Revision 1.4 2002/04/25 12:56:22 brink added support for "if/loop/switch statement not terminated" Revision 1.3 2002/04/02 15:36:24 schaefer fix: handle undefined execution label Revision 1.2 2002/04/02 08:20:41 schaefer fix in locating includes Revision 1.1 2002/03/29 15:07:25 schaefer program to analyze compile output from plbcmp Analyze listings created by the plb compiler using options PE 999999 Compiling a source xxxxxx.dbs with these options produce a xxxxxx.lst in the directory where the xxxxxx.plc is stored.


Field Summary
static String cvsId
           
 
Constructor Summary
ListingAnalyzer(File f, String sourceName)
           
ListingAnalyzer(InputStream in, String sourceName)
          construct ListingAnalyzer with compile output in listing form compiled with options plb plbcmp src,plc -E=dbs PE \"header\" 999999 maybe under windows/dos you don't have to escape the double ticks ...
ListingAnalyzer(String listName, String sourceName)
           
 
Method Summary
static void main(String[] args)
           
 int numberOfErrors()
           
 int numberOfWarnings()
           
 void printGeneric()
           
 void printGeneric(PrintStream ps)
          print errors and warnings in format that fits to JEdits "Generic" error pattern regexps see Utilities->General options -> Plugin options -> Console -> Error patterns
 void printListing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

ListingAnalyzer

public ListingAnalyzer(String listName,
                       String sourceName)
                throws IOException,
                       FileNotFoundException

ListingAnalyzer

public ListingAnalyzer(File f,
                       String sourceName)
                throws IOException,
                       FileNotFoundException

ListingAnalyzer

public ListingAnalyzer(InputStream in,
                       String sourceName)
                throws IOException
construct ListingAnalyzer with compile output in listing form compiled with options plb plbcmp src,plc -E=dbs PE \"header\" 999999 maybe under windows/dos you don't have to escape the double ticks ...

Method Detail

printGeneric

public void printGeneric(PrintStream ps)
print errors and warnings in format that fits to JEdits "Generic" error pattern regexps see Utilities->General options -> Plugin options -> Console -> Error patterns


printGeneric

public void printGeneric()

printListing

public void printListing()

numberOfErrors

public int numberOfErrors()

numberOfWarnings

public int numberOfWarnings()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2003 Riege Software Internationl. All Rights Reserved.