X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FParse.hh;h=5e8b0ac84d0c09154254dd841bae52cb503f36a2;hb=798a0c904f7aabb1c2eb0c937bc4a57caf2d057b;hp=cfa871be5c0c6de62f1002099d108a848bdcaf6e;hpb=958bdb52c39fa39f4ef91cafd9628bcb4f85a03c;p=senf.git diff --git a/Utils/Console/Parse.hh b/Utils/Console/Parse.hh index cfa871b..5e8b0ac 100644 --- a/Utils/Console/Parse.hh +++ b/Utils/Console/Parse.hh @@ -599,6 +599,11 @@ namespace console { of the command). The argument tokens are written into \a info. */ + void parsePath(std::string const & path, ParseCommandInfo & info); + ///< Parse \a path + /**< parsePath() parses the string \a path as an arbitrary + command path. The result is written into \a info. */ + std::string::size_type parseIncremental(std::string const & commands, Callback cb); ///< Incremental parse /**< An incremental parse will parse all complete statements