BadScript 2
Loading...
Searching...
No Matches
BadRangeExpressionCompiler.cs
Go to the documentation of this file.
2
4
8public class BadRangeExpressionCompiler : BadExpressionCompiler<BadRangeExpression>
9{
11 public override void Compile(BadExpressionCompileContext context, BadRangeExpression expression)
12 {
13 context.Compile(expression.Right);
14 context.Compile(expression.Left);
15 context.Emit(BadOpCode.Range, expression.Position);
16 }
17}
BadSourcePosition Position
The source Position of the Expression.
BadExpression Right
Right side of the Expression.
Implements the Range Expression START..END.
override void Compile(BadExpressionCompileContext context, BadRangeExpression expression)
Contains the Binary Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7