Skip to main content

ISyntaxErrorExceptionMethods

Trait ISyntaxErrorExceptionMethods 

Source
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§

Source

fn get_token(self) -> Token

get_Token() overload

Source

fn set_token(self, value: impl Into<Token>)

set_Token(crate::moon_sharp::interpreter::tree::token::Token) overload

Source

fn get_to_line(self) -> i32

get_ToLine() overload

Source

fn get_from_line(self) -> i32

get_FromLine() overload

Source

fn get_is_premature_stream_termination(self) -> bool

get_IsPrematureStreamTermination() overload

Source

fn set_is_premature_stream_termination(self, value: impl Into<bool>)

set_IsPrematureStreamTermination(bool) overload

Source

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

Source

fn ctor_2(self, t: impl Into<Token>, message: impl Into<Il2CppString>)

.ctor(crate::moon_sharp::interpreter::tree::token::Token, ::unity::Il2CppString) overload

Source

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

Source

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

Source

fn ctor_5(self, syntax_error_exception: impl Into<SyntaxErrorException>)

.ctor(crate::moon_sharp::interpreter::syntaxerrorexception::SyntaxErrorException) overload

Source

fn decorate_message(self, script: impl Into<Script>)

DecorateMessage(crate::moon_sharp::interpreter::script::Script) overload

Source

fn rethrow(self)

Rethrow() 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§

Source§

impl<__T: ISyntaxErrorException> ISyntaxErrorExceptionMethods for __T

Available on crate feature moon_sharp-interpreter-syntaxerrorexception only.