wex v26.04.0
wex::command_parser_data Class Reference

This class offers data for the ex command parser. More...

#include <wex/ex/command-parser-data.h>

Inheritance diagram for wex::command_parser_data:
Inheritance graph

Public Member Functions

 command_parser_data (std::string text=std::string())
 Default constructor.
const std::string & command () const
 The command.
bool is_global_skip () const
 Returns true if this command can be skipped.
const std::string & range () const
 The range.
const std::string & text () const
 The text (rest), not the original supplied text.

Detailed Description

This class offers data for the ex command parser.

Member Function Documentation

◆ command()

const std::string & wex::command_parser_data::command ( ) const
inline

The command.

This mostly is a one letter string like "z" for adjust_window or "p" for print.