org.python.core
Class parser
java.lang.Object
org.python.core.parser
- public class parser
- extends java.lang.Object
Facade for the classes in the org.python.parser package.
Method Summary |
static PyException |
fixParseError(java.io.BufferedReader reader,
java.lang.Throwable t,
java.lang.String filename)
|
static org.python.parser.ast.modType |
parse(java.io.InputStream istream,
java.lang.String kind,
java.lang.String filename,
CompilerFlags cflags)
|
static org.python.parser.Node |
parse(java.lang.String string,
java.lang.String kind)
|
static org.python.parser.ast.modType |
partialParse(java.lang.String string,
java.lang.String kind,
java.lang.String filename,
CompilerFlags cflags,
boolean stdprompt)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fixParseError
public static PyException fixParseError(java.io.BufferedReader reader,
java.lang.Throwable t,
java.lang.String filename)
parse
public static org.python.parser.Node parse(java.lang.String string,
java.lang.String kind)
parse
public static org.python.parser.ast.modType parse(java.io.InputStream istream,
java.lang.String kind,
java.lang.String filename,
CompilerFlags cflags)
partialParse
public static org.python.parser.ast.modType partialParse(java.lang.String string,
java.lang.String kind,
java.lang.String filename,
CompilerFlags cflags,
boolean stdprompt)
Jython homepage