Class RegexErrorParser

java.lang.Object
org.eclipse.cdt.core.errorparsers.RegexErrorParser
All Implemented Interfaces:
Cloneable, IErrorParser, IErrorParserNamed
Direct Known Subclasses:
FixitErrorParser

public class RegexErrorParser extends Object implements IErrorParserNamed
RegexerrorParser is an error parser designed to use regular expressions in order to parse build output to produce Errors, Warnings or Infos in Problems View. Clients may extend this class. As it implements Cloneable interface those clients must implement Object.clone() and Object.equals(java.lang.Object) methods to avoid slicing. Hint to implementers: if you want to extend it with customized RegexErrorPattern it is possible to inject it in addPattern(RegexErrorPattern).
Since:
5.2
See Also:
  • Constructor Details

    • RegexErrorParser

      public RegexErrorParser()
      Default constructor will initialize the error parser with the name of the class using reflection mechanism.
    • RegexErrorParser

      public RegexErrorParser(String id, String name)
      Constructor to initialize ID and name of the error parser.
      Parameters:
      id - - ID of the error parser.
      name - - name of the error parser.
  • Method Details