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