Skip to main content

The condparser.cpp File Reference

Included Headers

#include <algorithm> #include "condparser.h" #include "config.h" #include "message.h"

Functions Index

static boolisDelimiter (const char c)

checks if the given char c is a delimiter minus is checked apart, can be unary minus More...

static boolisAlpha (const char c)

checks if the given char c is a letter or underscore More...

static boolisAlphaNumSpec (const char c)

Functions

isAlpha()

bool isAlpha (const char c)
static

checks if the given char c is a letter or underscore

Definition at line 76 of file condparser.cpp.

76static bool isAlpha(const char c)
77{
78 return (c>='A' && c<='Z') || (c>='a' && c<='z') || c=='_';
79}

Referenced by CondParser::getToken and isAlphaNumSpec.

isAlphaNumSpec()

bool isAlphaNumSpec (const char c)
static

Definition at line 81 of file condparser.cpp.

81static bool isAlphaNumSpec(const char c)
82{
83 return isAlpha(c) || (c>='0' && c<='9') || c=='-' || c=='.' || (static_cast<unsigned char>(c)>=0x80);
84}

Reference isAlpha.

Referenced by CondParser::getToken.

isDelimiter()

bool isDelimiter (const char c)
static

checks if the given char c is a delimiter minus is checked apart, can be unary minus

Definition at line 68 of file condparser.cpp.

68static bool isDelimiter(const char c)
69{
70 return c=='&' || c=='|' || c=='!';
71}

Referenced by CondParser::getToken.


Generated via doxygen2docusaurus by Doxygen 1.14.0.