public class AccessorMethodDeclarationTreeImpl extends JavaScriptTree implements AccessorMethodDeclarationTree
| Constructor and Description |
|---|
AccessorMethodDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken accessorToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
InternalSyntaxToken |
accessorToken() |
SyntaxToken |
asyncToken() |
BlockTreeImpl |
body() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
List<DecoratorTree> |
decorators() |
Tree.Kind |
getKind() |
Tree |
name() |
ParameterListTree |
parameterClause() |
List<Tree> |
parameterList() |
SyntaxToken |
staticToken() |
descendants, getFirstToken, getLastToken, getLine, getParent, is, isAncestorOf, isLeaf, setParent, toStringpublic AccessorMethodDeclarationTreeImpl(List<DecoratorTree> decorators, @Nullable InternalSyntaxToken staticToken, InternalSyntaxToken accessorToken, Tree name, ParameterListTreeImpl parameters, BlockTreeImpl body)
public List<DecoratorTree> decorators()
decorators in interface MethodDeclarationTree@Nullable public SyntaxToken staticToken()
staticToken in interface MethodDeclarationTreepublic InternalSyntaxToken accessorToken()
accessorToken in interface AccessorMethodDeclarationTreepublic Tree name()
name in interface MethodDeclarationTree@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionTreeparameterClause in interface MethodDeclarationTreepublic BlockTreeImpl body()
body in interface FunctionTreebody in interface MethodDeclarationTreepublic List<Tree> parameterList()
parameterList in interface FunctionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.