Skip to main content

IScriptLoadingContextMethods

Trait IScriptLoadingContextMethods 

Source
pub trait IScriptLoadingContextMethods: IScriptLoadingContext {
Show 13 methods // Provided methods fn get_script(self) -> Script { ... } fn set_script(self, value: impl Into<Script>) { ... } fn get_scope(self) -> BuildTimeScope { ... } fn set_scope(self, value: impl Into<BuildTimeScope>) { ... } fn get_source(self) -> SourceCode { ... } fn set_source(self, value: impl Into<SourceCode>) { ... } fn get_anonymous(self) -> bool { ... } fn set_anonymous(self, value: impl Into<bool>) { ... } fn get_is_dynamic_expression(self) -> bool { ... } fn set_is_dynamic_expression(self, value: impl Into<bool>) { ... } fn get_lexer(self) -> Lexer { ... } fn set_lexer(self, value: impl Into<Lexer>) { ... } fn ctor(self, s: impl Into<Script>) { ... }
}

Provided Methods§

Source

fn get_script(self) -> Script

get_Script() overload

Source

fn set_script(self, value: impl Into<Script>)

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

Source

fn get_scope(self) -> BuildTimeScope

get_Scope() overload

Source

fn set_scope(self, value: impl Into<BuildTimeScope>)

set_Scope(crate::moon_sharp::interpreter::execution::buildtimescope::BuildTimeScope) overload

Source

fn get_source(self) -> SourceCode

get_Source() overload

Source

fn set_source(self, value: impl Into<SourceCode>)

set_Source(crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode) overload

Source

fn get_anonymous(self) -> bool

get_Anonymous() overload

Source

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

set_Anonymous(bool) overload

Source

fn get_is_dynamic_expression(self) -> bool

get_IsDynamicExpression() overload

Source

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

set_IsDynamicExpression(bool) overload

Source

fn get_lexer(self) -> Lexer

get_Lexer() overload

Source

fn set_lexer(self, value: impl Into<Lexer>)

set_Lexer(crate::moon_sharp::interpreter::tree::lexer::Lexer) overload

Source

fn ctor(self, s: impl Into<Script>)

.ctor(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§

Source§

impl<__T: IScriptLoadingContext> IScriptLoadingContextMethods for __T

Available on crate feature moon_sharp-interpreter-execution-scriptloadingcontext only.