strusAnalyzer  0.17
pattern_test.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
11 #ifndef _STRUS_PATTERN_TEST_LIB_HPP_INCLUDED
12 #define _STRUS_PATTERN_TEST_LIB_HPP_INCLUDED
13 #include <cstdio>
14 
16 namespace strus {
17 
19 class PatternLexerInterface;
21 class PatternMatcherInterface;
23 class TokenMarkupInstanceInterface;
25 class ErrorBufferInterface;
26 
28 PatternLexerInterface* createPatternLexer_test(
29  ErrorBufferInterface* errorhnd);
30 
32 PatternMatcherInterface* createPatternMatcher_test(
33  ErrorBufferInterface* errorhnd);
34 
35 }//namespace
36 #endif
37 
PatternMatcherInterface * createPatternMatcher_test(ErrorBufferInterface *errorhnd)
Create the interface for pattern matching usable as groud truth for testing.
PatternLexerInterface * createPatternLexer_test(ErrorBufferInterface *errorhnd)
Create the interface for regular expression matching usable as groud truth for testing.