public class ProgramTree extends ParseTree
Modifier and Type | Field and Description |
---|---|
com.google.common.collect.ImmutableList<Comment> |
sourceComments |
com.google.common.collect.ImmutableList<ParseTree> |
sourceElements |
Constructor and Description |
---|
ProgramTree(SourceRange location,
com.google.common.collect.ImmutableList<ParseTree> sourceElements,
com.google.common.collect.ImmutableList<Comment> sourceComments) |
asAmbientDeclaration, asArrayLiteralExpression, asArrayPattern, asArrayType, asAssignmentRestElement, asAwaitExpression, asBinaryOperator, asBlock, asBreakStatement, asCallExpression, asCallSignature, asCaseClause, asCatch, asClassDeclaration, asCommaExpression, asComprehension, asComprehensionFor, asComprehensionIf, asComputedPropertyDefinition, asComputedPropertyGetter, asComputedPropertyMemberVariable, asComputedPropertyMethod, asComputedPropertySetter, asConditionalExpression, asContinueStatement, asDebuggerStatement, asDefaultClause, asDefaultParameter, asDoWhileStatement, asEmptyStatement, asEnumDeclaration, asExportDeclaration, asExportSpecifier, asExpressionStatement, asFinally, asForInStatement, asFormalParameterList, asForOfStatement, asForStatement, asFunctionDeclaration, asFunctionType, asGenericTypeList, asGetAccessor, asIdentifierExpression, asIfStatement, asImportDeclaration, asImportSpecifier, asIndexSignature, asInterfaceDeclaration, asLabelledStatement, asLiteralExpression, asMemberExpression, asMemberLookupExpression, asMemberVariable, asMissingPrimaryExpression, asNamespaceDeclaration, asNewExpression, asNewTargetExpression, asNull, asObjectLiteralExpression, asObjectPattern, asOptionalParameter, asParameterizedType, asParenExpression, asProgram, asPropertyNameAssignment, asRecordType, asRestParameter, asReturnStatement, asSetAccessor, asSpreadExpression, asSuperExpression, asSwitchStatement, asTemplateLiteralExpression, asTemplateLiteralPortion, asTemplateSubstitution, asThisExpression, asThrowStatement, asTryStatement, asTypeAlias, asTypedParameter, asTypeName, asTypeQuery, asUnaryExpression, asUnionType, asUpdateExpression, asVariableDeclaration, asVariableDeclarationList, asVariableStatement, asWhileStatement, asWithStatement, asYieldStatement, getEnd, getStart, isAssignmentRestElement, isPattern, isRestParameter, isValidAssignmentTarget, toString
public final com.google.common.collect.ImmutableList<ParseTree> sourceElements
public final com.google.common.collect.ImmutableList<Comment> sourceComments
public ProgramTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> sourceElements, com.google.common.collect.ImmutableList<Comment> sourceComments)
Copyright © 2009-2018 Google. All Rights Reserved.