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

Class With

    • Field Detail

      • TYPE

        public static final PyType TYPE
    • Constructor Detail

      • With

        public With(PyType subType)
      • With

        public With()
      • With

        public With(org.antlr.runtime.Token token,
                    expr context_expr,
                    expr optional_vars,
                    java.util.List<stmt> body)
      • With

        public With(java.lang.Integer ttype,
                    org.antlr.runtime.Token token,
                    expr context_expr,
                    expr optional_vars,
                    java.util.List<stmt> body)
    • Method Detail

      • getInternalContext_expr

        public expr getInternalContext_expr()
      • getContext_expr

        public PyObject getContext_expr()
      • setContext_expr

        public void setContext_expr(PyObject context_expr)
      • getInternalOptional_vars

        public expr getInternalOptional_vars()
      • getOptional_vars

        public PyObject getOptional_vars()
      • setOptional_vars

        public void setOptional_vars(PyObject optional_vars)
      • getInternalBody

        public java.util.List<stmt> getInternalBody()
      • setBody

        public void setBody(PyObject body)
      • With___init__

        public void With___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.