BadScript 2
Loading...
Searching...
No Matches
BadLogicNotExpressionCompiler.cs
Go to the documentation of this file.
2
4
8public class BadLogicNotExpressionCompiler : BadExpressionCompiler<BadLogicNotExpression>
9{
11 public override void Compile(BadExpressionCompileContext context, BadLogicNotExpression expression)
12 {
13 context.Compile(expression.Right);
14 context.Emit(BadOpCode.Not, expression.Position);
15 }
16}
BadSourcePosition Position
The source Position of the Expression.
override void Compile(BadExpressionCompileContext context, BadLogicNotExpression expression)
Contains the Logic Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7