public class FunctionExpressionTreeImpl extends FunctionTreeImpl implements FunctionExpressionTree, TypableTree
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
SyntaxToken |
asyncToken() |
BlockTree |
body() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
static FunctionExpressionTree |
create(SyntaxToken asyncToken,
SyntaxToken functionToken,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
static FunctionExpressionTree |
createGenerator(SyntaxToken functionKeyword,
SyntaxToken star,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
SyntaxToken |
functionKeyword() |
Tree.Kind |
getKind() |
IdentifierTree |
name() |
ParameterListTree |
parameterClause() |
List<BindingElementTree> |
parameterList() |
SyntaxToken |
starToken() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
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, ParameterListTree parameters, BlockTree body)
public static FunctionExpressionTree create(@Nullable SyntaxToken asyncToken, SyntaxToken functionToken, @Nullable IdentifierTree name, ParameterListTree parameters, 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 SyntaxToken asyncToken()
asyncToken in interface FunctionTreepublic ParameterListTree parameterClause()
parameterClause in interface FunctionTreeparameterClause 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.