Skip to main content

engage/generated/moon_sharp/interpreter/execution/scopes/
buildtimescopeframe.rs

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