48 left = left.Dereference();
49 right = right.Dereference();
61 if (lNum.Value > rNum.Value)
75 public static IEnumerable<BadObject>
Range(decimal from, decimal to)
77 for (decimal i = from; i < to; i++)
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 Range Expression START..END.
static IEnumerable< BadObject > Range(decimal from, decimal to)
Returns a range of numbers.
BadRangeExpression(BadExpression left, BadExpression right, BadSourcePosition position)
Constructor of the Range Expression.
override IEnumerable< BadObject > InnerExecute(BadExecutionContext context)
override string GetSymbol()
The Execution Context. Every execution of a script needs a context the script is running in....
Gets thrown by the runtime.
Implements a simple wrapper for C# IEnumerators to be used in BS2.
The Base Class for all BadScript Objects.
static readonly BadObject Null
The Null Value for the BadScript Language.
Implements the Interface for Native Numbers.
Contains Shared Data Structures and Functionality.
Contains the Binary Expressions for the BadScript2 Language.
Contains the Error Objects for the BadScript2 Language.
Contains the Interop Abstractions and Implementations for the BadScript2 Language.
Contains the Native Runtime Objects.
Contains the Runtime Objects.
Contains the Runtime Implementation.