BadScript 2
Loading...
Searching...
No Matches
BadInvocationExpressionCompiler.cs
Go to the documentation of this file.
2
4
8public class BadInvocationExpressionCompiler : BadExpressionCompiler<BadInvocationExpression>
9{
11 public override void Compile(BadExpressionCompileContext context, BadInvocationExpression expression)
12 {
13 context.Compile(expression.Arguments, false);
14 context.Compile(expression.Left);
15 context.Emit(BadOpCode.Invoke, expression.Position, expression.ArgumentCount);
16 }
17}
BadSourcePosition Position
The source Position of the Expression.
IEnumerable< BadExpression > Arguments
The Arguments of the Invocation.
override void Compile(BadExpressionCompileContext context, BadInvocationExpression expression)
Contains the Function Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7