Provides some global methods for compiling operations into executable instructions.
Static Public Member Functions | |
static void | CompileOperators (OperationFragment fragment, CompiledMethod parentBlock) |
Compiles an operation fragment into an executable operation. The fragment may contain multiple operators and some may even be the same so the furthest right takes priority; 1+2+3 becomes 1+(2+3). The compiled fragments are placed back into the same operation fragment. When it's complete, the operation will only contain one compiled fragment. More... | |
static bool | CompileOperations (CodeFragment fragment, CompiledMethod block) |
Compiles all operations in a given fragment into executable IL. More... | |
static CompiledFragment[] | CompileParameters (CodeFragment brackets, CompiledMethod parentBlock) |
Compiles a set of parameters into an array of compiled fragments. More... | |
|
inlinestatic |
Compiles all operations in a given fragment into executable IL.
fragment | The parent fragment. Most likely represents a pair of brackets. |
block | The method that the operations represent. |
|
inlinestatic |
Compiles an operation fragment into an executable operation. The fragment may contain multiple operators and some may even be the same so the furthest right takes priority; 1+2+3 becomes 1+(2+3). The compiled fragments are placed back into the same operation fragment. When it's complete, the operation will only contain one compiled fragment.
fragment | The operation fragment to compile. |
parentBlock | The method the operations are compiling into. |
|
inlinestatic |
Compiles a set of parameters into an array of compiled fragments.
brackets | The parent block which contains each parameter as a child. |
parentBlock | The method the parameters are for. |