BadScript 2
Loading...
Searching...
No Matches
BadInExpressionCompiler.cs
Go to the documentation of this file.
2
4
9{
11 protected override bool IsLeftAssociative => false;
13 public override void CompileBinary(BadExpressionCompileContext context, BadInExpression expression)
14 {
15 context.Emit(BadOpCode.HasProperty, expression.Position);
16 }
17}
BadSourcePosition Position
The source Position of the Expression.
Implements the 'in' operator. The 'in' operator is used to check if a key is present in an instance o...
override void CompileBinary(BadExpressionCompileContext context, BadInExpression expression)
Contains the Binary Expressions for the BadScript2 Language.
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition BadOpCode.cs:7