44 foreach (KeyValuePair<string, BadObject> o
in leftT.InnerTable)
46 result.InnerTable[o.Key] = o.Value;
47 result.PropertyInfos[o.Key] = leftT.PropertyInfos[o.Key];
50 foreach (KeyValuePair<string, BadObject> o
in rightT.InnerTable)
52 result.InnerTable[o.Key] = o.Value;
53 result.PropertyInfos[o.Key] = rightT.PropertyInfos[o.Key];
79 left = left.Dereference();
80 right = right.Dereference();
Describes a specific position inside a source file.
Base Implementation for all Expressions used inside the Script.
BadSourcePosition Position
The source Position of the Expression.
IEnumerable< BadObject > Execute(BadExecutionContext context)
Evaluates the Expression within the current Execution Context.
Base Implementation of all Binary Expressions.
BadExpression Right
Right side of the Expression.
BadExpression Left
Left side of the Expression.
Implements the binary ... operator. This operator is used to unpack the right side into the left side...
override string GetSymbol()
static BadTable Unpack(BadObject left, BadObject right, BadSourcePosition position)
Executes the binary ... operator.
BadBinaryUnpackExpression(BadExpression left, BadExpression right, BadSourcePosition position)
Constructor for the binary ... operator.
override IEnumerable< BadObject > InnerExecute(BadExecutionContext context)
The Execution Context. Every execution of a script needs a context the script is running in....
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.