java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.LookaheadParser
edu.hm.hafner.analysis.parser.GnuFortranParser
- Alle implementierten Schnittstellen:
Serializable
A parser for (compile-time) messages from the GNU Fortran Compiler.
- Autor:
- Mat Cross.
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder edu.hm.hafner.analysis.LookaheadParser
ANT_TASKVon Klasse geerbte Felder edu.hm.hafner.analysis.IssueParser
ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateIssue(Matcher matcher, edu.hm.hafner.util.LookaheadStream lookahead, IssueBuilder builder) This Function is called once the start of a possible error message is detected.Von Klasse geerbte Methoden edu.hm.hafner.analysis.LookaheadParser
isLineInteresting, parse, postProcess, preprocessLineVon Klasse geerbte Methoden edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
Konstruktordetails
-
GnuFortranParser
public GnuFortranParser()Creates a new instance ofGnuFortranParser.
-
-
Methodendetails
-
createIssue
protected Optional<Issue> createIssue(Matcher matcher, edu.hm.hafner.util.LookaheadStream lookahead, IssueBuilder builder) This Function is called once the start of a possible error message is detected. It uses the provided lookaheadStream to check if the following lines match the message too. The lines from the lookaheadStream are only consumed if they are successfully matched to a part of the error message, if they can not be matched the function returns without creating an issue.- Angegeben von:
createIssuein KlasseLookaheadParser- Parameter:
matcher- the regular expression matcherlookahead- the lookahead stream to read additional linesbuilder- the issue builder to use- Gibt zurück:
- Issue if the rest of the message was sucesfully matched too
-