@Immutable
public abstract class Config
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Config.Builder
Builder for a Config.
|
static class |
Config.JsDocParsing
Whether to parse the descriptions of JsDoc comments.
|
static class |
Config.LanguageMode
JavaScript mode
|
static class |
Config.RunMode
Whether to keep going after encountering a parse error.
|
static class |
Config.StrictMode
Level of language strictness required for the input source code.
|
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableMap<java.lang.String,com.google.javascript.jscomp.parsing.Annotation> |
annotations()
Recognized JSDoc annotations, mapped from their name to their internal representation.
|
static Config.Builder |
builder() |
abstract Config.JsDocParsing |
jsDocParsingMode()
How to parse the descriptions of JsDoc comments.
|
abstract Config.LanguageMode |
languageMode()
Language level to accept.
|
abstract boolean |
parseInlineSourceMaps()
Whether to parse inline source maps (//# sourceMappingURL=data:...).
|
abstract Config.RunMode |
runMode()
Whether to keep going after encountering a parse error.
|
abstract Config.StrictMode |
strictMode()
Whether to assume input is strict mode compliant.
|
abstract com.google.common.collect.ImmutableSet<java.lang.String> |
suppressionNames()
Set of recognized names in a
@suppress tag. |
public abstract Config.LanguageMode languageMode()
public abstract Config.StrictMode strictMode()
public abstract Config.JsDocParsing jsDocParsingMode()
public abstract Config.RunMode runMode()
public abstract com.google.common.collect.ImmutableMap<java.lang.String,com.google.javascript.jscomp.parsing.Annotation> annotations()
public abstract com.google.common.collect.ImmutableSet<java.lang.String> suppressionNames()
@suppress
tag.public abstract boolean parseInlineSourceMaps()
public static Config.Builder builder()
Copyright © 2009-2019 Google. All Rights Reserved.