comparison anagram/guisupport/tokentabdc.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 * tokentab.h
7 */
8
9 #ifndef TOKENTABDC_H
10 #define TOKENTABDC_H
11
12 #include "dc.h"
13
14 class token_table_dc : public dc {
15 public:
16 static MenuOption *auxTable[];
17 virtual MenuOption **getAuxWinMenu(void) { return auxTable; }
18
19 token_table_dc(void);
20 token_table_dc(token_table_dc &x) : dc(x) {}
21
22 virtual void getLine(unsigned) const;
23
24 virtual dc_ref expansion_rules(unsigned);
25 virtual dc_ref productions(unsigned);
26 virtual dc_ref set_elements(unsigned);
27 virtual dc_ref usage(unsigned);
28
29 virtual int expansion_rules_ok(unsigned);
30 virtual int productions_ok(unsigned);
31 virtual int set_elements_ok(unsigned);
32 virtual int usage_ok(unsigned);
33 };
34
35
36 #endif /* TOKENTABDC_H */