public class ParenthesisedExpressionTreeImpl extends JavaScriptTree implements ParenthesisedExpressionTree
| Constructor and Description |
|---|
ParenthesisedExpressionTreeImpl(InternalSyntaxToken openParenthesis,
ExpressionTree expression,
InternalSyntaxToken closeParenthesis) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
void |
addTypes(TypeSet types) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
closeParenthesis() |
ExpressionTree |
expression() |
Tree.Kind |
getKind() |
SyntaxToken |
openParenthesis() |
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 ParenthesisedExpressionTreeImpl(InternalSyntaxToken openParenthesis, ExpressionTree expression, InternalSyntaxToken closeParenthesis)
public SyntaxToken openParenthesis()
openParenthesis in interface ParenthesisedExpressionTreepublic ExpressionTree expression()
expression in interface ParenthesisedExpressionTreepublic SyntaxToken closeParenthesis()
closeParenthesis in interface ParenthesisedExpressionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void addTypes(TypeSet types)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.