| Package | Description |
|---|---|
| com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
| com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
| com.google.javascript.jscomp.parsing.parser |
| Modifier and Type | Method and Description |
|---|---|
FeatureSet |
JsAst.getFeatures(AbstractCompiler compiler) |
| Modifier and Type | Field and Description |
|---|---|
FeatureSet |
ParserRunner.ParseResult.features |
FeatureSet |
Config.LanguageMode.featureSet |
| Modifier and Type | Method and Description |
|---|---|
static FeatureSet |
ParserRunner.detectFeatures(String sourcePath,
String sourceString) |
| Constructor and Description |
|---|
ParseResult(Node ast,
List<Comment> comments,
FeatureSet features,
String sourceMap) |
| Modifier and Type | Field and Description |
|---|---|
static FeatureSet |
FeatureSet.ES3
The bare minimum set of features in 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_IMPL
The subset of ES6 features that are implemented in stable Chrome, Firefox, and Edge.
|
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.TYPESCRIPT
TypeScript syntax.
|
| Modifier and Type | Method and Description |
|---|---|
FeatureSet |
FeatureSet.Feature.features() |
FeatureSet |
Parser.getFeatures() |
FeatureSet |
FeatureSet.require(FeatureSet.Feature feature)
Returns a feature set combining all the features from
this and feature. |
FeatureSet |
FeatureSet.require(FeatureSet other)
Returns a feature set combining all the features from
this and other. |
FeatureSet |
FeatureSet.union(FeatureSet other)
|
static FeatureSet |
FeatureSet.valueOf(String name)
Parses known strings into feature sets.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FeatureSet.contains(FeatureSet other)
Does this
FeatureSet contain all of the features of other? |
FeatureSet |
FeatureSet.require(FeatureSet other)
Returns a feature set combining all the features from
this and other. |
FeatureSet |
FeatureSet.union(FeatureSet other)
|
Copyright © 2009-2017 Google. All Rights Reserved.