org.sonar.javascript.model
Interface FunctionTree

All Superinterfaces:
ExpressionTree, SourceElementTree, StatementTree, Tree
All Known Implementing Classes:
TreeImpl.FunctionTreeImpl

public interface FunctionTree
extends SourceElementTree, StatementTree, ExpressionTree

Function Definition.

   function identifier() ( formalParameterList() ) body()
   function ( formalParameterList() ) body()
 

This interface is not intended to be implemented by clients.


Method Summary
 List<? extends SourceElementTree> body()
           
 List<IdentifierTree> formalParameterList()
           
 IdentifierTree identifier()
           
 
Methods inherited from interface org.sonar.javascript.model.Tree
as, getLine, is
 

Method Detail

identifier

@Nullable
IdentifierTree identifier()

formalParameterList

List<IdentifierTree> formalParameterList()

body

List<? extends SourceElementTree> body()


Copyright © 2011-2014 SonarSource and Eriks Nukis. All Rights Reserved.