18 new Dictionary<string, Func<BadObject[], BadObject>>
144 yield
return obj.Dereference();
Describes a specific position inside a source file.
static BadSourcePosition Create(string fileName, string source, int index, int length)
Creates a new Source Position.
Implements the Invocation Expression.
static IEnumerable< BadObject > Invoke(BadObject left, IEnumerable< BadObject > args, BadSourcePosition position, BadExecutionContext context)
Invokes a function.
The Execution Context. Every execution of a script needs a context the script is running in....
Gets thrown by the runtime.
static BadRuntimeException Create(BadScope? scope, string message)
Creates a new BadScriptException.
Implements a Dynamic List/Array for the BadScript Language.
The Base Class for all BadScript Objects.
static readonly BadObject True
The True Value for the BadScript Language.
static readonly BadObject False
The False Value for the BadScript Language.
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 Table Structure for the BadScript Language.
Implements a function that can be called from the script.
Implements a Native Boolean.
Implements a Native Number.
Helper Class for Creating Native Class Prototypes.
static IEnumerable< BadObject > ExecuteEnumerator(BadExecutionContext ctx, BadObject enumerator)
Executes the Enumerator.
static Func< BadObject[], BadObject > GetConstructor(string name)
Returns a Constructor for the given Native Type.
static IEnumerable< BadObject > ExecuteEnumerate(BadExecutionContext ctx, BadObject enumerable)
Executes the Enumerable.
static readonly Dictionary< string, Func< BadObject[], BadObject > > s_NativeConstructors
The Constructors for the Native Types.
Contains Shared Data Structures and Functionality.
Contains the Function Expressions for the BadScript2 Language.
Contains the Error Objects for the BadScript2 Language.
Contains Runtime Function Objects.
Contains the Native Runtime Objects.
Contains Runtime Type Objects.