Enum Class FeatureCollector.FeatureContext

java.lang.Object
java.lang.Enum<FeatureCollector.FeatureContext>
com.google.javascript.jscomp.parsing.FeatureCollector.FeatureContext
All Implemented Interfaces:
Serializable, Comparable<FeatureCollector.FeatureContext>, Constable
Enclosing class:
FeatureCollector

public static enum FeatureCollector.FeatureContext extends Enum<FeatureCollector.FeatureContext>
Context of a node while deserializing, specifically for the purpose of tracking FeatureSet.Feature

These contexts are pushed onto a stack as the AST is traversed. The intent is to have a way to model the ancestry of a node being visited before the AST is fully built, as parent pointers may not have been instantiated yet.