BadScript 2
Loading...
Searching...
No Matches
BadDeleteExpressionCompiler.cs
Go to the documentation of this file.
2
7
11public class BadDeleteExpressionCompiler : BadExpressionCompiler<BadDeleteExpression>
12{
14 public override void Compile(BadExpressionCompileContext context, BadDeleteExpression expression)
15 {
16 context.Compile(expression.Expression);
17 context.Emit(BadOpCode.Delete, expression.Position);
18 }
19}
Implements an expression that Deletes an object pointed to by BadObjectReference.
readonly BadExpression Expression
The Key to delete.
BadSourcePosition Position
The source Position of the Expression.
override void Compile(BadExpressionCompileContext context, BadDeleteExpression expression)
Contains the Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7