Implements an Interop API for the BS2 Language.
Implements a Table Structure for the BadScript Language.
The Expression Function Implementation used if a function gets defined in the Source Code.
readonly BadSourcePosition Position
The Source Position of the Function.
override BadMetaData MetaData
readonly BadScope ParentScope
The Scope the function is defined in.
IEnumerable< BadExpression > Body
Enumeration of all expressions in the function body.
BadFunctionParameter[] Parameters
The Function Parameters.
bool IsSingleLine
Indicates if the function is a single line function(without block) Is used to determine the behaviour...
BadWordToken? Name
(optional) Name of the Function
bool IsConstant
Indicates if the function has no side effects and the result can be cached.
bool IsStatic
Indicates if the Function is static.
BadClassPrototype ReturnType
The Return Type of the Function.
Helper Class that Builds a Native Class from a Prototype.
static BadClassPrototype GetNative(string name)
Returns a Native Class Prototype for the given Native Type.
Implements a Compiled Function.
Implements an API for the Compiler.
BadCompilerApi()
Creates a new API Instance.
override void LoadApi(BadTable target)
static BadCompiledFunction CompileFunction(BadExpressionFunction func, bool useOverride)
Compiles a Function.
Implements the Compile for the BadVirtualMachine.
void Compile(BadExpressionCompileContext context, BadExpression expression)
Compiles the given BadExpression into a set of BadInstructions.
Contains the Extension Classes for Functions.
Contains the Interop Abstractions and Implementations for the BadScript2 Language.
Contains Runtime Function Objects.
Contains Runtime Type Objects.
Contains the Runtime Objects.
Contains the Compiler for the BadVirtualMachine.
Implements a single instruction for the BadVirtualMachine.