BadScript 2
Loading...
Searching...
No Matches
BadLogicAssignAndExpressionCompiler.cs
Go to the documentation of this file.
1
using
BadScript2.Parser.Expressions.Binary.Logic.Assign
;
2
6
namespace
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.Binary.Logic.Assign
;
7
11
public
class
BadLogicAssignAndExpressionCompiler
:
BadBinaryExpressionCompiler
<BadLogicAssignAndExpression>
12
{
14
public
override
void
CompileBinary
(
BadExpressionCompileContext
context,
BadLogicAssignAndExpression
expression)
15
{
16
context.
Emit
(
BadOpCode
.AndAssign, expression.
Position
);
17
}
18
}
BadScript2.Parser.Expressions.BadExpression.Position
BadSourcePosition Position
The source Position of the Expression.
Definition
BadExpression.cs:165
BadScript2.Parser.Expressions.Binary.Logic.Assign.BadLogicAssignAndExpression
Implements the Assign Logic And Expression.
Definition
BadLogicAssignAndExpression.cs:16
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.Binary.Logic.Assign.BadLogicAssignAndExpressionCompiler
Compiles the BadLogicAssignAndExpression.
Definition
BadLogicAssignAndExpressionCompiler.cs:12
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.Binary.Logic.Assign.BadLogicAssignAndExpressionCompiler.CompileBinary
override void CompileBinary(BadExpressionCompileContext context, BadLogicAssignAndExpression expression)
Definition
BadLogicAssignAndExpressionCompiler.cs:14
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.Binary.BadBinaryExpressionCompiler
Defines a Compiler for a specific BadBinaryExpression.
Definition
BadBinaryExpressionCompiler.cs:11
BadScript2.Parser.Expressions.Binary.Logic.Assign
Contains the Self-Assigning Logic Expressions for the BadScript2 Language.
Definition
BadLogicAssignAndExpression.cs:10
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.Binary.Logic.Assign
Contains Binary Self-Assignung Logic Expression Compilers.
Definition
BadLogicAssignAndExpressionCompiler.cs:6
BadScript2.Runtime.VirtualMachine.BadOpCode
BadOpCode
Defines the Operations that the BadVirtualMachine can execute.
Definition
BadOpCode.cs:7
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.BadExpressionCompileContext
Definition
IBadExpressionCompiler.cs:7
BadScript2.Runtime.VirtualMachine.Compiler.ExpressionCompilers.BadExpressionCompileContext.Emit
void Emit(BadInstruction instruction)
Definition
IBadExpressionCompiler.cs:31
src
BadScript2
Runtime
VirtualMachine
Compiler
ExpressionCompilers
Binary
Logic
Assign
BadLogicAssignAndExpressionCompiler.cs
Generated by
1.9.8