Class ComprehensionTree
- java.lang.Object
-
- com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- com.google.javascript.jscomp.parsing.parser.trees.ComprehensionTree
-
public class ComprehensionTree extends ParseTree
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComprehensionTree.ComprehensionType
-
Field Summary
Fields Modifier and Type Field Description com.google.common.collect.ImmutableList<ParseTree>
children
ParseTree
tailExpression
ComprehensionTree.ComprehensionType
type
-
Constructor Summary
Constructors Constructor Description ComprehensionTree(SourceRange location, ComprehensionTree.ComprehensionType type, com.google.common.collect.ImmutableList<ParseTree> children, ParseTree tailExpression)
-
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, asComputedPropertyGetter, asComputedPropertyMethod, asComputedPropertySetter, asConditionalExpression, asContinueStatement, asDebuggerStatement, asDefaultClause, asDefaultParameter, asDoWhileStatement, asDynamicImportExpression, asEmptyStatement, asExportDeclaration, asExportSpecifier, asExpressionStatement, 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, asOptionalCallExpression, 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
-
type
public final ComprehensionTree.ComprehensionType type
-
children
public final com.google.common.collect.ImmutableList<ParseTree> children
-
tailExpression
public final ParseTree tailExpression
-
-
Constructor Detail
-
ComprehensionTree
public ComprehensionTree(SourceRange location, ComprehensionTree.ComprehensionType type, com.google.common.collect.ImmutableList<ParseTree> children, ParseTree tailExpression)
-
-