public class MemberVariableTree extends ParseTree
Modifier and Type | Field and Description |
---|---|
TokenType |
access |
ParseTree |
declaredType |
boolean |
isOptional |
boolean |
isStatic |
IdentifierToken |
name |
Constructor and Description |
---|
MemberVariableTree(SourceRange location,
IdentifierToken name,
boolean isStatic,
boolean isOptional,
TokenType access,
ParseTree declaredType) |
asAmbientDeclaration, asArrayLiteralExpression, asArrayPattern, asArrayType, asAwaitExpression, asBinaryOperator, asBlock, asBreakStatement, asCallExpression, asCallSignature, asCaseClause, asCatch, asClassDeclaration, asCommaExpression, asComprehension, asComprehensionFor, asComprehensionIf, asComputedPropertyDefinition, asComputedPropertyGetter, asComputedPropertyMemberVariable, asComputedPropertyMethod, asComputedPropertySetter, asConditionalExpression, asContinueStatement, asDebuggerStatement, asDefaultClause, asDefaultParameter, asDoWhileStatement, asDynamicImportExpression, asEmptyStatement, asEnumDeclaration, asExportDeclaration, asExportSpecifier, asExpressionStatement, asFinally, asForAwaitOfStatement, asForInStatement, asFormalParameterList, asForOfStatement, asForStatement, asFunctionDeclaration, asFunctionType, asGenericTypeList, asGetAccessor, asIdentifierExpression, asIfStatement, asImportDeclaration, asImportMetaExpression, asImportSpecifier, asIndexSignature, asInterfaceDeclaration, asIterRest, asIterSpread, asLabelledStatement, asLiteralExpression, asMemberExpression, asMemberLookupExpression, asMemberVariable, asMissingPrimaryExpression, asNamespaceDeclaration, asNewExpression, asNewTargetExpression, asNull, asObjectLiteralExpression, asObjectPattern, asObjectRest, asObjectSpread, asOptionalParameter, asParameterizedType, asParenExpression, asProgram, asPropertyNameAssignment, asRecordType, asReturnStatement, asSetAccessor, asSuperExpression, asSwitchStatement, asTemplateLiteralExpression, asTemplateLiteralPortion, asTemplateSubstitution, asThisExpression, asThrowStatement, asTryStatement, asTypeAlias, asTypedParameter, asTypeName, asTypeQuery, asUnaryExpression, asUnionType, asUpdateExpression, asVariableDeclaration, asVariableDeclarationList, asVariableStatement, asWhileStatement, asWithStatement, asYieldStatement, getEnd, getStart, isPattern, isRestParameter, isValidAssignmentTarget, toString
public final IdentifierToken name
public final boolean isStatic
public final boolean isOptional
@Nullable public final TokenType access
@Nullable public final ParseTree declaredType
public MemberVariableTree(SourceRange location, IdentifierToken name, boolean isStatic, boolean isOptional, @Nullable TokenType access, @Nullable ParseTree declaredType)
Copyright © 2009-2020 Google. All Rights Reserved.