public class MethodDeclarationTreeImpl extends JavaScriptTree implements MethodDeclarationTree
| Constructor and Description |
|---|
MethodDeclarationTreeImpl(InternalSyntaxToken staticToken,
ExpressionTree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
BlockTreeImpl |
body() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
Tree.Kind |
getKind() |
ExpressionTree |
name() |
ParameterListTree |
parameterClause() |
List<Tree> |
parameterList() |
SyntaxToken |
staticToken() |
getFirstToken, getLastToken, getLine, is, isLeafpublic MethodDeclarationTreeImpl(@Nullable InternalSyntaxToken staticToken, ExpressionTree name, ParameterListTreeImpl parameters, BlockTreeImpl body)
@Nullable public SyntaxToken staticToken()
staticToken in interface MethodDeclarationTreepublic ExpressionTree name()
name in interface MethodDeclarationTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionTreeparameterClause in interface MethodDeclarationTreepublic BlockTreeImpl 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<Tree> parameterList()
parameterList in interface FunctionTreeCopyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.