Package org.camunda.bpm.engine.impl.juel
Class AstBinary
- java.lang.Object
-
- org.camunda.bpm.engine.impl.juel.AstNode
-
- org.camunda.bpm.engine.impl.juel.AstRightValue
-
- org.camunda.bpm.engine.impl.juel.AstBinary
-
- All Implemented Interfaces:
ExpressionNode
,Node
public class AstBinary extends AstRightValue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AstBinary.Operator
static class
AstBinary.SimpleOperator
-
Field Summary
Fields Modifier and Type Field Description static AstBinary.Operator
ADD
static AstBinary.Operator
AND
static AstBinary.Operator
DIV
static AstBinary.Operator
EQ
static AstBinary.Operator
GE
static AstBinary.Operator
GT
static AstBinary.Operator
LE
static AstBinary.Operator
LT
static AstBinary.Operator
MOD
static AstBinary.Operator
MUL
static AstBinary.Operator
NE
static AstBinary.Operator
OR
static AstBinary.Operator
SUB
-
Constructor Summary
Constructors Constructor Description AstBinary(AstNode left, AstNode right, AstBinary.Operator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendStructure(StringBuilder b, Bindings bindings)
Object
eval(Bindings bindings, ELContext context)
int
getCardinality()
Get the node's number of children.AstNode
getChild(int i)
Get i'th childAstBinary.Operator
getOperator()
String
toString()
-
Methods inherited from class org.camunda.bpm.engine.impl.juel.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
Methods inherited from class org.camunda.bpm.engine.impl.juel.AstNode
getStructuralId, getValue
-
-
-
-
Field Detail
-
ADD
public static final AstBinary.Operator ADD
-
AND
public static final AstBinary.Operator AND
-
DIV
public static final AstBinary.Operator DIV
-
EQ
public static final AstBinary.Operator EQ
-
GE
public static final AstBinary.Operator GE
-
GT
public static final AstBinary.Operator GT
-
LE
public static final AstBinary.Operator LE
-
LT
public static final AstBinary.Operator LT
-
MOD
public static final AstBinary.Operator MOD
-
MUL
public static final AstBinary.Operator MUL
-
NE
public static final AstBinary.Operator NE
-
OR
public static final AstBinary.Operator OR
-
SUB
public static final AstBinary.Operator SUB
-
-
Constructor Detail
-
AstBinary
public AstBinary(AstNode left, AstNode right, AstBinary.Operator operator)
-
-
Method Detail
-
getOperator
public AstBinary.Operator getOperator()
-
appendStructure
public void appendStructure(StringBuilder b, Bindings bindings)
- Specified by:
appendStructure
in classAstNode
-
getCardinality
public int getCardinality()
Description copied from interface:Node
Get the node's number of children.
-
-