-
Notifications
You must be signed in to change notification settings - Fork 632
/
Copy pathx-lisp.h
39 lines (32 loc) · 1.12 KB
/
x-lisp.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
/*
* Copyright (c) 2011, Colomban Wendling <[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.
*
* List meata parser interface exported to the other lisp families
*/
#ifndef CTAGS_LISP_H
#define CTAGS_LISP_H
#include "general.h"
#include "field.h"
struct lispDialect {
int (* definer2kind) (const vString *const hint, const char *namespace);
bool case_insensitive;
unsigned char namespace_sep;
int unknown_kind;
fieldDefinition *definer_field;
bool skip_initial_spaces;
bool lambda_syntax_sugar;
bool (* is_def) (struct lispDialect *, const unsigned char *);
int (* get_it) (struct lispDialect *,
vString *const, const unsigned char *, vString *,
const char *);
int scope;
};
void findLispTagsCommon (struct lispDialect *dialect);
int lispGetIt (struct lispDialect *dialect,
vString *const name, const unsigned char *dbp, vString *kind_hint,
const char *namespace);
bool lispIsDef (struct lispDialect *dialect, const unsigned char *strp);
#endif /* CTAGS_LISP_H */