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