public abstract class AbstractBinaryOperationTreeNode extends AbstractTreeNode
Abstract class for all binary (having two operands) operation expression nodes
For operands A and B and operator x output is (A x B)
| Constructor and Description |
|---|
AbstractBinaryOperationTreeNode(org.jboss.el.parser.Node node,
String operatorString) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getCoercedChildOutput(int childIndex,
ELVisitor visitor) |
protected abstract ELType |
getOperationType(ELType firstArgumentType,
ELType secondArgumentType) |
void |
visit(StringBuilder sb,
ELVisitor visitor)
Return child of wrapped node by specified index.
|
coerceToBoolean, getChild, getChildOutput, getChildrenCount, getNodepublic AbstractBinaryOperationTreeNode(org.jboss.el.parser.Node node,
String operatorString)
protected abstract ELType getOperationType(ELType firstArgumentType, ELType secondArgumentType)
protected abstract String getCoercedChildOutput(int childIndex, ELVisitor visitor) throws ParsingException
ParsingExceptionpublic void visit(StringBuilder sb, ELVisitor visitor) throws ParsingException
AbstractTreeNodevisit in interface ITreeNodevisit in class AbstractTreeNodevisitor - - ELVisitorParsingException - - if error occurred(child not found).Copyright © 2014 JBoss by Red Hat. All Rights Reserved.