org.eclipse.cdt.make.internal.core.scannerconfig.gnu
Class AbstractGCCBOPConsoleParser

java.lang.Object
  extended by org.eclipse.cdt.make.internal.core.scannerconfig.gnu.AbstractGCCBOPConsoleParser
All Implemented Interfaces:
IConsoleParser, IScannerInfoConsoleParser
Direct Known Subclasses:
GCCPerFileBOPConsoleParser, GCCScannerInfoConsoleParser

public abstract class AbstractGCCBOPConsoleParser
extends java.lang.Object
implements IScannerInfoConsoleParser

Common stuff for all GNU build output parsers

Author:
vhirsl

Constructor Summary
AbstractGCCBOPConsoleParser()
           
 
Method Summary
 java.lang.String[] getCompilerCommands()
          Returns array of additional compiler commands to look for
 boolean processLine(java.lang.String line)
          Parse one line of output.
 void shutdown()
          Finalization of a console parser when the stream is closed.
 void startup(org.eclipse.core.resources.IProject project, IScannerInfoCollector collector)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.make.core.scannerconfig.IScannerInfoConsoleParser
startup
 

Constructor Detail

AbstractGCCBOPConsoleParser

public AbstractGCCBOPConsoleParser()
Method Detail

startup

public void startup(org.eclipse.core.resources.IProject project,
                    IScannerInfoCollector collector)

getCompilerCommands

public java.lang.String[] getCompilerCommands()
Returns array of additional compiler commands to look for

Returns:
String[]

processLine

public boolean processLine(java.lang.String line)
Description copied from interface: IConsoleParser
Parse one line of output.

Specified by:
processLine in interface IConsoleParser
Returns:
true if line was successfully processed; skip other console parsers

false - try other console parsers


shutdown

public void shutdown()
Description copied from interface: IConsoleParser
Finalization of a console parser when the stream is closed.

Specified by:
shutdown in interface IConsoleParser