Uses of Class
com.google.javascript.jscomp.parsing.parser.FeatureSet
-
Packages that use FeatureSet Package Description com.google.javascript.jscomp com.google.javascript.jscomp.parsing com.google.javascript.jscomp.parsing.parser com.google.javascript.jscomp.transpile -
-
Uses of FeatureSet in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return FeatureSet Modifier and Type Method Description FeatureSet
JsAst. getFeatures(AbstractCompiler compiler)
abstract FeatureSet
PassFactory. getFeatureSet()
The set of features that this pass understands.FeatureSet
CompilerOptions. getOutputFeatureSet()
Gets the set of features that can appear in the output.FeatureSet
CompilerOptions.LanguageMode. toFeatureSet()
Methods in com.google.javascript.jscomp with parameters of type FeatureSet Modifier and Type Method Description static boolean
NodeUtil. isValidQualifiedName(FeatureSet mode, java.lang.String name)
Determines whether the given name is a valid qualified name.boolean
CompilerOptions. needsTranspilationFrom(FeatureSet languageLevel)
abstract PassFactory.Builder
PassFactory.Builder. setFeatureSet(FeatureSet x)
Set the features that are allowed to be in the AST when this pass runs.void
CompilerOptions. setOutputFeatureSet(FeatureSet featureSet)
Sets the features that allowed to appear in the output. -
Uses of FeatureSet in com.google.javascript.jscomp.parsing
Fields in com.google.javascript.jscomp.parsing declared as FeatureSet Modifier and Type Field Description FeatureSet
ParserRunner.ParseResult. features
FeatureSet
Config.LanguageMode. featureSet
Methods in com.google.javascript.jscomp.parsing with parameters of type FeatureSet Modifier and Type Method Description static Config.LanguageMode
Config.LanguageMode. minimumRequiredForSet(FeatureSet featureSet)
Returns the lowestConfig.LanguageMode
that supports the specified feature set.Constructors in com.google.javascript.jscomp.parsing with parameters of type FeatureSet Constructor Description ParseResult(Node ast, java.util.List<Comment> comments, FeatureSet features, java.lang.String sourceMapURL)
-
Uses of FeatureSet in com.google.javascript.jscomp.parsing.parser
Fields in com.google.javascript.jscomp.parsing.parser declared as FeatureSet Modifier and Type Field Description static FeatureSet
FeatureSet. BARE_MINIMUM
The bare minimum set of features.static FeatureSet
FeatureSet. BROWSER_2020
static FeatureSet
FeatureSet. ES_NEXT
static FeatureSet
FeatureSet. ES_NEXT_IN
static FeatureSet
FeatureSet. ES_UNSUPPORTED
static FeatureSet
FeatureSet. ES2018
static FeatureSet
FeatureSet. ES2018_MODULES
static FeatureSet
FeatureSet. ES2019
static FeatureSet
FeatureSet. ES2019_MODULES
static FeatureSet
FeatureSet. ES2020
static FeatureSet
FeatureSet. ES2020_MODULES
static FeatureSet
FeatureSet. ES3
Features from ES3.static FeatureSet
FeatureSet. ES5
Features from ES5 only.static FeatureSet
FeatureSet. ES6
The full set of ES6 features, not including modules.static FeatureSet
FeatureSet. ES6_MODULES
All ES6 features, including modules.static FeatureSet
FeatureSet. ES7
static FeatureSet
FeatureSet. ES7_MODULES
static FeatureSet
FeatureSet. ES8
static FeatureSet
FeatureSet. ES8_MODULES
static FeatureSet
FeatureSet. TS_UNSUPPORTED
static FeatureSet
FeatureSet. TYPESCRIPT
Methods in com.google.javascript.jscomp.parsing.parser that return FeatureSet Modifier and Type Method Description static FeatureSet
FeatureSet. all()
Returns aFeatureSet
containing all known features.FeatureSet
Parser. getFeatures()
static FeatureSet
FeatureSet. latest()
FeatureSet
FeatureSet. union(FeatureSet other)
static FeatureSet
FeatureSet. valueOf(java.lang.String name)
Parses known strings into feature sets.FeatureSet
FeatureSet. with(FeatureSet newFeatures)
Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet
FeatureSet. with(FeatureSet.Feature feature)
Returns a feature set combining all the features fromthis
andfeature
.FeatureSet
FeatureSet. with(FeatureSet.Feature... newFeatures)
Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet
FeatureSet. with(java.util.Set<FeatureSet.Feature> newFeatures)
Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet
FeatureSet. without(FeatureSet other)
FeatureSet
FeatureSet. without(FeatureSet.Feature featureToRemove, FeatureSet.Feature... moreFeaturesToRemove)
FeatureSet
FeatureSet. withoutTypes()
Methods in com.google.javascript.jscomp.parsing.parser with parameters of type FeatureSet Modifier and Type Method Description boolean
FeatureSet. contains(FeatureSet other)
Does thisFeatureSet
contain all of the features ofother
?FeatureSet
FeatureSet. union(FeatureSet other)
FeatureSet
FeatureSet. with(FeatureSet newFeatures)
Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet
FeatureSet. without(FeatureSet other)
-
Uses of FeatureSet in com.google.javascript.jscomp.transpile
Fields in com.google.javascript.jscomp.transpile declared as FeatureSet Modifier and Type Field Description protected FeatureSet
BaseTranspiler.CompilerSupplier. outputFeatureSet
Methods in com.google.javascript.jscomp.transpile with parameters of type FeatureSet Modifier and Type Method Description static BaseTranspiler
BaseTranspiler. to(FeatureSet featureSet)
static BaseTranspiler
BaseTranspiler. to(FeatureSet featureSet, java.lang.String runtime)
Constructors in com.google.javascript.jscomp.transpile with parameters of type FeatureSet Constructor Description CompilerSupplier(FeatureSet outputFeatureSet)
CompilerSupplier(FeatureSet outputFeatureSet, ModuleLoader.ResolutionMode moduleResolution, com.google.common.collect.ImmutableList<java.lang.String> moduleRoots, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> prefixReplacements)
Accepts commonly overridden options for ES6 modules to avoid needed to subclass.
-