62 return result.Dereference();
76 public override bool Has(
string path)
87 public override string GetHash(
string path)
98 public override IEnumerable<BadObject>
Get(
string path)
109 yield
return result.Dereference();
The Execution Context. Every execution of a script needs a context the script is running in....
static BadExecutionContext Create(BadInteropExtensionProvider provider)
Creates a new Execution Context with an empty scope.
Gets thrown by the runtime.
Defines the shape of the import handler for the module importer.
override bool IsTransient()
readonly BadExecutionContext m_HandlerContext
override IEnumerable< BadObject > Get(string path)
readonly BadFunction m_GetFunction
readonly BadFunction m_HasFunction
BadObject RunFunction(BadFunction func, params BadObject[] args)
BadInteropImportHandler(BadExecutionContext ctx, BadObject scriptHandler)
readonly BadFunction m_GetHashFunction
override string GetHash(string path)
readonly BadFunction m_IsTransientFunction
override bool Has(string path)
The Base Class for all BadScript Objects.
virtual BadObjectReference GetProperty(string propName, BadScope? caller=null)
Returns a Reference to the Property with the given Name.
static readonly BadObject Null
The Null Value for the BadScript Language.
Implements a function that can be called from the script.
IEnumerable< BadObject > Invoke(BadObject[] args, BadExecutionContext caller)
Invokes the function with the specified arguments.
Implements the Interface for Native Boolean.
Implements the Interface for Native Strings.
Contains the Error Objects for the BadScript2 Language.
Contains the Interop Abstractions and Implementations for the BadScript2 Language.
Contains Runtime Function Objects.
Contains the Native Runtime Objects.
Contains the Runtime Objects.