@Exported public interface FunctionDeclarationTree extends StatementTree
function name ( parameters ) body
Modifier and Type | Method and Description |
---|---|
BlockTree |
getBody()
Returns the body of code of this function.
|
String |
getName()
Returns the name of the function being declared.
|
List<? extends ExpressionTree> |
getParameters()
Returns the parameters of this function.
|
boolean |
isStrict()
Is this a strict function?
|
accept, getEndPosition, getKind, getStartPosition
String getName()
List<? extends ExpressionTree> getParameters()
BlockTree getBody()
boolean isStrict()
Copyright © 2014, 2015, Oracle and/or its affiliates. All rights reserved.
DRAFT internal-b71