org.python.core
Class parser

java.lang.Object
  extended byorg.python.core.parser

public class parser
extends Object

Facade for the classes in the org.python.parser package.


Method Summary
static PyException fixParseError(BufferedReader reader, Throwable t, String filename)
           
static SimpleNode parse(InputStream istream, String kind, String filename, CompilerFlags cflags)
           
static Node parse(String string, String kind)
           
static SimpleNode partialParse(String string, String kind, String filename, CompilerFlags cflags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fixParseError

public static PyException fixParseError(BufferedReader reader,
                                        Throwable t,
                                        String filename)

parse

public static Node parse(String string,
                         String kind)

parse

public static SimpleNode parse(InputStream istream,
                               String kind,
                               String filename,
                               CompilerFlags cflags)

partialParse

public static SimpleNode partialParse(String string,
                                      String kind,
                                      String filename,
                                      CompilerFlags cflags)