Package org.drools.mvelcompiler.ast
Class BinaryExprT
java.lang.Object
org.drools.mvelcompiler.ast.BinaryExprT
- All Implemented Interfaces:
TypedExpression
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryExprT(TypedExpression left, TypedExpression right, com.github.javaparser.ast.expr.BinaryExpr.Operator operator) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.github.javaparser.ast.expr.BinaryExpr.OperatorcompoundToArithmeticOperation(com.github.javaparser.ast.expr.AssignExpr.Operator operator) getLeft()com.github.javaparser.ast.expr.BinaryExpr.OperatorgetRight()getType()com.github.javaparser.ast.NodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.mvelcompiler.ast.TypedExpression
getScopeType
-
Constructor Details
-
BinaryExprT
public BinaryExprT(TypedExpression left, TypedExpression right, com.github.javaparser.ast.expr.BinaryExpr.Operator operator)
-
-
Method Details
-
compoundToArithmeticOperation
public static com.github.javaparser.ast.expr.BinaryExpr.Operator compoundToArithmeticOperation(com.github.javaparser.ast.expr.AssignExpr.Operator operator) -
getLeft
-
getRight
-
getOperator
public com.github.javaparser.ast.expr.BinaryExpr.Operator getOperator() -
getType
- Specified by:
getTypein interfaceTypedExpression
-
toJavaExpression
public com.github.javaparser.ast.Node toJavaExpression()- Specified by:
toJavaExpressionin interfaceTypedExpression
-