#include <Parser.h>
Classes | |
class | Register |
Public Types | |
typedef RefCount< ESIParser > | Pointer |
Public Member Functions | |
virtual bool | parse (char const *dataToParse, size_t const lengthOfData, bool const endOfStream)=0 |
virtual long int | lineNumber () const =0 |
virtual char const * | errorString () const =0 |
Static Public Member Functions | |
static void | registerParser (const char *name, Pointer(*new_func)(ESIParserClient *aClient)) |
static Pointer | NewParser (ESIParserClient *aClient) |
Static Public Attributes | |
static char * | Type = nullptr |
Protected Member Functions | |
ESIParser () | |
Static Private Member Functions | |
static std::list< Register * > & | GetRegistry () |
Static Private Attributes | |
static Register * | Parser = nullptr |
Detailed Description
Member Typedef Documentation
◆ Pointer
typedef RefCount<ESIParser> ESIParser::Pointer |
Constructor & Destructor Documentation
◆ ESIParser()
Member Function Documentation
◆ errorString()
|
pure virtual |
Referenced by ESIContext::parseOneBuffer(), and ESIContext::parserComment().
◆ GetRegistry()
|
staticprivate |
Definition at line 20 of file Parser.cc.
Referenced by ESIParser::Register::Register(), ESIParser::Register::~Register(), and NewParser().
◆ lineNumber()
|
pure virtual |
Referenced by ESIContext::parseOneBuffer(), and ESIContext::parserComment().
◆ NewParser()
|
static |
Definition at line 27 of file Parser.cc.
References debugs, fatalf(), GetRegistry(), and Type.
Referenced by ESIContext::ParserState::init(), and ESIContext::parserComment().
◆ parse()
|
pure virtual |
- Return values
-
true on success false on what?
Referenced by ESIContext::parseOneBuffer(), and ESIContext::parserComment().
◆ registerParser()
|
static |
Member Data Documentation
◆ Parser
|
staticprivate |
◆ Type
|
static |
Definition at line 34 of file Parser.h.
Referenced by NewParser().
The documentation for this class was generated from the following files: