X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FParse.hh;h=7afbaa1d2cb1b601066ba32defbf5da0edf848e4;hb=4195e3fc4bb545f2f7921396e2aec77edaa8c8c3;hp=5e8b0ac84d0c09154254dd841bae52cb503f36a2;hpb=0461eef93912cb9d454d726b4a7b4ccf50ed31bd;p=senf.git diff --git a/Utils/Console/Parse.hh b/Utils/Console/Parse.hh index 5e8b0ac..7afbaa1 100644 --- a/Utils/Console/Parse.hh +++ b/Utils/Console/Parse.hh @@ -615,6 +615,12 @@ namespace console { to be terminated explicitly. This means, that the last ';' is \e not optional in this case. */ + static bool isSpecialChar(char ch); ///< Check, if \a ch is a special character + static bool isPunctuationChar(char ch); ///< Check, if \a ch is a punctuation character + static bool isSpaceChar(char ch); ///< Check, if \a ch is a space character + static bool isInvalidChar(char ch); ///< Check, if \a ch is an invalid character + static bool isWordChar(char ch); ///< Check, if \a ch is a word character + /** \brief Exception thrown when the parser detects an error */ struct ParserErrorException : public SyntaxErrorException { explicit ParserErrorException(std::string const & msg) : SyntaxErrorException(msg) {} };