wex v24.10.0
|
Offers user data to be used by factory classes. More...
#include <wex/factory/line-data.h>
Public Member Functions | |
const auto | col () const |
Returns column. | |
line_data & | col (int col) |
Sets column. | |
const auto & | command () const |
Returns command. | |
line_data & | command (const std::string &command) |
Sets command. | |
auto | is_ctag () const |
Returns true if command is a ctag command. | |
line_data & | is_ctag (bool rhs) |
Sets ctag. | |
const auto | line () const |
Returns line number. | |
line_data & | line (int line, std::function< int(int)> f=nullptr) |
Sets line number. | |
virtual void | reset () |
Resets members to default state. | |
Offers user data to be used by factory classes.
|
inline |
Sets column.
Goes to column if col_number > 0
|
inline |
Sets command.
This is a vi command to execute.
|
inline |
Sets line number.
Goes to the line if > 0, if -1 goes to end of file