public CodegenExpression Codegen(
     CodegenExpression lhs,
     Type lhsType,
     CodegenExpression rhs,
     Type rhsType)
 {
     return(RelationalOpEnumExtensions.CodegenComparable(lhs, rhs, CodegenExpressionRelational.CodegenRelational.LE));
 }
 public CodegenExpression Codegen(
     CodegenExpression lhs,
     Type lhsType,
     CodegenExpression rhs,
     Type rhsType)
 {
     return(RelationalOpEnumExtensions.CodegenFloat(lhs, lhsType, rhs, rhsType, RelationalOpEnum.GE));
 }
Example #3
0
 public CodegenExpression Codegen(
     CodegenExpression lhs,
     Type lhsType,
     CodegenExpression rhs,
     Type rhsType)
 {
     return(RelationalOpEnumExtensions.CodegenStringCompare(
                lhs,
                lhsType,
                rhs,
                rhsType,
                CodegenExpressionRelational.CodegenRelational.LT));
 }
 public CodegenExpression Codegen(
     CodegenExpression lhs,
     Type lhsType,
     CodegenExpression rhs,
     Type rhsType)
 {
     return(RelationalOpEnumExtensions.CodegenBigIntConv(
                lhs,
                lhsType,
                rhs,
                rhsType,
                convOne,
                convTwo,
                CodegenExpressionRelational.CodegenRelational.LE));
 }