public class MethodDeclarationTreeImpl extends FunctionTreeImpl implements MethodDeclarationTree
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
SyntaxToken |
asyncToken() |
BlockTree |
body() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
List<DecoratorTree> |
decorators() |
static MethodDeclarationTreeImpl |
generator(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken starToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
Tree.Kind |
getKind() |
static MethodDeclarationTreeImpl |
method(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken asyncToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
Tree |
name() |
ParameterListTree |
parameterClause() |
List<BindingElementTree> |
parameterList() |
SyntaxToken |
starToken() |
SyntaxToken |
staticToken() |
outerScopeSymbolUsages, scope, scopechildrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitscopechildrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentpublic static MethodDeclarationTreeImpl generator(List<DecoratorTree> decorators, @Nullable InternalSyntaxToken staticToken, InternalSyntaxToken starToken, Tree name, ParameterListTree parameters, BlockTree body)
public static MethodDeclarationTreeImpl method(List<DecoratorTree> decorators, @Nullable InternalSyntaxToken staticToken, @Nullable InternalSyntaxToken asyncToken, Tree name, ParameterListTree parameters, BlockTree body)
public List<DecoratorTree> decorators()
decorators in interface MethodDeclarationTree@Nullable public SyntaxToken staticToken()
staticToken in interface MethodDeclarationTree@Nullable public SyntaxToken starToken()
starToken in interface MethodDeclarationTreepublic Tree name()
name in interface FunctionTreename in interface MethodDeclarationTree@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionTreeparameterClause in interface MethodDeclarationTreepublic BlockTree body()
body in interface FunctionTreebody in interface MethodDeclarationTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
public List<BindingElementTree> parameterList()
parameterList in interface FunctionTreeCopyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.