forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependency.h
46 lines (39 loc) · 819 Bytes
/
dependency.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
*
* Copyright (c) 2016, Red Hat, Inc.
* Copyright (c) 2016, Masatake YAMATO
*
* Author: Masatake YAMATO <[email protected]>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
*/
#ifndef CTAGS_MAIN_DEPENDENCY_H
#define CTAGS_MAIN_DEPENDENCY_H
/*
* INCLUDE FILES
*/
#include "general.h" /* must always come first */
#include "types.h"
/*
* DATA DECLARATIONS
*/
typedef enum eDepType {
DEPTYPE_KIND_OWNER,
DEPTYPE_SUBPARSER,
DEPTYPE_FOREIGNER,
COUNT_DEPTYPES,
} depType;
struct sParserDependency {
depType type;
const char *upperParser;
void *data;
};
struct sSlaveParser {
depType type;
langType id;
void *data;
slaveParser *next;
};
#endif /* CTAGS_MAIN_DEPENDENCY_H */