Documentation of 'org.python.compiler.CodeCompiler' Java class
CodeCompiler
org.python.compiler

Class CodeCompiler

    • Constructor Detail

      • CodeCompiler

        public CodeCompiler(Module module,
                            boolean print_results)
    • Method Detail

      • getNone

        public void getNone()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • loadFrame

        public void loadFrame()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • loadThreadState

        public void loadThreadState()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setLastI

        public void setLastI(int idx)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • storeTop

        public int storeTop()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setline

        public void setline(int line)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setline

        public void setline(PythonTree node)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • set

        public void set(PythonTree node)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • set

        public void set(PythonTree node,
                        int tmp)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • loadArray

        public void loadArray(Code code,
                              java.util.List<? extends PythonTree> nodes)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • makeArray

        public int makeArray(java.util.List<? extends PythonTree> nodes)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • freeArray

        public void freeArray(int array)
      • freeArrayRef

        public void freeArrayRef(int array)
      • getDocStr

        public Str getDocStr(java.util.List<stmt> suite)
      • makeClosure

        public boolean makeClosure(ScopeInfo scope)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • visitReturn

        public java.lang.Object visitReturn(Return node,
                                            boolean inEval)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doTest

        public java.lang.Object doTest(org.objectweb.asm.Label end_of_if,
                                       If node,
                                       int index)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • visitIf

        public java.lang.Object visitIf(If node)
                                 throws java.lang.Exception
        Specified by:
        visitIf in interface VisitorIF
        Overrides:
        visitIf in class VisitorBase
        Throws:
        java.lang.Exception
      • beginLoop

        public int beginLoop()
      • finishLoop

        public void finishLoop(int savebcf)
      • visitFor

        public java.lang.Object visitFor(For node)
                                  throws java.lang.Exception
        Specified by:
        visitFor in interface VisitorIF
        Overrides:
        visitFor in class VisitorBase
        Throws:
        java.lang.Exception
      • exceptionTest

        public void exceptionTest(int exc,
                                  org.objectweb.asm.Label end_of_exceptions,
                                  TryExcept node,
                                  int index)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • suite

        public java.lang.Object suite(java.util.List<stmt> stmts)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • visitCmpop

        public void visitCmpop(cmpopType op)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • invokeNoKeywords

        public java.lang.Object invokeNoKeywords(Attribute node,
                                                 java.util.List<expr> values)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • Slice

        public java.lang.Object Slice(Subscript node,
                                      Slice slice)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • seqSet

        public java.lang.Object seqSet(java.util.List<expr> nodes)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • seqDel

        public java.lang.Object seqDel(java.util.List<expr> nodes)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • visitSet

        public java.lang.Object visitSet(Set node)
                                  throws java.lang.Exception
        Specified by:
        visitSet in interface VisitorIF
        Overrides:
        visitSet in class VisitorBase
        Throws:
        java.lang.Exception
      • visitNum

        public java.lang.Object visitNum(Num node)
                                  throws java.lang.Exception
        Specified by:
        visitNum in interface VisitorIF
        Overrides:
        visitNum in class VisitorBase
        Throws:
        java.lang.Exception
      • visitStr

        public java.lang.Object visitStr(Str node)
                                  throws java.lang.Exception
        Specified by:
        visitStr in interface VisitorIF
        Overrides:
        visitStr in class VisitorBase
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.