public class FunctionDeclarationTreeImpl extends FunctionTreeImpl 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,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
static FunctionDeclarationTree |
createGenerator(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starToken,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
SyntaxToken |
functionKeyword() |
Tree.Kind |
getKind() |
IdentifierTree |
name() |
ParameterListTree |
parameterClause() |
List<BindingElementTree> |
parameterList() |
SyntaxToken |
starToken() |
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 FunctionDeclarationTree create(@Nullable SyntaxToken asyncToken, InternalSyntaxToken functionKeyword, IdentifierTree name, ParameterListTree parameters, BlockTree body)
public static FunctionDeclarationTree createGenerator(InternalSyntaxToken functionKeyword, InternalSyntaxToken starToken, IdentifierTree name, ParameterListTree parameters, BlockTree body)
public SyntaxToken functionKeyword()
functionKeyword in interface FunctionDeclarationTree@Nullable public SyntaxToken starToken()
starToken in interface FunctionDeclarationTreepublic IdentifierTree name()
name in interface FunctionDeclarationTreename in interface FunctionTree@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<BindingElementTree> 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.