Documentation of 'org.python.indexer.ast.NameBinder' Java class
NameBinder
org.python.indexer.ast

Class NameBinder



  • public class NameBinder
    extends java.lang.Object
    Handles binding names to scopes, including destructuring assignment.
    • Method Detail

      • make

        public static NameBinder make()
        Factory method for creating instances.
      • make

        public static NameBinder make(NBinding.Kind kind)
        Factory method for creating instances.
        Returns:
        a NameBinder that will create bindings of kind, overriding the default choices.
      • bind

        public void bind(Scope s,
                         NNode target,
                         NType rvalue)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • bind

        public void bind(Scope s,
                         java.util.List<NNode> xs,
                         NType rvalue)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • bindName

        public NBinding bindName(Scope s,
                                 NName name,
                                 NType rvalue)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • bindIter

        public void bindIter(Scope s,
                             NNode target,
                             NNode iter)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.