pub trait ISyntaxErrorExceptionMethods: ISyntaxErrorException {
Show 13 methods
// Provided methods
fn get_token(self) -> Token { ... }
fn set_token(self, value: impl Into<Token>) { ... }
fn get_to_line(self) -> i32 { ... }
fn get_from_line(self) -> i32 { ... }
fn get_is_premature_stream_termination(self) -> bool { ... }
fn set_is_premature_stream_termination(self, value: impl Into<bool>) { ... }
fn ctor(
self,
t: impl Into<Token>,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) { ... }
fn ctor_2(self, t: impl Into<Token>, message: impl Into<Il2CppString>) { ... }
fn ctor_3(
self,
script: impl Into<Script>,
sref: impl Into<SourceRef>,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) { ... }
fn ctor_4(
self,
script: impl Into<Script>,
sref: impl Into<SourceRef>,
message: impl Into<Il2CppString>,
) { ... }
fn ctor_5(self, syntax_error_exception: impl Into<SyntaxErrorException>) { ... }
fn decorate_message(self, script: impl Into<Script>) { ... }
fn rethrow(self) { ... }
}Provided Methods§
Sourcefn set_token(self, value: impl Into<Token>)
fn set_token(self, value: impl Into<Token>)
set_Token(crate::moon_sharp::interpreter::tree::token::Token) overload
Sourcefn get_to_line(self) -> i32
fn get_to_line(self) -> i32
get_ToLine() overload
Sourcefn get_from_line(self) -> i32
fn get_from_line(self) -> i32
get_FromLine() overload
Sourcefn get_is_premature_stream_termination(self) -> bool
fn get_is_premature_stream_termination(self) -> bool
get_IsPrematureStreamTermination() overload
Sourcefn set_is_premature_stream_termination(self, value: impl Into<bool>)
fn set_is_premature_stream_termination(self, value: impl Into<bool>)
set_IsPrematureStreamTermination(bool) overload
Sourcefn ctor(
self,
t: impl Into<Token>,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
)
fn ctor( self, t: impl Into<Token>, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, )
.ctor(crate::moon_sharp::interpreter::tree::token::Token, ::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Sourcefn ctor_2(self, t: impl Into<Token>, message: impl Into<Il2CppString>)
fn ctor_2(self, t: impl Into<Token>, message: impl Into<Il2CppString>)
.ctor(crate::moon_sharp::interpreter::tree::token::Token, ::unity::Il2CppString) overload
Sourcefn ctor_3(
self,
script: impl Into<Script>,
sref: impl Into<SourceRef>,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
)
fn ctor_3( self, script: impl Into<Script>, sref: impl Into<SourceRef>, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, )
.ctor(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef, ::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Sourcefn ctor_4(
self,
script: impl Into<Script>,
sref: impl Into<SourceRef>,
message: impl Into<Il2CppString>,
)
fn ctor_4( self, script: impl Into<Script>, sref: impl Into<SourceRef>, message: impl Into<Il2CppString>, )
.ctor(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef, ::unity::Il2CppString) overload
Sourcefn ctor_5(self, syntax_error_exception: impl Into<SyntaxErrorException>)
fn ctor_5(self, syntax_error_exception: impl Into<SyntaxErrorException>)
.ctor(crate::moon_sharp::interpreter::syntaxerrorexception::SyntaxErrorException) overload
Sourcefn decorate_message(self, script: impl Into<Script>)
fn decorate_message(self, script: impl Into<Script>)
DecorateMessage(crate::moon_sharp::interpreter::script::Script) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ISyntaxErrorException> ISyntaxErrorExceptionMethods for __T
moon_sharp-interpreter-syntaxerrorexception only.