BadScript 2
Loading...
Searching...
No Matches
BadPostIncrementExpressionCompiler.cs
Go to the documentation of this file.
2
4
8public class BadPostIncrementExpressionCompiler : BadExpressionCompiler<BadPostIncrementExpression>
9{
11 public override void Compile(BadExpressionCompileContext context, BadPostIncrementExpression expression)
12 {
13 context.Compile(expression.Left);
14 context.Emit(BadOpCode.PostInc, expression.Position);
15 }
16}
BadSourcePosition Position
The source Position of the Expression.
Implements the Post Increment Expression.
readonly BadExpression Left
Left side 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