Uses of Class
com.google.javascript.jscomp.parsing.parser.FeatureSet
Packages that use FeatureSet
Package
Description
-
Uses of FeatureSet in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return FeatureSetModifier and TypeMethodDescriptionCompiler.getAllowableFeatures()
CompilerInput.getFeatures
(AbstractCompiler compiler) CompilerOptions.getOutputFeatureSet()
Gets the set of features that can appear in the output.CompilerOptions.LanguageMode.toFeatureSet()
Methods in com.google.javascript.jscomp with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic boolean
NodeUtil.isValidQualifiedName
(FeatureSet mode, String name) Determines whether the given name is a valid qualified name.void
CompilerOptions.legacySetOutputFeatureSet
(FeatureSet featureSet) boolean
CompilerOptions.needsTranspilationFrom
(FeatureSet languageLevel) -
Uses of FeatureSet in com.google.javascript.jscomp.parsing
Fields in com.google.javascript.jscomp.parsing declared as FeatureSetModifier and TypeFieldDescriptionfinal FeatureSet
ParserRunner.ParseResult.features
final FeatureSet
Config.LanguageMode.featureSet
Methods in com.google.javascript.jscomp.parsing with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic 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 FeatureSetModifierConstructorDescriptionParseResult
(Node ast, List<Comment> comments, FeatureSet features, String sourceMapURL) -
Uses of FeatureSet in com.google.javascript.jscomp.parsing.parser
Fields in com.google.javascript.jscomp.parsing.parser declared as FeatureSetModifier and TypeFieldDescriptionstatic final FeatureSet
FeatureSet.ALL
static final FeatureSet
FeatureSet.BARE_MINIMUM
The bare minimum set of features.static final FeatureSet
FeatureSet.BROWSER_2020
static final FeatureSet
FeatureSet.BROWSER_2021
static final FeatureSet
FeatureSet.BROWSER_2022
static final FeatureSet
FeatureSet.BROWSER_2023
static final FeatureSet
FeatureSet.BROWSER_2024
static final FeatureSet
FeatureSet.BROWSER_2025
static final FeatureSet
FeatureSet.ES_NEXT
static final FeatureSet
FeatureSet.ES_UNSTABLE
static final FeatureSet
FeatureSet.ES_UNSUPPORTED
static final FeatureSet
FeatureSet.ES2015
The full set of ES2015 features, not including modules.static final FeatureSet
FeatureSet.ES2015_MODULES
All ES2015 features, including modules.static final FeatureSet
FeatureSet.ES2016
static final FeatureSet
FeatureSet.ES2016_MODULES
static final FeatureSet
FeatureSet.ES2017
static final FeatureSet
FeatureSet.ES2017_MODULES
static final FeatureSet
FeatureSet.ES2018
static final FeatureSet
FeatureSet.ES2018_MODULES
static final FeatureSet
FeatureSet.ES2019
static final FeatureSet
FeatureSet.ES2019_MODULES
static final FeatureSet
FeatureSet.ES2020
static final FeatureSet
FeatureSet.ES2020_MODULES
static final FeatureSet
FeatureSet.ES2021
static final FeatureSet
FeatureSet.ES2021_MODULES
static final FeatureSet
FeatureSet.ES3
Features from ES3.static final FeatureSet
FeatureSet.ES5
Features from ES5 only.Methods in com.google.javascript.jscomp.parsing.parser that return FeatureSetModifier and TypeMethodDescriptionstatic FeatureSet
FeatureSet.all()
Returns aFeatureSet
containing all known features.Parser.getFeatures()
static FeatureSet
FeatureSet.latest()
FeatureSet.union
(FeatureSet other) static FeatureSet
Parses known strings into feature sets.FeatureSet.with
(FeatureSet newFeatures) Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet.with
(FeatureSet.Feature feature) Returns a feature set combining all the features fromthis
andfeature
.FeatureSet.with
(FeatureSet.Feature... newFeatures) Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet.with
(Set<FeatureSet.Feature> newFeatures) Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet.without
(FeatureSet other) FeatureSet.without
(FeatureSet.Feature featureToRemove, FeatureSet.Feature... moreFeaturesToRemove) FeatureSet.withoutTypes()
Methods in com.google.javascript.jscomp.parsing.parser with parameters of type FeatureSetModifier and TypeMethodDescriptionboolean
FeatureSet.contains
(FeatureSet other) Does thisFeatureSet
contain all of the features ofother
?boolean
FeatureSet.containsAtLeastOneOf
(FeatureSet other) Does thisFeatureSet
contain at least one of the features ofother
?FeatureSet.union
(FeatureSet other) FeatureSet.with
(FeatureSet newFeatures) Returns a feature set combining all the features fromthis
andnewFeatures
.FeatureSet.without
(FeatureSet other) -
Uses of FeatureSet in com.google.javascript.jscomp.transpile
Fields in com.google.javascript.jscomp.transpile declared as FeatureSetModifier and TypeFieldDescriptionprotected final FeatureSet
BaseTranspiler.CompilerSupplier.outputFeatureSet
Methods in com.google.javascript.jscomp.transpile with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic final BaseTranspiler
BaseTranspiler.to
(FeatureSet featureSet) static final BaseTranspiler
BaseTranspiler.to
(FeatureSet featureSet, String runtime) Constructors in com.google.javascript.jscomp.transpile with parameters of type FeatureSetModifierConstructorDescriptionCompilerSupplier
(FeatureSet outputFeatureSet) CompilerSupplier
(FeatureSet outputFeatureSet, ModuleLoader.ResolutionMode moduleResolution, com.google.common.collect.ImmutableList<String> moduleRoots, com.google.common.collect.ImmutableMap<String, String> prefixReplacements) Accepts commonly overridden options for ES6 modules to avoid needed to subclass.