|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.javascript.jscomp.parsing.ParserRunner
public class ParserRunner
parser runner
Nested Class Summary | |
---|---|
static class |
ParserRunner.ParseResult
Holds results of parsing. |
Method Summary | |
---|---|
static Config |
createConfig(boolean isIdeMode)
Deprecated. |
static Config |
createConfig(boolean isIdeMode,
Config.LanguageMode languageMode,
boolean acceptConstKeyword)
|
static Config |
createConfig(boolean isIdeMode,
Config.LanguageMode languageMode,
boolean acceptConstKeyword,
Set<String> extraAnnotationNames)
|
static Set<String> |
getReservedVars()
|
static ParserRunner.ParseResult |
parse(StaticSourceFile sourceFile,
String sourceString,
Config config,
com.google.javascript.rhino.head.ErrorReporter errorReporter,
Logger logger)
Parses the JavaScript text given by a reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static Config createConfig(boolean isIdeMode)
public static Config createConfig(boolean isIdeMode, Config.LanguageMode languageMode, boolean acceptConstKeyword)
public static Config createConfig(boolean isIdeMode, Config.LanguageMode languageMode, boolean acceptConstKeyword, Set<String> extraAnnotationNames)
public static Set<String> getReservedVars()
public static ParserRunner.ParseResult parse(StaticSourceFile sourceFile, String sourceString, Config config, com.google.javascript.rhino.head.ErrorReporter errorReporter, Logger logger) throws IOException
sourceString
- Source code from the file.errorReporter
- An error.logger
- A logger.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |