53 yield
return expression;
77 lockObj = lockObj.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.
Implements the Lock Expression.
BadLockExpression(BadSourcePosition position, BadExpression lockExpression, BadExpression[] block)
Constructor of the Lock Expression.
readonly BadExpression LockExpression
The Expression to lock on.
override IEnumerable< BadExpression > GetDescendants()
override IEnumerable< BadObject > InnerExecute(BadExecutionContext context)
readonly BadExpression[] m_Block
The Block Body.
IEnumerable< BadExpression > Block
The Block Body.
The Lock List that is used to store all locks.
static readonly BadLockList Instance
Instance of the Lock List.
bool TryAquire(BadObject lockObj)
Tries to aquire a lock on the given object.
void Release(BadObject lockObj)
Releases the lock on the given object.
The Execution Context. Every execution of a script needs a context the script is running in....
Gets thrown by the runtime.
Implements a Dynamic List/Array for the BadScript Language.
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.
Implements a Type Instance in the BadScript Language.
Contains Shared Data Structures and Functionality.
Contains the Locking Expressions for the BadScript2 Language.
Contains the Error Objects for the BadScript2 Language.
Contains Runtime Type Objects.
Contains the Runtime Objects.
Contains the Runtime Implementation.