1#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/moon_sharp/interpreter/execution/scopes/buildtimescopeblock/BuildTimeScopeBlock.md"))]
11 #[::unity::class(namespace = "MoonSharp.Interpreter.Execution.Scopes", name = "BuildTimeScopeBlock")]
12 #[parent(crate::system::object::Object)]
13 pub struct BuildTimeScopeBlock {
14 #[offset(40)]
15 #[rename(name = "m_DefinedNames")]
16 pub m_defined_names: crate::system::collections::generic::dictionary_2::Dictionary_2<
17 ::unity::Il2CppString,
18 crate::moon_sharp::interpreter::symbolref::SymbolRef,
19 >,
20 #[offset(48)]
21 #[rename(name = "m_PendingGotos")]
22 pub m_pending_gotos:
23 crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement>,
24 #[offset(56)]
25 #[rename(name = "m_LocalLabels")]
26 pub m_local_labels: crate::system::collections::generic::dictionary_2::Dictionary_2<
27 ::unity::Il2CppString,
28 crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement,
29 >,
30 #[offset(64)]
31 #[rename(name = "m_LastDefinedName")]
32 pub m_last_defined_name: ::unity::Il2CppString,
33 }
34}
35
36#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock-types")]
37pub use __types::*;
38
39#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock")]
40#[doc(hidden)]
41#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
42mod __BuildTimeScopeBlock_unity_raw {
43 use super::*;
44 #[doc(hidden)]
45 #[allow(non_snake_case)]
46 pub mod __lookup_get_parent {
47 use super::*;
48 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
49 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
50 ::unity::lookup::method_info_on_class_with_signature(
51 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
52 "get_Parent",
53 0,
54 param_types,
55 false,
56 )
57 });
58 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
59 match &*METHOD {
60 ::core::result::Result::Ok(mi) => *mi,
61 ::core::result::Result::Err(e) => {
62 panic!(
63 "method lookup failed: {}
64::{}
65: {}
66",
67 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
68 "get_Parent",
69 e
70 )
71 },
72 }
73 }
74 }
75 #[doc(hidden)]
76 #[allow(non_snake_case)]
77 pub mod __lookup_set_parent {
78 use super::*;
79 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
80 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
81 &[<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock as ::unity::IlType>::il_type()];
82 ::unity::lookup::method_info_on_class_with_signature(
83 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
84 "set_Parent",
85 1,
86 param_types,
87 false,
88 )
89 });
90 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91 match &*METHOD {
92 ::core::result::Result::Ok(mi) => *mi,
93 ::core::result::Result::Err(e) => {
94 panic!(
95 "method lookup failed: {}
96::{}
97: {}
98",
99 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
100 "set_Parent",
101 e
102 )
103 },
104 }
105 }
106 }
107 #[doc(hidden)]
108 #[allow(non_snake_case)]
109 pub mod __lookup_get_child_nodes {
110 use super::*;
111 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
112 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
113 ::unity::lookup::method_info_on_class_with_signature(
114 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
115 "get_ChildNodes",
116 0,
117 param_types,
118 false,
119 )
120 });
121 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
122 match &*METHOD {
123 ::core::result::Result::Ok(mi) => *mi,
124 ::core::result::Result::Err(e) => {
125 panic!(
126 "method lookup failed: {}
127::{}
128: {}
129",
130 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
131 "get_ChildNodes",
132 e
133 )
134 },
135 }
136 }
137 }
138 #[doc(hidden)]
139 #[allow(non_snake_case)]
140 pub mod __lookup_set_child_nodes {
141 use super::*;
142 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
143 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::collections::generic::list_1::List_1<
144 crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock,
145 > as ::unity::IlType>::il_type()];
146 ::unity::lookup::method_info_on_class_with_signature(
147 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
148 "set_ChildNodes",
149 1,
150 param_types,
151 false,
152 )
153 });
154 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155 match &*METHOD {
156 ::core::result::Result::Ok(mi) => *mi,
157 ::core::result::Result::Err(e) => {
158 panic!(
159 "method lookup failed: {}
160::{}
161: {}
162",
163 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
164 "set_ChildNodes",
165 e
166 )
167 },
168 }
169 }
170 }
171 #[doc(hidden)]
172 #[allow(non_snake_case)]
173 pub mod __lookup_get_scope_block {
174 use super::*;
175 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
176 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
177 ::unity::lookup::method_info_on_class_with_signature(
178 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
179 "get_ScopeBlock",
180 0,
181 param_types,
182 false,
183 )
184 });
185 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186 match &*METHOD {
187 ::core::result::Result::Ok(mi) => *mi,
188 ::core::result::Result::Err(e) => {
189 panic!(
190 "method lookup failed: {}
191::{}
192: {}
193",
194 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
195 "get_ScopeBlock",
196 e
197 )
198 },
199 }
200 }
201 }
202 #[doc(hidden)]
203 #[allow(non_snake_case)]
204 pub mod __lookup_set_scope_block {
205 use super::*;
206 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
207 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
208 &[<crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock as ::unity::IlType>::il_type()];
209 ::unity::lookup::method_info_on_class_with_signature(
210 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
211 "set_ScopeBlock",
212 1,
213 param_types,
214 false,
215 )
216 });
217 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218 match &*METHOD {
219 ::core::result::Result::Ok(mi) => *mi,
220 ::core::result::Result::Err(e) => {
221 panic!(
222 "method lookup failed: {}
223::{}
224: {}
225",
226 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
227 "set_ScopeBlock",
228 e
229 )
230 },
231 }
232 }
233 }
234 #[doc(hidden)]
235 #[allow(non_snake_case)]
236 pub mod __lookup_rename {
237 use super::*;
238 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
239 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
240 ::unity::lookup::method_info_on_class_with_signature(
241 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
242 "Rename",
243 1,
244 param_types,
245 false,
246 )
247 });
248 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249 match &*METHOD {
250 ::core::result::Result::Ok(mi) => *mi,
251 ::core::result::Result::Err(e) => {
252 panic!(
253 "method lookup failed: {}
254::{}
255: {}
256",
257 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
258 "Rename",
259 e
260 )
261 },
262 }
263 }
264 }
265 #[doc(hidden)]
266 #[allow(non_snake_case)]
267 pub mod __lookup_ctor {
268 use super::*;
269 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
270 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
271 &[<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock as ::unity::IlType>::il_type()];
272 ::unity::lookup::method_info_on_class_with_signature(
273 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
274 ".ctor",
275 1,
276 param_types,
277 false,
278 )
279 });
280 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281 match &*METHOD {
282 ::core::result::Result::Ok(mi) => *mi,
283 ::core::result::Result::Err(e) => {
284 panic!(
285 "method lookup failed: {}
286::{}
287: {}
288",
289 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
290 ".ctor",
291 e
292 )
293 },
294 }
295 }
296 }
297 #[doc(hidden)]
298 #[allow(non_snake_case)]
299 pub mod __lookup_add_child {
300 use super::*;
301 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
302 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
303 ::unity::lookup::method_info_on_class_with_signature(
304 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
305 "AddChild",
306 0,
307 param_types,
308 false,
309 )
310 });
311 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 match &*METHOD {
313 ::core::result::Result::Ok(mi) => *mi,
314 ::core::result::Result::Err(e) => {
315 panic!(
316 "method lookup failed: {}
317::{}
318: {}
319",
320 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
321 "AddChild",
322 e
323 )
324 },
325 }
326 }
327 }
328 #[doc(hidden)]
329 #[allow(non_snake_case)]
330 pub mod __lookup_find {
331 use super::*;
332 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
333 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
334 ::unity::lookup::method_info_on_class_with_signature(
335 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
336 "Find",
337 1,
338 param_types,
339 false,
340 )
341 });
342 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343 match &*METHOD {
344 ::core::result::Result::Ok(mi) => *mi,
345 ::core::result::Result::Err(e) => {
346 panic!(
347 "method lookup failed: {}
348::{}
349: {}
350",
351 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
352 "Find",
353 e
354 )
355 },
356 }
357 }
358 }
359 #[doc(hidden)]
360 #[allow(non_snake_case)]
361 pub mod __lookup_define {
362 use super::*;
363 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
364 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
365 ::unity::lookup::method_info_on_class_with_signature(
366 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
367 "Define",
368 1,
369 param_types,
370 false,
371 )
372 });
373 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 match &*METHOD {
375 ::core::result::Result::Ok(mi) => *mi,
376 ::core::result::Result::Err(e) => {
377 panic!(
378 "method lookup failed: {}
379::{}
380: {}
381",
382 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
383 "Define",
384 e
385 )
386 },
387 }
388 }
389 }
390 #[doc(hidden)]
391 #[allow(non_snake_case)]
392 pub mod __lookup_resolve_l_refs {
393 use super::*;
394 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
395 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
396 &[<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeframe::BuildTimeScopeFrame as ::unity::IlType>::il_type()];
397 ::unity::lookup::method_info_on_class_with_signature(
398 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
399 "ResolveLRefs",
400 1,
401 param_types,
402 false,
403 )
404 });
405 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 match &*METHOD {
407 ::core::result::Result::Ok(mi) => *mi,
408 ::core::result::Result::Err(e) => {
409 panic!(
410 "method lookup failed: {}
411::{}
412: {}
413",
414 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
415 "ResolveLRefs",
416 e
417 )
418 },
419 }
420 }
421 }
422 #[doc(hidden)]
423 #[allow(non_snake_case)]
424 pub mod __lookup_define_label {
425 use super::*;
426 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
427 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
428 &[<crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement as ::unity::IlType>::il_type()];
429 ::unity::lookup::method_info_on_class_with_signature(
430 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
431 "DefineLabel",
432 1,
433 param_types,
434 false,
435 )
436 });
437 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438 match &*METHOD {
439 ::core::result::Result::Ok(mi) => *mi,
440 ::core::result::Result::Err(e) => {
441 panic!(
442 "method lookup failed: {}
443::{}
444: {}
445",
446 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
447 "DefineLabel",
448 e
449 )
450 },
451 }
452 }
453 }
454 #[doc(hidden)]
455 #[allow(non_snake_case)]
456 pub mod __lookup_register_goto {
457 use super::*;
458 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
459 let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
460 &[<crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement as ::unity::IlType>::il_type()];
461 ::unity::lookup::method_info_on_class_with_signature(
462 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
463 "RegisterGoto",
464 1,
465 param_types,
466 false,
467 )
468 });
469 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470 match &*METHOD {
471 ::core::result::Result::Ok(mi) => *mi,
472 ::core::result::Result::Err(e) => {
473 panic!(
474 "method lookup failed: {}
475::{}
476: {}
477",
478 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
479 "RegisterGoto",
480 e
481 )
482 },
483 }
484 }
485 }
486 #[doc(hidden)]
487 #[allow(non_snake_case)]
488 pub mod __lookup_resolve_gotos {
489 use super::*;
490 static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
491 let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
492 ::unity::lookup::method_info_on_class_with_signature(
493 <BuildTimeScopeBlock as ::unity::ClassIdentity>::class(),
494 "ResolveGotos",
495 0,
496 param_types,
497 false,
498 )
499 });
500 pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501 match &*METHOD {
502 ::core::result::Result::Ok(mi) => *mi,
503 ::core::result::Result::Err(e) => {
504 panic!(
505 "method lookup failed: {}
506::{}
507: {}
508",
509 <BuildTimeScopeBlock as ::unity::ClassIdentity>::NAME,
510 "ResolveGotos",
511 e
512 )
513 },
514 }
515 }
516 }
517}
518
519#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock")]
520pub trait IBuildTimeScopeBlockMethods: IBuildTimeScopeBlock {
521 #[doc = "`get_Parent()` overload"]
522 fn get_parent(self) -> crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock {
523 unsafe {
524 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
525 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_get_parent::get_method_info().method_ptr,crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock;
526(BuildTimeScopeBlock)__receiver)
527 }
528 }
529 #[doc = "`set_Parent(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock)` overload"]
530 fn set_parent(
531 self,
532 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock>,
533 ) -> () {
534 unsafe {
535 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
536 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_set_parent::get_method_info().method_ptr,();
537(BuildTimeScopeBlock)__receiver,(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock)::core::convert::Into::into(value))
538 }
539 }
540 #[doc = "`get_ChildNodes()` overload"]
541 fn get_child_nodes(
542 self,
543 ) -> crate::system::collections::generic::list_1::List_1<
544 crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock,
545 > {
546 unsafe {
547 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
548 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_get_child_nodes::get_method_info().method_ptr,crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock> ;
549(BuildTimeScopeBlock)__receiver)
550 }
551 }
552 #[doc = "`set_ChildNodes(crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock>)` overload"]
553 fn set_child_nodes(
554 self,
555 value: impl ::core::convert::Into<
556 crate::system::collections::generic::list_1::List_1<
557 crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock,
558 >,
559 >,
560 ) -> () {
561 unsafe {
562 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
563 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_set_child_nodes::get_method_info().method_ptr,();
564(BuildTimeScopeBlock)__receiver,(crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock>)::core::convert::Into::into(value))
565 }
566 }
567 #[doc = "`get_ScopeBlock()` overload"]
568 fn get_scope_block(self) -> crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock {
569 unsafe {
570 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
571 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_get_scope_block::get_method_info().method_ptr,crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock;
572(BuildTimeScopeBlock)__receiver)
573 }
574 }
575 #[doc = "`set_ScopeBlock(crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock)` overload"]
576 fn set_scope_block(
577 self,
578 value: impl ::core::convert::Into<crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock>,
579 ) -> () {
580 unsafe {
581 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
582 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_set_scope_block::get_method_info().method_ptr,();
583(BuildTimeScopeBlock)__receiver,(crate::moon_sharp::interpreter::execution::runtimescopeblock::RuntimeScopeBlock)::core::convert::Into::into(value))
584 }
585 }
586 #[doc = "`Rename(::unity::Il2CppString)` overload"]
587 fn rename(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
588 unsafe {
589 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
590 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_rename::get_method_info().method_ptr,();
591(BuildTimeScopeBlock)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
592 }
593 }
594 #[doc = "`.ctor(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock)` overload"]
595 fn ctor(
596 self,
597 parent: impl ::core::convert::Into<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock>,
598 ) -> () {
599 unsafe {
600 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
601 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
602(BuildTimeScopeBlock)__receiver,(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock)::core::convert::Into::into(parent))
603 }
604 }
605 #[doc = "`AddChild()` overload"]
606 fn add_child(self) -> crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock {
607 unsafe {
608 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
609 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_add_child::get_method_info().method_ptr,crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock;
610(BuildTimeScopeBlock)__receiver)
611 }
612 }
613 #[doc = "`Find(::unity::Il2CppString)` overload"]
614 fn find(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::moon_sharp::interpreter::symbolref::SymbolRef {
615 unsafe {
616 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
617 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_find::get_method_info().method_ptr,crate::moon_sharp::interpreter::symbolref::SymbolRef;
618(BuildTimeScopeBlock)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
619 }
620 }
621 #[doc = "`Define(::unity::Il2CppString)` overload"]
622 fn define(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::moon_sharp::interpreter::symbolref::SymbolRef {
623 unsafe {
624 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
625 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_define::get_method_info().method_ptr,crate::moon_sharp::interpreter::symbolref::SymbolRef;
626(BuildTimeScopeBlock)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
627 }
628 }
629 #[doc = "`ResolveLRefs(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeframe::BuildTimeScopeFrame)` overload"]
630 fn resolve_l_refs(
631 self,
632 build_time_scope_frame: impl ::core::convert::Into<crate::moon_sharp::interpreter::execution::scopes::buildtimescopeframe::BuildTimeScopeFrame>,
633 ) -> i32 {
634 unsafe {
635 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
636 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_resolve_l_refs::get_method_info().method_ptr,i32;
637(BuildTimeScopeBlock)__receiver,(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeframe::BuildTimeScopeFrame)::core::convert::Into::into(build_time_scope_frame))
638 }
639 }
640 #[doc = "`DefineLabel(crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement)` overload"]
641 fn define_label(self, label: impl ::core::convert::Into<crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement>) -> () {
642 unsafe {
643 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
644 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_define_label::get_method_info().method_ptr,();
645(BuildTimeScopeBlock)__receiver,(crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement)::core::convert::Into::into(label))
646 }
647 }
648 #[doc = "`RegisterGoto(crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement)` overload"]
649 fn register_goto(
650 self,
651 gotostat: impl ::core::convert::Into<crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement>,
652 ) -> () {
653 unsafe {
654 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
655 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_register_goto::get_method_info().method_ptr,();
656(BuildTimeScopeBlock)__receiver,(crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement)::core::convert::Into::into(gotostat))
657 }
658 }
659 #[doc = "`ResolveGotos()` overload"]
660 fn resolve_gotos(self) -> () {
661 unsafe {
662 let __receiver = <BuildTimeScopeBlock as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
663 ::unity::il2cpp_call!(__BuildTimeScopeBlock_unity_raw::__lookup_resolve_gotos::get_method_info().method_ptr,();
664(BuildTimeScopeBlock)__receiver)
665 }
666 }
667}
668
669#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock")]
670impl<__T: IBuildTimeScopeBlock> IBuildTimeScopeBlockMethods for __T {}
671
672#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock")]
673impl BuildTimeScopeBlock {
674 pub fn get_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
675 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
676 }
677
678 pub fn set_parent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
679 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
680 }
681
682 pub fn get_child_nodes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
683 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
684 }
685
686 pub fn set_child_nodes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
687 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
688 }
689
690 pub fn get_scope_block_method_info() -> &'static ::unity::il2cpp::MethodInfo {
691 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
692 }
693
694 pub fn set_scope_block_method_info() -> &'static ::unity::il2cpp::MethodInfo {
695 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
696 }
697
698 pub fn rename_method_info() -> &'static ::unity::il2cpp::MethodInfo {
699 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
700 }
701
702 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
703 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
704 }
705
706 pub fn add_child_method_info() -> &'static ::unity::il2cpp::MethodInfo {
707 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
708 }
709
710 pub fn find_method_info() -> &'static ::unity::il2cpp::MethodInfo {
711 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
712 }
713
714 pub fn define_method_info() -> &'static ::unity::il2cpp::MethodInfo {
715 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
716 }
717
718 pub fn resolve_l_refs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
719 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
720 }
721
722 pub fn define_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
723 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
724 }
725
726 pub fn register_goto_method_info() -> &'static ::unity::il2cpp::MethodInfo {
727 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
728 }
729
730 pub fn resolve_gotos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
731 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
732 }
733}
734
735#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock")]
736impl BuildTimeScopeBlock {
737 #[doc = "`.ctor(crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock)` — overload selector"]
738 pub fn new(parent: crate::moon_sharp::interpreter::execution::scopes::buildtimescopeblock::BuildTimeScopeBlock) -> Self {
739 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
740 panic!(
741 "{}
742::{}
743 failed to instantiate",
744 ::core::stringify!(BuildTimeScopeBlock),
745 ::core::stringify!(new),
746 )
747 });
748 <Self as IBuildTimeScopeBlockMethods>::ctor(this, parent);
749 this
750 }
751}
752
753#[cfg(feature = "moon_sharp-interpreter-execution-scopes-buildtimescopeblock")]
754#[doc(hidden)]
755pub mod prelude {
756 pub use super::{BuildTimeScopeBlock, IBuildTimeScopeBlock, IBuildTimeScopeBlockMethods};
757 pub use crate::system::object::IObject;
758 #[cfg(feature = "system-object")]
759 pub use crate::system::object::IObjectMethods;
760}