litex/stmt/
stmt_type_name.rs1use crate::prelude::*;
2
3impl ProveStmt {
4 pub fn stmt_type_name(&self) -> String {
5 "ProveStmt".to_string()
6 }
7}
8
9impl ClaimStmt {
10 pub fn stmt_type_name(&self) -> String {
11 "ClaimStmt".to_string()
12 }
13}
14
15impl KnowStmt {
16 pub fn stmt_type_name(&self) -> String {
17 "KnowStmt".to_string()
18 }
19}
20
21impl EvalStmt {
22 pub fn stmt_type_name(&self) -> String {
23 "EvalStmt".to_string()
24 }
25}
26
27impl DefAlgoStmt {
28 pub fn stmt_type_name(&self) -> String {
29 "DefAlgoStmt".to_string()
30 }
31}
32
33impl RunFileStmt {
34 pub fn stmt_type_name(&self) -> String {
35 "RunFileStmt".to_string()
36 }
37}
38
39impl ImportRelativePathStmt {
40 pub fn stmt_type_name(&self) -> String {
41 "ImportRelativePathStmt".to_string()
42 }
43}
44
45impl ImportGlobalModuleStmt {
46 pub fn stmt_type_name(&self) -> String {
47 "ImportGlobalModuleStmt".to_string()
48 }
49}
50
51impl ImportStmt {
52 pub fn stmt_type_name(&self) -> String {
53 match self {
54 ImportStmt::ImportRelativePath(stmt) => stmt.stmt_type_name(),
55 ImportStmt::ImportGlobalModule(stmt) => stmt.stmt_type_name(),
56 }
57 }
58}
59
60impl DoNothingStmt {
61 pub fn stmt_type_name(&self) -> String {
62 "DoNothingStmt".to_string()
63 }
64}
65
66impl WitnessExistFact {
67 pub fn stmt_type_name(&self) -> String {
68 "WitnessExistFact".to_string()
69 }
70}
71
72impl WitnessNonemptySet {
73 pub fn stmt_type_name(&self) -> String {
74 "WitnessNonemptySet".to_string()
75 }
76}
77
78impl ByEnumerateStmt {
79 pub fn stmt_type_name(&self) -> String {
80 "ByEnumerateStmt".to_string()
81 }
82}
83
84impl ByCasesStmt {
85 pub fn stmt_type_name(&self) -> String {
86 "ByCasesStmt".to_string()
87 }
88}
89
90impl ByContraStmt {
91 pub fn stmt_type_name(&self) -> String {
92 "ByContraStmt".to_string()
93 }
94}
95
96impl ByInducStmt {
97 pub fn stmt_type_name(&self) -> String {
98 "ByInducStmt".to_string()
99 }
100}
101
102impl ByForStmt {
103 pub fn stmt_type_name(&self) -> String {
104 "ByForStmt".to_string()
105 }
106}
107
108impl ByExtensionStmt {
109 pub fn stmt_type_name(&self) -> String {
110 "ByExtensionStmt".to_string()
111 }
112}
113
114impl ByFnStmt {
115 pub fn stmt_type_name(&self) -> String {
116 "ByFnStmt".to_string()
117 }
118}
119
120impl ByFnSetStmt {
121 pub fn stmt_type_name(&self) -> String {
122 "ByFnSetStmt".to_string()
123 }
124}
125
126impl ByFamilyStmt {
127 pub fn stmt_type_name(&self) -> String {
128 "ByFamilyStmt".to_string()
129 }
130}
131
132impl ByStructStmt {
133 pub fn stmt_type_name(&self) -> String {
134 "ByStructStmt".to_string()
135 }
136}
137
138impl ByTupleStmt {
139 pub fn stmt_type_name(&self) -> String {
140 "ByTupleStmt".to_string()
141 }
142}
143
144impl DefAbstractPropStmt {
145 pub fn stmt_type_name(&self) -> String {
146 "DefAbstractPropStmt".to_string()
147 }
148}
149
150impl DefPropStmt {
151 pub fn stmt_type_name(&self) -> String {
152 "DefPropStmt".to_string()
153 }
154}
155
156impl DefLetStmt {
157 pub fn stmt_type_name(&self) -> String {
158 "DefLetStmt".to_string()
159 }
160}
161
162impl HaveObjInNonemptySetOrParamTypeStmt {
163 pub fn stmt_type_name(&self) -> String {
164 "HaveObjInNonemptySetOrParamTypeStmt".to_string()
165 }
166}
167
168impl HaveObjEqualStmt {
169 pub fn stmt_type_name(&self) -> String {
170 "HaveObjEqualStmt".to_string()
171 }
172}
173
174impl HaveByExistStmt {
175 pub fn stmt_type_name(&self) -> String {
176 "HaveExistObjStmt".to_string()
177 }
178}
179
180impl HaveFnEqualStmt {
181 pub fn stmt_type_name(&self) -> String {
182 "HaveFnEqualStmt".to_string()
183 }
184}
185
186impl HaveFnEqualCaseByCaseStmt {
187 pub fn stmt_type_name(&self) -> String {
188 "HaveFnEqualCaseByCaseStmt".to_string()
189 }
190}
191
192impl HaveFnByInducStmt {
193 pub fn stmt_type_name(&self) -> String {
194 "HaveFnByInducStmt".to_string()
195 }
196}
197
198impl DefFamilyStmt {
199 pub fn stmt_type_name(&self) -> String {
200 "DefFamilyStmt".to_string()
201 }
202}
203
204impl DefStructStmt {
205 pub fn stmt_type_name(&self) -> String {
206 "DefStructStmt".to_string()
207 }
208}