10 #ifndef _STRUS_ANALYZER_PATTERN_RESULTFORMAT_LIB_HPP_INCLUDED
11 #define _STRUS_ANALYZER_PATTERN_RESULTFORMAT_LIB_HPP_INCLUDED
19 class ErrorBufferInterface;
21 class DebugTraceContextInterface;
44 ErrorBufferInterface* m_errorhnd;
45 DebugTraceContextInterface* m_debugtrace;
57 virtual const char*
getVariable(
const std::string& name)
const=0;
74 ErrorBufferInterface* m_errorhnd;
131 ErrorBufferInterface* m_errorhnd;
PatternResultFormatContext(ErrorBufferInterface *errorhnd_)
Constructor.
const char * map(const PatternResultFormat *fmt, const analyzer::PatternMatcherResultItem *items, std::size_t nofItems)
Map a result to a string.
struct PatternResultFormat PatternResultFormat
Result format representation (hidden implementation)
Definition: pattern_resultformat.hpp:24
Structure desribing a result of a token pattern matcher.
~PatternResultFormatContext()
Destructor.
Context for mapping result format strings (allocator,maps,etc.)
Definition: pattern_resultformat.hpp:27
Result item structure of a pattern match result.
Definition: patternMatcherResultItem.hpp:19
Structure desribing a result of a token pattern matcher.
Definition: patternMatcherResult.hpp:21