@InterfaceAudience.Private public class NonLeafExpressionNode extends Object implements ExpressionNode
Modifier and Type | Field and Description |
---|---|
private List<ExpressionNode> |
childExps |
private Operator |
op |
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() |
private Operator op
private List<ExpressionNode> childExps
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.