public class FunctionDeclarationTreeImpl extends FunctionTreeImpl implements FunctionDeclarationTree
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, @Nullable FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, @Nullable FlowTypeAnnotationTree returnType, BlockTree body)
public static FunctionDeclarationTree createGenerator(InternalSyntaxToken functionKeyword, InternalSyntaxToken starToken, IdentifierTree name, @Nullable FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, @Nullable FlowTypeAnnotationTree returnType, 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 FlowGenericParameterClauseTree genericParameterClause()
genericParameterClause in interface FunctionTree@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionDeclarationTreeparameterClause in interface FunctionTree@Nullable public FlowTypeAnnotationTree returnType()
returnType in interface FunctionDeclarationTreereturnType 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–2019 SonarSource and Eriks Nukis. All rights reserved.