blob: 32fae32307d5b1c1f7d5de0f39f250b5aba7c4f9 (
plain)
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
|
/*
file: term_test3.dat
term def after sux error
*/
terminals
(file-name yacco2_terminals
,name-space NS_yacco2_terminals){
terminals-refs
using namespace std;
using namespace NS_yacco2_err_symbols;
struct T_c_literal;
struct T_identifier;
struct T_syntax_code;
struct T_fsm_class_phrase;
struct T_fsm_class;
struct T_fsm_phrase;
struct T_fsm_operation_phrase;
struct T_parallel_parser_phrase;
struct T_enum_phrase;
struct T_error_symbols_phrase;
struct T_rc_phrase;
struct T_lr1_k_phrase;
struct T_terminals_phrase;
//struct pas_tble_lkup;
//extern "C" pas_tble_lkup* PAS_SYM_TBL_PTR;
***
"#AD" AD (sym-class T_AD)
"#AB" AD (sym-class T_AB)
"#parallel-la-boundary"
(sym-class T_parallel_la_boundary{
user-declaration
public:
T_parallel_la_boundary();
INT start_pos();
void start_pos(INT Start);
INT stop_pos();
void stop_pos(INT Stop);
void supplier(token_container_type* Supplier);
token_container_type* supplier();
private:INT start_pos_;INT stop_pos_;token_container_type* supplier_;
***
user-implementation
T_parallel_la_boundary::T_parallel_la_boundary() {
T_CTOR("#parallel-la-boundary",T_T_parallel_la_boundary_,0,0,false,false,0,0)
start_pos_ = 0;stop_pos_ = 0;supplier_ = 0;}
token_container_type* T_parallel_la_boundary::supplier(){return supplier_;}
void T_parallel_la_boundary::supplier(token_container_type* Supplier){supplier_ = Supplier;}
INT T_parallel_la_boundary::start_pos(){return start_pos_;}
void T_parallel_la_boundary::start_pos(INT Start){start_pos_ = Start;}
INT T_parallel_la_boundary::stop_pos(){return stop_pos_;}
void T_parallel_la_boundary::stop_pos(INT Stop){stop_pos_ = Stop;}
***
}
)
terminals-sufx
#include "pas_tbl_lkup.h"
***
"#***" (sym-class T_eocode)
} // end of terminals
|