public class ConditionalExpression extends AbstractNode
With an odd number of expressions {c0, e0, c1, e1, ..., cn-1, en-1, en} represents "if (c0) e0 else if (c1) e1 ... else en"; with an even number of expressions {c0, e0, c1, e1, ..., cn-1, en-1} represents "if (c0) e0 else if (c1) e1 ... else if (cn-1) en-1".
nodeType, type
Constructor and Description |
---|
ConditionalExpression(List<Node> expressionList,
Type type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
accept, accept, evaluate, getNodeType, getType, toString
public boolean equals(Object o)
equals
in class AbstractNode
public int hashCode()
hashCode
in class AbstractNode
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.