public class FunctionDeclarationTreeImpl extends JavaScriptTree implements FunctionDeclarationTree
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
SyntaxToken |
asyncToken() |
BlockTree |
body() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
static FunctionDeclarationTree |
create(SyntaxToken asyncToken,
InternalSyntaxToken functionKeyword,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
static FunctionDeclarationTree |
createGenerator(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starToken,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
SyntaxToken |
functionKeyword() |
Tree.Kind |
getKind() |
IdentifierTree |
name() |
ParameterListTree |
parameterClause() |
List<Tree> |
parameterList() |
SyntaxToken |
starToken() |
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic static FunctionDeclarationTree create(@Nullable SyntaxToken asyncToken, InternalSyntaxToken functionKeyword, IdentifierTreeImpl name, ParameterListTreeImpl parameters, BlockTreeImpl body)
public static FunctionDeclarationTree createGenerator(InternalSyntaxToken functionKeyword, InternalSyntaxToken starToken, IdentifierTreeImpl name, ParameterListTreeImpl parameters, BlockTreeImpl body)
public SyntaxToken functionKeyword()
functionKeyword in interface FunctionDeclarationTree@Nullable public SyntaxToken starToken()
starToken in interface FunctionDeclarationTreepublic IdentifierTree name()
name in interface FunctionDeclarationTree@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionDeclarationTreeparameterClause in interface FunctionTreepublic BlockTree body()
body in interface FunctionDeclarationTreebody in interface FunctionTreepublic 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–2016 SonarSource and Eriks Nukis. All rights reserved.