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