Class FieldDeclarationTree
- java.lang.Object
-
- com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- com.google.javascript.jscomp.parsing.parser.trees.FieldDeclarationTree
-
public class FieldDeclarationTree extends ParseTree
Tree for public property fields
-
-
Field Summary
Fields Modifier and Type Field Description ParseTree
initializer
boolean
isStatic
IdentifierToken
name
-
Constructor Summary
Constructors Constructor Description FieldDeclarationTree(SourceRange location, IdentifierToken name, boolean isStatic, ParseTree initializer)
-
Method Summary
-
Methods inherited from class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
asArrayLiteralExpression, asArrayPattern, asAwaitExpression, asBinaryOperator, asBlock, asBreakStatement, asCallExpression, asCaseClause, asCatch, asClassDeclaration, asCommaExpression, asComprehension, asComprehensionFor, asComprehensionIf, asComputedPropertyDefinition, asComputedPropertyField, asComputedPropertyGetter, asComputedPropertyMethod, asComputedPropertySetter, asConditionalExpression, asContinueStatement, asDebuggerStatement, asDefaultClause, asDefaultParameter, asDoWhileStatement, asDynamicImportExpression, asEmptyStatement, asExportDeclaration, asExportSpecifier, asExpressionStatement, asFieldDeclaration, asFinally, asForAwaitOfStatement, asForInStatement, asFormalParameterList, asForOfStatement, asForStatement, asFunctionDeclaration, asGetAccessor, asIdentifierExpression, asIfStatement, asImportDeclaration, asImportMetaExpression, asImportSpecifier, asIterRest, asIterSpread, asLabelledStatement, asLiteralExpression, asMemberExpression, asMemberLookupExpression, asMissingPrimaryExpression, asNewExpression, asNewTargetExpression, asNull, asObjectLiteralExpression, asObjectPattern, asObjectRest, asObjectSpread, asOptChainCallExpression, asOptionalMemberExpression, asOptionalMemberLookupExpression, asParenExpression, asProgram, asPropertyNameAssignment, asReturnStatement, asSetAccessor, asSuperExpression, asSwitchStatement, asTemplateLiteralExpression, asTemplateLiteralPortion, asTemplateSubstitution, asThisExpression, asThrowStatement, asTryStatement, asUnaryExpression, asUpdateExpression, asVariableDeclaration, asVariableDeclarationList, asVariableStatement, asWhileStatement, asWithStatement, asYieldStatement, getEnd, getStart, isPattern, isRestParameter, isValidAssignmentTarget, toString
-
-
-
-
Field Detail
-
name
public final IdentifierToken name
-
isStatic
public final boolean isStatic
-
initializer
@Nullable public final ParseTree initializer
-
-
Constructor Detail
-
FieldDeclarationTree
public FieldDeclarationTree(SourceRange location, IdentifierToken name, boolean isStatic, ParseTree initializer)
-
-