@InterfaceAudience.Private public class ExpressionExpander extends Object
Constructor and Description |
---|
ExpressionExpander() |
Modifier and Type | Method and Description |
---|---|
ExpressionNode |
expand(ExpressionNode src) |
private NonLeafExpressionNode |
expandNonLeaf(NonLeafExpressionNode newNode,
Operator outerOp) |
private boolean |
isToBeExpanded(List<ExpressionNode> childExps) |
private NonLeafExpressionNode |
mergeChildNodes(NonLeafExpressionNode newOuterNode,
Operator outerOp,
ExpressionNode lChild,
NonLeafExpressionNode nlChild) |
private ExpressionNode |
negate(NonLeafExpressionNode nlExp) |
public ExpressionExpander()
public ExpressionNode expand(ExpressionNode src)
private ExpressionNode negate(NonLeafExpressionNode nlExp)
private boolean isToBeExpanded(List<ExpressionNode> childExps)
private NonLeafExpressionNode expandNonLeaf(NonLeafExpressionNode newNode, Operator outerOp)
private NonLeafExpressionNode mergeChildNodes(NonLeafExpressionNode newOuterNode, Operator outerOp, ExpressionNode lChild, NonLeafExpressionNode nlChild)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.