Documentation of 'org.python.core.ParserFacade' Java class
ParserFacade
org.python.core

Class ParserFacade



  • public class ParserFacade
    extends java.lang.Object
    Facade for the classes in the org.python.antlr package.
    • Method Detail

      • fixParseError

        public static PyException fixParseError(org.python.core.ParserFacade.ExpectedEncodingBufferedReader reader,
                                                java.lang.Throwable t,
                                                java.lang.String filename)
      • parseExpressionOrModule

        public static mod parseExpressionOrModule(java.io.Reader reader,
                                                  java.lang.String filename,
                                                  CompilerFlags cflags)
        Parse Python source as either an expression (if possible) or module. Designed for use by a JSR 223 implementation: "the Scripting API does not distinguish between scripts which return values and those which do not, nor do they make the corresponding distinction between evaluating or executing objects." (SCR.4.2.1)
      • partialParse

        public static mod partialParse(java.lang.String string,
                                       CompileMode kind,
                                       java.lang.String filename,
                                       CompilerFlags cflags,
                                       boolean stdprompt)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.