public class FieldDeclarationTreeImpl extends JavaScriptTree implements FieldDeclarationTree
| Constructor and Description |
|---|
FieldDeclarationTreeImpl(List<DecoratorTree> decorators,
SyntaxToken staticToken,
Tree propertyName,
SyntaxToken equalToken,
ExpressionTree initializer,
SyntaxToken semicolonToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
List<DecoratorTree> |
decorators() |
SyntaxToken |
equalToken() |
Tree.Kind |
getKind() |
ExpressionTree |
initializer() |
Tree |
propertyName() |
SyntaxToken |
semicolonToken() |
SyntaxToken |
staticToken() |
descendants, getFirstToken, getLastToken, getLine, getParent, is, isAncestorOf, isLeaf, setParent, toStringpublic FieldDeclarationTreeImpl(List<DecoratorTree> decorators, @Nullable SyntaxToken staticToken, Tree propertyName, @Nullable SyntaxToken equalToken, @Nullable ExpressionTree initializer, @Nullable SyntaxToken semicolonToken)
public Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic List<DecoratorTree> decorators()
decorators in interface FieldDeclarationTree@Nullable public SyntaxToken staticToken()
staticToken in interface FieldDeclarationTreepublic Tree propertyName()
propertyName in interface FieldDeclarationTree@Nullable public SyntaxToken equalToken()
equalToken in interface FieldDeclarationTree@Nullable public ExpressionTree initializer()
initializer in interface FieldDeclarationTree@Nullable public SyntaxToken semicolonToken()
semicolonToken in interface FieldDeclarationTreepublic void accept(DoubleDispatchVisitor visitor)
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.