wex v24.10.0
|
Collects data to present a find in files match. More...
#include <wex/common/path-match.h>
Public Member Functions | |
path_match (const path &p) | |
Constructor path only. | |
path_match (const path &p, const tool &t, const std::string &line, size_t line_no, int pos) | |
Constructor. | |
auto & | line () const |
Returns matching line. | |
auto | line_no () const |
Returns matching line no. | |
auto & | path () const |
Returns path containing match. | |
auto | pos () const |
Returns start pos of match. | |
auto & | tool () const |
Returns tool. | |
Collects data to present a find in files match.
|
inlineexplicit |
Constructor.
p | path containing match |
t | tool that caused the match |
line | matching line |
line_no | line number containing match |
pos | pos on line where match starts, -1 not known |