48 foreach (KeyValuePair<string, BadObject> o
in rightT.InnerTable)
50 table.InnerTable[o.Key] = o.Value;
51 table.PropertyInfos[o.Key] = rightT.PropertyInfos[o.Key];
68 right = right.Dereference();
Describes a specific position inside a source file.
Base Implementation for all Expressions used inside the Script.
IEnumerable< BadExpression > GetDescendantsAndSelf()
Returns all Descendants of the Expression and the Expression itself.
BadSourcePosition Position
The source Position of the Expression.
IEnumerable< BadObject > Execute(BadExecutionContext context)
Evaluates the Expression within the current Execution Context.
bool IsConstant
Indicates if the expression stays constant at all times.
Implements the unary ... operator. This operator is used to unpack a table into the current execution...
override IEnumerable< BadObject > InnerExecute(BadExecutionContext context)
readonly BadExpression Right
The Right Side of the Expression.
static void Unpack(BadTable table, BadObject right, BadSourcePosition position)
Implements the logic of the unary ... operator.
BadUnaryUnpackExpression(BadExpression right)
Constructor for the unary ... operator.
override IEnumerable< BadExpression > GetDescendants()
The Execution Context. Every execution of a script needs a context the script is running in....
BadScope Scope
The Root Scope of the Context.
BadTable GetTable()
Returns the Variable Table of the current scope.
Gets thrown by the runtime.
The Base Class for all BadScript Objects.
static readonly BadObject Null
The Null Value for the BadScript Language.
Implements a Table Structure for the BadScript Language.
Contains Shared Data Structures and Functionality.
Contains the Binary Expressions for the BadScript2 Language.
Contains the Error Objects for the BadScript2 Language.
Contains the Runtime Objects.
Contains the Runtime Implementation.