BadScript 2
Loading...
Searching...
No Matches
BadNullExpressionCompiler.cs
Go to the documentation of this file.
3
5
9public class BadNullExpressionCompiler : BadExpressionCompiler<BadNullExpression>
10{
12 public override void Compile(BadExpressionCompileContext context, BadNullExpression expression)
13 {
14 context.Emit(BadOpCode.Push, expression.Position, BadObject.Null);
15 }
16}
BadSourcePosition Position
The source Position of the Expression.
The Base Class for all BadScript Objects.
Definition BadObject.cs:14
static readonly BadObject Null
The Null Value for the BadScript Language.
Definition BadObject.cs:28
override void Compile(BadExpressionCompileContext context, BadNullExpression expression)
Contains the Constant Expressions for the BadScript2 Language.
Contains the Runtime Objects.
Definition BadArray.cs:10
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7