Changeset View
Changeset View
Standalone View
Standalone View
outputview/outputformats.h
Show All 34 Lines | 33 | { | |||
---|---|---|---|---|---|
35 | ErrorFormat( const QString& regExp, int file, int line, int text, int column=-1 ); | 35 | ErrorFormat( const QString& regExp, int file, int line, int text, int column=-1 ); | ||
36 | ErrorFormat( const QString& regExp, int file, int line, int text, const QString& comp, int column=-1 ); | 36 | ErrorFormat( const QString& regExp, int file, int line, int text, const QString& comp, int column=-1 ); | ||
37 | QRegularExpression expression; | 37 | QRegularExpression expression; | ||
38 | int fileGroup; | 38 | int fileGroup; | ||
39 | int lineGroup, columnGroup; | 39 | int lineGroup, columnGroup; | ||
40 | int textGroup; | 40 | int textGroup; | ||
41 | QString compiler; | 41 | QString compiler; | ||
42 | 42 | | |||
43 | // Returns the column number starting with 0 as the first column | ||||
44 | // If no match was found for columns or if index was not valid | ||||
45 | // (i.e. less than zero) - 0 is returned. | ||||
43 | int columnNumber(const QRegularExpressionMatch& match) const; | 46 | int columnNumber(const QRegularExpressionMatch& match) const; | ||
44 | }; | 47 | }; | ||
45 | 48 | | |||
46 | } | 49 | } | ||
47 | #endif | 50 | #endif | ||
48 | 51 | | |||
49 | 52 | | |||
50 | 53 | |