BadScript 2
Loading...
Searching...
No Matches
BadBinaryUnpackExpressionCompiler.cs
Go to the documentation of this file.
2
4
8public class BadBinaryUnpackExpressionCompiler : BadExpressionCompiler<BadBinaryUnpackExpression>
9{
11 public override void Compile(BadExpressionCompileContext context, BadBinaryUnpackExpression expression)
12 {
13 context.Compile(expression.Left);
14 context.Compile(expression.Right);
15 context.Emit(BadOpCode.BinaryUnpack, expression.Position);
16 }
17}
BadSourcePosition Position
The source Position of the Expression.
BadExpression Right
Right side of the Expression.
Implements the binary ... operator. This operator is used to unpack the right side into the left side...
override void Compile(BadExpressionCompileContext context, BadBinaryUnpackExpression expression)
Contains the Binary Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7