Documentation of 'org.python.antlr.ast.ImportFrom' Java class
ImportFrom
org.python.antlr.ast

Class ImportFrom

    • Field Detail

      • TYPE

        public static final PyType TYPE
    • Constructor Detail

      • ImportFrom

        public ImportFrom(PyType subType)
      • ImportFrom

        public ImportFrom()
      • ImportFrom

        public ImportFrom(org.antlr.runtime.Token token,
                          java.lang.String module,
                          java.util.List<alias> names,
                          java.lang.Integer level)
      • ImportFrom

        public ImportFrom(java.lang.Integer ttype,
                          org.antlr.runtime.Token token,
                          java.lang.String module,
                          java.util.List<alias> names,
                          java.lang.Integer level)
      • ImportFrom

        public ImportFrom(PythonTree tree,
                          java.lang.String module,
                          java.util.List<alias> names,
                          java.lang.Integer level)
      • ImportFrom

        public ImportFrom(org.antlr.runtime.Token token,
                          java.lang.String module,
                          java.util.List<Name> moduleNames,
                          java.util.List<alias> names,
                          java.lang.Integer level)
    • Method Detail

      • getInternalModule

        public java.lang.String getInternalModule()
      • getModule

        public PyObject getModule()
      • setModule

        public void setModule(PyObject module)
      • getInternalNames

        public java.util.List<alias> getInternalNames()
      • setNames

        public void setNames(PyObject names)
      • getInternalLevel

        public java.lang.Integer getInternalLevel()
      • setLevel

        public void setLevel(PyObject level)
      • ImportFrom___init__

        public void ImportFrom___init__(PyObject[] args,
                                        java.lang.String[] keywords)
      • accept

        public <R> R accept(VisitorIF<R> visitor)
                     throws java.lang.Exception
        Overrides:
        accept in class PythonTree
        Throws:
        java.lang.Exception
      • traverse

        public void traverse(VisitorIF<?> visitor)
                      throws java.lang.Exception
        Overrides:
        traverse in class PythonTree
        Throws:
        java.lang.Exception
      • fastGetDict

        public PyObject fastGetDict()
        Description copied from class: PyObject
        xxx implements where meaningful
        Overrides:
        fastGetDict in class PyObject
        Returns:
        internal object per instance dict or null
      • getDict

        public PyObject getDict()
        Description copied from class: PyObject
        xxx implements where meaningful
        Overrides:
        getDict in class PyObject
        Returns:
        internal object __dict__ or null
      • setLineno

        public void setLineno(int num)
      • setCol_offset

        public void setCol_offset(int num)
      • getInternalModuleNames

        public java.util.List<Name> getInternalModuleNames()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.