BadScript 2
Loading...
Searching...
No Matches
BadPostDecrementExpressionCompiler.cs
Go to the documentation of this file.
2
7
11public class BadPostDecrementExpressionCompiler : BadExpressionCompiler<BadPostDecrementExpression>
12{
14 public override void Compile(BadExpressionCompileContext context, BadPostDecrementExpression expression)
15 {
16 context.Compile(expression.Left);
17 context.Emit(BadOpCode.PostDec, expression.Position);
18 }
19}
BadSourcePosition Position
The source Position of the Expression.
Implements the Post Decrement 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