Klasse GnuFortranParser

Alle implementierten Schnittstellen:
Serializable

public class GnuFortranParser extends LookaheadParser
A parser for (compile-time) messages from the GNU Fortran Compiler.
Autor:
Mat Cross.
Siehe auch:
  • Konstruktordetails

    • GnuFortranParser

      public GnuFortranParser()
      Creates a new instance of GnuFortranParser.
  • 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:
      createIssue in Klasse LookaheadParser
      Parameter:
      matcher - the regular expression matcher
      lookahead - the lookahead stream to read additional lines
      builder - the issue builder to use
      Gibt zurück:
      Issue if the rest of the message was sucesfully matched too