xref: /Universal-ctags/dsl/qualifier.h (revision e475a54f98d437b3aadb03b1f471893e54f1090b)
1 /*
2 *   Copyright (c) 2016, Masatake YAMATO
3 *   Copyright (c) 2016, Red Hat, Inc.
4 *
5 *   This source code is released for free distribution under the terms of the
6 *   GNU General Public License version 2 or (at your option) any later version.
7 */
8 
9 #ifndef QUALIFIER_H
10 #define QUALIFIER_H
11 
12 #include "es.h"
13 #include "readtags.h"
14 
15 #include <stdio.h>
16 
17 typedef struct sQCode QCode;
18 
19 enum QRESULT {
20 	Q_REJECT,
21 	Q_ACCEPT,
22 	Q_ERROR,
23 };
24 
25 QCode       *q_compile        (EsObject *exp);
26 enum QRESULT q_is_acceptable  (QCode *code, tagEntry *entry);
27 void         q_destroy        (QCode *code);
28 void         q_help           (FILE *fp);
29 
30 #endif
31