Class JSParser
java.lang.Object
org.mozilla.javascript.Parser
org.teavm.backend.javascript.rendering.JSParser
public class JSParser
extends org.mozilla.javascript.Parser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.javascript.Parser
org.mozilla.javascript.Parser.PerFunctionVariables
-
Field Summary
Fields inherited from class org.mozilla.javascript.Parser
ARGC_LIMIT, inUseStrictDirective, nestingOfFunction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
parseAsObject
(Reader sourceReader, String sourceURI, int lineno) Methods inherited from class org.mozilla.javascript.Parser
checkActivationName, checkMutableReference, createName, createName, createNumber, createScopeNode, eof, inUseStrictDirective, parse, parse, removeParens, setDefaultUseStrictDirective, setIsGenerator, setRequiresActivation, simpleAssignment
-
Constructor Details
-
JSParser
-
JSParser
public JSParser(org.mozilla.javascript.CompilerEnvirons compilerEnv, org.mozilla.javascript.ErrorReporter errorReporter) -
JSParser
-
JSParser
public JSParser(org.mozilla.javascript.CompilerEnvirons compilerEnv)
-
-
Method Details
-
enterFunction
public void enterFunction() -
exitFunction
public void exitFunction() -
parseAsObject
- Throws:
IOException
-