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 |
operator() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic PrefixExpressionTreeImpl(Tree.Kind kind, InternalSyntaxToken operator, ExpressionTree expression)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic SyntaxToken operator()
operator 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–2016 SonarSource and Eriks Nukis. All rights reserved.