public class FunctionExpressionTreeImpl extends FunctionTreeImpl implements FunctionExpressionTree, TypableTree
outerScopeSymbolUsages, scope, scopechildrenStream, descendants, firstToken, is, isAncestorOf, isLeaf, lastToken, parent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parentscopepublic static FunctionExpressionTree createGenerator(SyntaxToken functionKeyword, SyntaxToken star, @Nullable IdentifierTree name, @Nullable FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, @Nullable FlowTypeAnnotationTree returnType, BlockTree body)
public static FunctionExpressionTree create(@Nullable SyntaxToken asyncToken, SyntaxToken functionToken, @Nullable IdentifierTree name, @Nullable FlowGenericParameterClauseTree genericParameterClause, ParameterListTree parameters, @Nullable FlowTypeAnnotationTree returnType, BlockTree body)
public SyntaxToken functionKeyword()
functionKeyword in interface FunctionExpressionTree@Nullable public SyntaxToken starToken()
starToken in interface FunctionExpressionTree@Nullable public IdentifierTree name()
name in interface FunctionTreename in interface FunctionExpressionTree@Nullable public FlowGenericParameterClauseTree genericParameterClause()
genericParameterClause in interface FunctionTree@Nullable public SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionTreeparameterClause in interface FunctionExpressionTree@Nullable public FlowTypeAnnotationTree returnType()
returnType in interface FunctionTreereturnType in interface FunctionExpressionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic BlockTree body()
body in interface FunctionTreebody in interface FunctionExpressionTreepublic List<BindingElementTree> parameterList()
parameterList in interface FunctionTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(DoubleDispatchVisitor visitor)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void add(Type type)
add in interface TypableTreeCopyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.