Class ASTParser


  • public class ASTParser
    extends java.lang.Object
    • Constructor Detail

      • ASTParser

        public ASTParser()
    • Method Detail

      • parseModuleWithCode

        public static Module parseModuleWithCode​(java.lang.String python3Code)
      • parseExpressionModWithCode

        public static ExpressionMod parseExpressionModWithCode​(java.lang.String python3Code)
      • parseInteractiveWithCode

        public static Interactive parseInteractiveWithCode​(java.lang.String python3Code)
      • parseModuleWithFile

        public static Module parseModuleWithFile​(java.lang.String pathToPython3File)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • parseExpressionModWithFile

        public static ExpressionMod parseExpressionModWithFile​(java.lang.String pathToPython3File)
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • parseInteractiveWithFile

        public static Interactive parseInteractiveWithFile​(java.lang.String pathToPython3File)
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • cloneModule

        public static Module cloneModule​(Module ast)