Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CompileLogicalBinaryExpression()

void System.Linq.Expressions.Interpreter.LightCompiler.CompileLogicalBinaryExpression ( BinaryExpression b,
bool andAlso )
inlineprivate

Definition at line 982 of file LightCompiler.cs.

983 {
984 if (b.Method != null && !b.IsLiftedLogical)
985 {
987 }
988 else if (b.Left.Type == typeof(bool?))
989 {
991 }
992 else if (b.IsLiftedLogical)
993 {
994 Compile(b.ReduceUserdefinedLifted());
995 }
996 else
997 {
999 }
1000 }
void Compile(Expression expr, bool asVoid)
void CompileUnliftedLogicalBinaryExpression(BinaryExpression expr, bool andAlso)
void CompileMethodLogicalBinaryExpression(BinaryExpression expr, bool andAlso)
void CompileLiftedLogicalBinaryExpression(BinaryExpression node, bool andAlso)

References System.Linq.Expressions.Interpreter.LightCompiler.Compile(), System.Linq.Expressions.Interpreter.LightCompiler.CompileLiftedLogicalBinaryExpression(), System.Linq.Expressions.Interpreter.LightCompiler.CompileMethodLogicalBinaryExpression(), and System.Linq.Expressions.Interpreter.LightCompiler.CompileUnliftedLogicalBinaryExpression().

Referenced by System.Linq.Expressions.Interpreter.LightCompiler.CompileAndAlsoBinaryExpression(), and System.Linq.Expressions.Interpreter.LightCompiler.CompileOrElseBinaryExpression().