public class ConditionalExpressionTreeImpl extends JavaScriptTree implements ConditionalExpressionTree, TypableTree
| Constructor and Description |
|---|
ConditionalExpressionTreeImpl(ExpressionTree condition,
InternalSyntaxToken query,
ExpressionTree trueExpression,
InternalSyntaxToken colon,
ExpressionTree falseExpression) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
colonToken() |
ExpressionTree |
condition() |
ExpressionTree |
falseExpression() |
Tree.Kind |
getKind() |
SyntaxToken |
queryToken() |
ExpressionTree |
trueExpression() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
childrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentpublic ConditionalExpressionTreeImpl(ExpressionTree condition, InternalSyntaxToken query, ExpressionTree trueExpression, InternalSyntaxToken colon, ExpressionTree falseExpression)
public ExpressionTree condition()
condition in interface ConditionalExpressionTreecondition in interface ConditionalTreepublic SyntaxToken queryToken()
queryToken in interface ConditionalExpressionTreepublic ExpressionTree trueExpression()
trueExpression in interface ConditionalExpressionTreepublic SyntaxToken colonToken()
colonToken in interface ConditionalExpressionTreepublic ExpressionTree falseExpression()
falseExpression in interface ConditionalExpressionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
public void add(Type type)
add in interface TypableTreeCopyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.