public class ConditionalExpressionTreeImpl extends JavaScriptTree implements ConditionalExpressionTree
| Constructor and Description |
|---|
ConditionalExpressionTreeImpl(InternalSyntaxToken query,
ExpressionTree trueExpression,
InternalSyntaxToken colon,
ExpressionTree falseExpression) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
colon() |
ConditionalExpressionTreeImpl |
complete(ExpressionTree condition) |
ExpressionTree |
condition() |
ExpressionTree |
falseExpression() |
Tree.Kind |
getKind() |
SyntaxToken |
query() |
ExpressionTree |
trueExpression() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
addChild, addChildren, getAstNode, getLine, is, isLeaf, isLegacy, prependChildren, prependChildrenfindChildren, findDirectChildren, findFirstChild, findFirstDirectChild, findFirstParent, getChild, getChildren, getChildren, getDescendants, getFirstAncestor, getFirstAncestor, getFirstChild, getFirstChild, getFirstDescendant, getFromIndex, getLastChild, getLastChild, getLastToken, getName, getNextAstNode, getNextSibling, getNumberOfChildren, getParent, getPreviousAstNode, getPreviousSibling, getToIndex, getToken, getTokenLine, getTokenOriginalValue, getTokens, getTokenValue, getType, hasAncestor, hasAncestor, hasChildren, hasChildren, hasDescendant, hasDirectChildren, hasParent, hasParents, hasToBeSkippedFromAst, hasToken, is, isCopyBookOrGeneratedNode, isNot, nextAstNode, nextSibling, previousAstNode, previousSibling, select, setFromIndex, setToIndex, toStringpublic ConditionalExpressionTreeImpl(InternalSyntaxToken query, ExpressionTree trueExpression, InternalSyntaxToken colon, ExpressionTree falseExpression)
public ConditionalExpressionTreeImpl complete(ExpressionTree condition)
public ExpressionTree condition()
condition in interface ConditionalExpressionTreepublic SyntaxToken query()
query in interface ConditionalExpressionTreepublic ExpressionTree trueExpression()
trueExpression in interface ConditionalExpressionTreepublic SyntaxToken colon()
colon 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(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.