forked from kevinlawler/kona
-
Notifications
You must be signed in to change notification settings - Fork 0
/
p.h
61 lines (61 loc) · 1.3 KB
/
p.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
I charsAdverb(C c);
extern V adverbs[];
I charsVerb(C c);
I SC(S a,S b);
K *denameS(S dir_string,S t);
K EV(K e);
K newEntry(S s);
extern V vn_[];
K _n();
extern S n_s;
S sp(S k);
K formKfCS(S s);
K formKiCS(S s);
S strdupn(S s,I k);
extern S IFP[3];
K DE(K d,S b);
K Kd();
K kerr(cS s);
K *EVP(K e);
K DI(K d,I i);
K kap(K *a,V v);
K ci(K a);
extern S LS;
K newE(S s,K k);
I sva(V p);
I adverbClass(V p);
I bk(V p);
extern V offsetSSR,offsetWhat,offsetAt,offsetDot,offsetColon;
extern S param_dfa;
I sz(I t,I n);
I lsz(I k);
I capture(S s,I n,I k,I *m,V *w,I *d,K *locals,K *dict,K func);
K Kv();
K cd(K a);
void pdafree(PDA p);
K newK(I t,I n);
K backslash(S s,I n);
extern S __d;
extern K KTREE;
K *denameD(K *d,S t);
K wd_(S s,I n,K *dict,K func);
K wd(S s,I n);
I max(I a,I b);
I mark(I *m,I k,I t);
enum mark_members {MARK_UNMARKED,MARK_IGNORE,MARK_BRACKET,MARK_END,MARK_PAREN,MARK_BRACE,MARK_QUOTE,MARK_SYMBOL,
MARK_NAME,MARK_NUMBER,MARK_VERB,MARK_ADVERB,MARK_CONDITIONAL,MARK_COUNT};
typedef enum mark_members mark_members;
#define EXPORT_INTERFACE 0
I isCharVerb(C c);
I stringHasChar(S s,C c);
C bottom(PDA p);
C pop(PDA p);
C peek(PDA p);
I push(PDA p,C c);
PDA newPDA();
I complete(S a,I n,PDA *q,I *marks);
I parsedepth(PDA p);
extern S right;
extern S left;
extern S formed_dfa;
I charpos(S s,C c);