public class Parser1 extends Object
TokenStream1| Constructor and Description |
|---|
Parser1(org.mozilla.javascript.CompilerEnvirons compilerEnv,
org.mozilla.javascript.ErrorReporter errorReporter) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mozilla.javascript.Decompiler |
createDecompiler(org.mozilla.javascript.CompilerEnvirons compilerEnv) |
boolean |
eof() |
int |
getCurrentLineNumber() |
String |
getEncodedSource() |
org.mozilla.javascript.ScriptOrFnNode |
parse(Reader sourceReader,
String sourceURI,
int lineno) |
org.mozilla.javascript.ScriptOrFnNode |
parse(String sourceString,
String sourceURI,
int lineno) |
public Parser1(org.mozilla.javascript.CompilerEnvirons compilerEnv,
org.mozilla.javascript.ErrorReporter errorReporter)
public int getCurrentLineNumber()
protected org.mozilla.javascript.Decompiler createDecompiler(org.mozilla.javascript.CompilerEnvirons compilerEnv)
public String getEncodedSource()
public boolean eof()
public org.mozilla.javascript.ScriptOrFnNode parse(String sourceString, String sourceURI, int lineno)
public org.mozilla.javascript.ScriptOrFnNode parse(Reader sourceReader, String sourceURI, int lineno) throws IOException
IOExceptionCopyright © 2009-2012. All Rights Reserved.