org.apache.camel.language.simple.ast
Class BinaryExpression
java.lang.Object
org.apache.camel.language.simple.ast.BaseSimpleNode
org.apache.camel.language.simple.ast.BinaryExpression
- All Implemented Interfaces:
- SimpleNode
public class BinaryExpression
- extends BaseSimpleNode
Represents a binary expression in the AST.
BinaryExpression
public BinaryExpression(SimpleToken token)
toString
public String toString()
- Overrides:
toString
in class BaseSimpleNode
acceptLeftNode
public boolean acceptLeftNode(SimpleNode lef)
acceptRightNode
public boolean acceptRightNode(SimpleNode right)
getOperator
public BinaryOperatorType getOperator()
createExpression
public Expression createExpression(String expression)
- Description copied from interface:
SimpleNode
- Creates a Camel
Expression
based on this model.
- Parameters:
expression
- the input string
- Returns:
- the created
Expression
Apache CAMEL