@Beta public interface FunctionDeclarationTree extends StatementTree, FunctionTree
function name() ( parameterClause() ) body()
function * name() ( parameterClause() ) body()
| Modifier and Type | Method and Description |
|---|---|
BlockTree |
body() |
SyntaxToken |
functionKeyword() |
IdentifierTree |
name() |
ParameterListTree |
parameterClause() |
SyntaxToken |
starToken() |
asyncToken, parameterList, scopeaccept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentSyntaxToken functionKeyword()
@Nullable SyntaxToken starToken()
IdentifierTree name()
name in interface FunctionTreeParameterListTree parameterClause()
parameterClause in interface FunctionTreeBlockTree body()
body in interface FunctionTreeCopyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.