BadScript 2
Loading...
Searching...
No Matches
BadUnaryUnpackExpressionCompiler.cs
Go to the documentation of this file.
2
4
8public class BadUnaryUnpackExpressionCompiler : BadExpressionCompiler<BadUnaryUnpackExpression>
9{
11 public override void Compile(BadExpressionCompileContext context, BadUnaryUnpackExpression expression)
12 {
13 context.Compile(expression.Right);
14 context.Emit(BadOpCode.UnaryUnpack, expression.Position);
15 }
16}
BadSourcePosition Position
The source Position of the Expression.
Implements the unary ... operator. This operator is used to unpack a table into the current execution...
readonly BadExpression Right
The Right Side of the Expression.
override void Compile(BadExpressionCompileContext context, BadUnaryUnpackExpression expression)
Contains the Binary Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7