26 public abstract IEnumerator<BadObject>
Enumerator {
get; }
50 return Create(e.GetEnumerator());
153 foreach (
BadObject o
in func.Invoke(args, ctx))
Implements the 'Empty' Runnable.
override BadObject GetReturn()
override IEnumerator< BadObject > Enumerator
Implements a Function Runnable.
BadFunctionRunnable(BadFunction func, BadExecutionContext ctx, params BadObject[] args)
Constructor.
override IEnumerator< BadObject > Enumerator
override BadObject GetReturn()
BadObject m_ReturnValue
The Return Value.
IEnumerable< BadObject > RunnableFunction(BadFunction func, BadExecutionContext ctx, params BadObject[] args)
Creates an Enumeration from a Function.
override BadObject GetReturn()
override IEnumerator< BadObject > Enumerator
BadRunnableImpl(IEnumerator< BadObject > enumerator)
Constructor.
Implements a Runnable Object.
static BadRunnable Create(BadFunction func, BadExecutionContext ctx, params BadObject[] args)
Creates a Runnable from a Function.
static BadRunnable Create(IEnumerable< BadObject > e)
Creates a Runnable from an Enumeration.
static BadRunnable Empty
Empty Runnable.
BadRuntimeError? Error
The Runtime Error.
BadObject GetReturn()
Gets the Return Value.
IEnumerator< BadObject > Enumerator
The Enumerator of the Runnable.
static BadRunnable Create(IEnumerator< BadObject > e)
Creates a Runnable from an Enumeration.
void SetError(BadRuntimeError err)
Sets the Runtime Error.
The Execution Context. Every execution of a script needs a context the script is running in....
Implements the Error Object Type.
The Base Class for all BadScript Objects.
static readonly BadObject Null
The Null Value for the BadScript Language.
Implements a function that can be called from the script.
Contains task/async Extensions and Integrations for the BadScript2 Runtime.
Contains the Error Objects for the BadScript2 Language.
Contains Runtime Function Objects.
Contains the Runtime Objects.
Contains the Runtime Implementation.