TeChunkedParser.h
Go to the documentation of this file.
62 void parseExtensionValuesWith(ChunkExtensionValueParser *parser) { customExtensionValueParser = parser; }
69 Parser::size_type firstLineSize() const override {return 0;} // has no meaning with multiple chunks
::Parser::Tokenizer Tokenizer
Definition: TeChunkedParser.h:32
static void Ignore(Tokenizer &tok, const SBuf &extName)
extracts and ignores the value of a named extension
Definition: TeChunkedParser.cc:160
virtual void parse(Tokenizer &tok, const SBuf &extName)=0
extracts and then interprets (or ignores) the extension value
Definition: Parser.h:41
Definition: TeChunkedParser.h:52
bool parseChunkBody(Tokenizer &tok)
Definition: TeChunkedParser.cc:195
ChunkExtensionValueParser * customExtensionValueParser
Definition: TeChunkedParser.h:85
void parseChunkExtensions(Tokenizer &)
Definition: TeChunkedParser.cc:143
bool parseChunkSize(Tokenizer &tok)
RFC 7230 section 4.1 chunk-size.
Definition: TeChunkedParser.cc:90
void parseOneChunkExtension(Tokenizer &)
Definition: TeChunkedParser.cc:169
Parser::size_type firstLineSize() const override
size in bytes of the first line including CRLF terminator
Definition: TeChunkedParser.h:69
~TeChunkedParser() override
Definition: TeChunkedParser.h:55
void parseExtensionValuesWith(ChunkExtensionValueParser *parser)
Definition: TeChunkedParser.h:62
bool parseChunkEnd(Tokenizer &tok)
Definition: TeChunkedParser.cc:220
bool parseChunkMetadataSuffix(Tokenizer &)
Definition: TeChunkedParser.cc:123
bool needsMoreSpace() const
Definition: TeChunkedParser.cc:82
void setPayloadBuffer(MemBuf *parsedContent)
set the buffer to be used to store decoded chunk data
Definition: TeChunkedParser.h:58
Definition: MemBuf.h:24
Definition: Tokenizer.h:30
Definition: forward.h:18
Definition: parse.c:160