strusPattern  0.17
pattern.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  */
10 #ifndef _STRUS_PATTERN_LIB_HPP_INCLUDED
11 #define _STRUS_PATTERN_LIB_HPP_INCLUDED
12 #include <cstdio>
13 
15 namespace strus {
16 
18 class PatternLexerInterface;
20 class PatternMatcherInterface;
22 class TokenMarkupInstanceInterface;
24 class ErrorBufferInterface;
25 
27 PatternLexerInterface* createPatternLexer_std(
28  ErrorBufferInterface* errorhnd);
29 
31 PatternMatcherInterface* createPatternMatcher_std(
32  ErrorBufferInterface* errorhnd);
33 
34 }//namespace
35 #endif
36 
PatternLexerInterface * createPatternLexer_std(ErrorBufferInterface *errorhnd)
Create the interface for regular expression matching on text based on hyperscan.
PatternMatcherInterface * createPatternMatcher_std(ErrorBufferInterface *errorhnd)
Create the interface for pattern matching on a regular language with tokens as alphabet.