public class FunctionDeclarationTreeImpl extends JavaScriptTree implements FunctionDeclarationTree
| Constructor and Description |
|---|
FunctionDeclarationTreeImpl(InternalSyntaxToken functionKeyword,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionDeclarationTreeImpl(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starToken,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
BlockTree |
body() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
SyntaxToken |
functionKeyword() |
Tree.Kind |
getKind() |
IdentifierTree |
name() |
ParameterListTree |
parameters() |
SyntaxToken |
starToken() |
getFirstToken, getLastToken, getLine, is, isLeafpublic FunctionDeclarationTreeImpl(InternalSyntaxToken functionKeyword, InternalSyntaxToken starToken, IdentifierTreeImpl name, ParameterListTreeImpl parameters, BlockTreeImpl body)
public FunctionDeclarationTreeImpl(InternalSyntaxToken functionKeyword, 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 FunctionDeclarationTreepublic ParameterListTree parameters()
parameters in interface FunctionDeclarationTreeparameters in interface FunctionTreepublic BlockTree body()
body in interface FunctionDeclarationTreebody in interface FunctionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.