public class FunctionDeclarationTree extends ParseTree
Modifier and Type | Class and Description |
---|---|
static class |
FunctionDeclarationTree.Kind |
Modifier and Type | Field and Description |
---|---|
FormalParameterListTree |
formalParameterList |
ParseTree |
functionBody |
boolean |
isGenerator |
boolean |
isStatic |
FunctionDeclarationTree.Kind |
kind |
IdentifierToken |
name |
ParseTree |
returnType |
Constructor and Description |
---|
FunctionDeclarationTree(SourceRange location,
IdentifierToken name,
boolean isStatic,
boolean isGenerator,
FunctionDeclarationTree.Kind kind,
FormalParameterListTree formalParameterList,
ParseTree returnType,
ParseTree functionBody) |
asArgumentList, asArrayLiteralExpression, asArrayPattern, asArrayType, asAssignmentRestElement, asBinaryOperator, asBlock, asBreakStatement, asCallExpression, asCaseClause, asCatch, asClassDeclaration, asCommaExpression, asComprehension, asComprehensionFor, asComprehensionIf, asComputedPropertyDefinition, asComputedPropertyGetter, asComputedPropertyMemberVariable, asComputedPropertyMethod, asComputedPropertySetter, asConditionalExpression, asContinueStatement, asDebuggerStatement, asDefaultClause, asDefaultParameter, asDoWhileStatement, asEmptyStatement, asExportDeclaration, asExportSpecifier, asExpressionStatement, asFinally, asForInStatement, asFormalParameterList, asForOfStatement, asForStatement, asFunctionDeclaration, asGetAccessor, asIdentifierExpression, asIfStatement, asImportDeclaration, asImportSpecifier, asLabelledStatement, asLiteralExpression, asMemberExpression, asMemberLookupExpression, asMemberVariable, asMissingPrimaryExpression, asModuleImport, asNewExpression, asNull, asObjectLiteralExpression, asObjectPattern, asParameterizedType, asParenExpression, asPostfixExpression, asProgram, asPropertyNameAssignment, asRestParameter, asReturnStatement, asSetAccessor, asSpreadExpression, asSuperExpression, asSwitchStatement, asTemplateLiteralExpression, asTemplateLiteralPortion, asTemplateSubstitution, asThisExpression, asThrowStatement, asTryStatement, asTypedParameter, asTypeName, asUnaryExpression, asVariableDeclaration, asVariableDeclarationList, asVariableStatement, asWhileStatement, asWithStatement, asYieldStatement, isAssignmentExpression, isAssignmentRestElement, isPattern, isRestParameter, isSourceElement, isStatementStandard, isValidAssignmentTarget, toString
public final IdentifierToken name
public final FormalParameterListTree formalParameterList
public final ParseTree functionBody
public final boolean isStatic
public final boolean isGenerator
public final FunctionDeclarationTree.Kind kind
public FunctionDeclarationTree(SourceRange location, IdentifierToken name, boolean isStatic, boolean isGenerator, FunctionDeclarationTree.Kind kind, FormalParameterListTree formalParameterList, @Nullable ParseTree returnType, ParseTree functionBody)
Copyright © 2009-2015 Google. All Rights Reserved.