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