public class PrefixExpressionTreeImpl extends JavaScriptTree implements UnaryExpressionTree, TypableTree
| Constructor and Description |
|---|
PrefixExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken operator,
ExpressionTree expression) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
ExpressionTree |
expression() |
Tree.Kind |
getKind() |
SyntaxToken |
operatorToken() |
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 PrefixExpressionTreeImpl(Tree.Kind kind, InternalSyntaxToken operator, ExpressionTree expression)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic SyntaxToken operatorToken()
operatorToken in interface UnaryExpressionTreepublic ExpressionTree expression()
expression in interface UnaryExpressionTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void add(Type type)
add in interface TypableTreeCopyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.