public class YieldExpressionTreeImpl extends JavaScriptTree implements YieldExpressionTree, TypableTree
| Constructor and Description |
|---|
YieldExpressionTreeImpl(InternalSyntaxToken yieldKeyword,
InternalSyntaxToken star,
ExpressionTree argument) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
ExpressionTree |
argument() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
Tree.Kind |
getKind() |
SyntaxToken |
starToken() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
SyntaxToken |
yieldKeyword() |
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 YieldExpressionTreeImpl(InternalSyntaxToken yieldKeyword, @Nullable InternalSyntaxToken star, @Nullable ExpressionTree argument)
public SyntaxToken yieldKeyword()
yieldKeyword in interface YieldExpressionTree@Nullable public SyntaxToken starToken()
starToken in interface YieldExpressionTreepublic ExpressionTree argument()
argument in interface YieldExpressionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic 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.