comparison paper/src/StackParseDetail.pl @ 86:eff53884ce6c

...
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Fri, 05 Feb 2021 12:33:08 +0900
parents
children
comparison
equal deleted inserted replaced
85:c6c4b103c705 86:eff53884ce6c
1 \ {
2 codeName {
3 clear {
4 argc 1,
5 args "Impl* stack,__code next(...)",
6 name "clear"
7 },
8 get {
9 argc 1,
10 args "Impl* stack, __code next(union Data* data, ...)",
11 name "get"
12 },
13 get2 {
14 argc 1,
15 args "Impl* stack, __code next(union Data* data, union Data* data1, ...)",
16 name "get2"
17 },
18 isEmpty {
19 argc 2,
20 args "Impl* stack, __code next(...), __code whenEmpty(...)",
21 name "isEmpty"
22 },
23 pop {
24 argc 1,
25 args "Impl* stack, __code next(union Data* data, ...)",
26 name "pop"
27 },
28 pop2 {
29 argc 1,
30 args "Impl* stack, __code next(union Data* data, union Data* data1, ...)",
31 name "pop2"
32 },
33 push {
34 argc 2,
35 args "Impl* stack,union Data* data, __code next(...)",
36 name "push"
37 }
38 },
39 codes [
40 [0] var{codeName}{clear},
41 [1] var{codeName}{push},
42 [2] var{codeName}{pop},
43 [3] var{codeName}{pop2},
44 [4] var{codeName}{isEmpty},
45 [5] var{codeName}{get},
46 [6] var{codeName}{get2}
47 ],
48 content [
49 [0] "enum Code clear;",
50 [1] "union Data* stack;",
51 [2] "enum Code push;",
52 [3] "union Data* data;",
53 [4] "enum Code pop;",
54 [5] "enum Code pop2;",
55 [6] "union Data* data1;",
56 [7] "enum Code isEmpty;",
57 [8] "enum Code get;",
58 [9] "enum Code get2;",
59 [10] "enum Code next;",
60 [11] "enum Code whenEmpty;"
61 ],
62 data [
63 [0] "union Data* stack;",
64 [1] "union Data* data;",
65 [2] "union Data* data1;"
66 ],
67 file_name "Stack.h",
68 hasOutputArgs {
69 get {
70 data "Data*"
71 },
72 get2 {
73 data "Data*",
74 Data "union",
75 data1 "*"
76 },
77 pop {
78 data "Data*"
79 },
80 pop2 {
81 data "Data*",
82 Data "union",
83 data1 "*"
84 }
85 },
86 inner_code_gears {
87 next 1,
88 whenEmpty 1
89 },
90 name "Stack"
91 }
92