Papageno
An Advanced Pattern Matching Library
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
src
ppg_pattern.h
Go to the documentation of this file.
1
/* Copyright 2017 noseglasses <shinynoseglasses@gmail.com>
2
*
3
* This program is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU Lesser General Public License as published by
5
* the Free Software Foundation, either version 3 of the License, or
6
* (at your option) any later version.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
#ifndef PPG_PATTERN_H
18
#define PPG_PATTERN_H
19
22
#include "
ppg_token.h
"
23
35
PPG_Token
ppg_pattern
(
36
PPG_Layer layer,
37
PPG_Count n_tokens,
38
PPG_Token
tokens[]);
39
40
#if PPG_PRINT_SELF_ENABLED
41
44
void
ppg_pattern_print_tree(
void
);
45
46
#define PPG_PATTERN_PRINT_TREE ppg_pattern_print_tree();
47
#else
48
#define PPG_PATTERN_PRINT_TREE
49
#endif
50
51
#endif
ppg_token.h
ppg_pattern
PPG_Token ppg_pattern(PPG_Layer layer, PPG_Count n_tokens, PPG_Token tokens[])
Defines a pattern that consists of tokens.
PPG_Token
void * PPG_Token
The token type.
Definition:
ppg_token.h:38
Generated by
1.8.6