Mercurial > ~dholland > hg > ag > index.cgi
comparison anagram/agcore/rpk.h @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 /* | |
2 * AnaGram, A System for Syntax Directed Programming | |
3 * Copyright 1993-2002 Parsifal Software. All Rights Reserved. | |
4 * See the file COPYING for license and usage terms. | |
5 * | |
6 * rpk.h | |
7 */ | |
8 | |
9 #ifndef RPK_H | |
10 #define RPK_H | |
11 | |
12 class CharSetExpression; // from csexp.h | |
13 class Procedure; // from rule.h | |
14 class RuleElement; // from rule.h | |
15 class Token; // from token.h | |
16 #include "agstack.h" | |
17 | |
18 | |
19 extern AgStack< AgStack<RuleElement> > ruleElementStack; | |
20 | |
21 void defineImmediateProc(Procedure p); | |
22 int form_element_1(CharSetExpression *); | |
23 int form1(void); | |
24 void gen_vp_prods(int tn, int zl, int vptn); | |
25 int id_token(int); | |
26 int makeRule(void); | |
27 int makeRule(Token); | |
28 int makeRule(Token token1, Token token2); | |
29 int makeRule(const AgIndexedContainer<RuleElement> &elementList); | |
30 void shell_production(int,int); | |
31 int vp_1(void); | |
32 int vp_2(void); | |
33 int vp_4(void); | |
34 int vp_6(int); | |
35 int vp_7(int); | |
36 int vp_form3(int); | |
37 void vp_forms(void); | |
38 void warning_here(const char *, ...) PRINTFFY(1,2); | |
39 | |
40 #endif /* RPK_H */ |