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 ClearStmt {
67 pub fn stmt_type_name(&self) -> String {
68 "ClearStmt".to_string()
69 }
70}
71
72impl WitnessExistFact {
73 pub fn stmt_type_name(&self) -> String {
74 "WitnessExistFact".to_string()
75 }
76}
77
78impl WitnessNonemptySet {
79 pub fn stmt_type_name(&self) -> String {
80 "WitnessNonemptySet".to_string()
81 }
82}
83
84impl ByEnumerateFiniteSetStmt {
85 pub fn stmt_type_name(&self) -> String {
86 "ByEnumerateFiniteSetStmt".to_string()
87 }
88}
89
90impl ByCasesStmt {
91 pub fn stmt_type_name(&self) -> String {
92 "ByCasesStmt".to_string()
93 }
94}
95
96impl ByContraStmt {
97 pub fn stmt_type_name(&self) -> String {
98 "ByContraStmt".to_string()
99 }
100}
101
102impl ByInducStmt {
103 pub fn stmt_type_name(&self) -> String {
104 "ByInducStmt".to_string()
105 }
106}
107
108impl ByForStmt {
109 pub fn stmt_type_name(&self) -> String {
110 "ByForStmt".to_string()
111 }
112}
113
114impl ByExtensionStmt {
115 pub fn stmt_type_name(&self) -> String {
116 "ByExtensionStmt".to_string()
117 }
118}
119
120impl ByFnStmt {
121 pub fn stmt_type_name(&self) -> String {
122 "ByFnStmt".to_string()
123 }
124}
125
126impl ByFnSetStmt {
127 pub fn stmt_type_name(&self) -> String {
128 "ByFnSetStmt".to_string()
129 }
130}
131
132impl ByFamilyStmt {
133 pub fn stmt_type_name(&self) -> String {
134 "ByFamilyStmt".to_string()
135 }
136}
137
138impl ByTupleStmt {
139 pub fn stmt_type_name(&self) -> String {
140 "ByTupleStmt".to_string()
141 }
142}
143
144impl ByEnumerateClosedRangeStmt {
145 pub fn stmt_type_name(&self) -> String {
146 "ByEnumerateClosedRangeStmt".to_string()
147 }
148}
149
150impl DefAbstractPropStmt {
151 pub fn stmt_type_name(&self) -> String {
152 "DefAbstractPropStmt".to_string()
153 }
154}
155
156impl DefPropStmt {
157 pub fn stmt_type_name(&self) -> String {
158 "DefPropStmt".to_string()
159 }
160}
161
162impl DefLetStmt {
163 pub fn stmt_type_name(&self) -> String {
164 "DefLetStmt".to_string()
165 }
166}
167
168impl HaveObjInNonemptySetOrParamTypeStmt {
169 pub fn stmt_type_name(&self) -> String {
170 "HaveObjInNonemptySetOrParamTypeStmt".to_string()
171 }
172}
173
174impl HaveObjEqualStmt {
175 pub fn stmt_type_name(&self) -> String {
176 "HaveObjEqualStmt".to_string()
177 }
178}
179
180impl HaveByExistStmt {
181 pub fn stmt_type_name(&self) -> String {
182 "HaveExistObjStmt".to_string()
183 }
184}
185
186impl HaveFnEqualStmt {
187 pub fn stmt_type_name(&self) -> String {
188 "HaveFnEqualStmt".to_string()
189 }
190}
191
192impl HaveFnEqualCaseByCaseStmt {
193 pub fn stmt_type_name(&self) -> String {
194 "HaveFnEqualCaseByCaseStmt".to_string()
195 }
196}
197
198impl HaveFnByInducStmt {
199 pub fn stmt_type_name(&self) -> String {
200 "HaveFnByInducStmt".to_string()
201 }
202}
203
204impl DefFamilyStmt {
205 pub fn stmt_type_name(&self) -> String {
206 "DefFamilyStmt".to_string()
207 }
208}