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.
|
Modifier and Type | Field and Description |
---|---|
private Config |
Compiler.externsParserConfig |
private Config |
Compiler.parserConfig |
Modifier and Type | Method and Description |
---|---|
protected Config |
Compiler.createConfig(Config.LanguageMode mode) |
(package private) abstract Config |
AbstractCompiler.getParserConfig(AbstractCompiler.ConfigContext context)
Returns the parser configuration for the specified context.
|
(package private) Config |
Compiler.getParserConfig(AbstractCompiler.ConfigContext context) |
Modifier and Type | Field and Description |
---|---|
private Config |
IRFactory.config |
(package private) static Config |
IRFactory.NULL_CONFIG |
Modifier and Type | Method and Description |
---|---|
static Config |
ParserRunner.createConfig(boolean isIdeMode,
boolean parseJsDocDocumentation,
boolean preserveJsDocWhitespace,
Config.LanguageMode languageMode,
java.util.Set<java.lang.String> extraAnnotationNames) |
static Config |
ParserRunner.createConfig(boolean isIdeMode,
Config.LanguageMode languageMode,
java.util.Set<java.lang.String> extraAnnotationNames) |
Modifier and Type | Method and Description |
---|---|
static ParserRunner.ParseResult |
ParserRunner.parse(StaticSourceFile sourceFile,
java.lang.String sourceString,
Config config,
ErrorReporter errorReporter) |
static IRFactory |
IRFactory.transformTree(ProgramTree tree,
StaticSourceFile sourceFile,
java.lang.String sourceString,
Config config,
ErrorReporter errorReporter) |
Constructor and Description |
---|
IRFactory(java.lang.String sourceString,
StaticSourceFile sourceFile,
Config config,
ErrorReporter errorReporter,
com.google.common.collect.ImmutableList<Comment> comments) |
JsDocInfoParser(JsDocTokenStream stream,
java.lang.String comment,
int commentPosition,
StaticSourceFile sourceFile,
Config config,
ErrorReporter errorReporter) |