@InterfaceAudience.Private public class NonLeafExpressionNode extends Object implements ExpressionNode
Constructor and Description |
---|
NonLeafExpressionNode() |
NonLeafExpressionNode(Operator op) |
NonLeafExpressionNode(Operator op,
ExpressionNode... exps) |
NonLeafExpressionNode(Operator op,
List<ExpressionNode> exps) |
Modifier and Type | Method and Description |
---|---|
void |
addChildExp(ExpressionNode exp) |
void |
addChildExps(List<ExpressionNode> exps) |
NonLeafExpressionNode |
deepClone() |
List<ExpressionNode> |
getChildExps() |
Operator |
getOperator() |
boolean |
isSingleNode() |
String |
toString() |
public NonLeafExpressionNode()
public NonLeafExpressionNode(Operator op)
public NonLeafExpressionNode(Operator op, List<ExpressionNode> exps)
public NonLeafExpressionNode(Operator op, ExpressionNode... exps)
public Operator getOperator()
public List<ExpressionNode> getChildExps()
public void addChildExp(ExpressionNode exp)
public void addChildExps(List<ExpressionNode> exps)
public boolean isSingleNode()
isSingleNode
in interface ExpressionNode
public NonLeafExpressionNode deepClone()
deepClone
in interface ExpressionNode
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.