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

Class DictComp

    • Field Detail

      • TYPE

        public static final PyType TYPE
    • Constructor Detail

      • DictComp

        public DictComp(PyType subType)
      • DictComp

        public DictComp()
      • DictComp

        public DictComp(org.antlr.runtime.Token token,
                        expr key,
                        expr value,
                        java.util.List<comprehension> generators)
      • DictComp

        public DictComp(java.lang.Integer ttype,
                        org.antlr.runtime.Token token,
                        expr key,
                        expr value,
                        java.util.List<comprehension> generators)
    • Method Detail

      • getInternalKey

        public expr getInternalKey()
      • setKey

        public void setKey(PyObject key)
      • getInternalValue

        public expr getInternalValue()
      • setValue

        public void setValue(PyObject value)
      • getInternalGenerators

        public java.util.List<comprehension> getInternalGenerators()
      • getGenerators

        public PyObject getGenerators()
      • setGenerators

        public void setGenerators(PyObject generators)
      • DictComp___init__

        public void DictComp___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)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.