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

Class NAssign

  • All Implemented Interfaces:
    java.io.Serializable


    public class NAssign
    extends NNode
    See Also:
    Serialized Form
    • Field Detail

      • targets

        public java.util.List<NNode> targets
      • rvalue

        public NNode rvalue
    • Constructor Detail

      • NAssign

        public NAssign(java.util.List<NNode> targets,
                       NNode rvalue)
      • NAssign

        public NAssign(java.util.List<NNode> targets,
                       NNode rvalue,
                       int start,
                       int end)
    • Method Detail

      • bindsName

        public boolean bindsName()
        Description copied from class: NNode
        Returns true if this is a name-binding node. Includes functions/lambdas, function/lambda params, classes, assignments, imports, and implicit assignment via for statements and except clauses.
        Overrides:
        bindsName in class NNode
        See Also:
        PEP 227
      • resolve

        public NType resolve(Scope s)
                      throws java.lang.Exception
        Description copied from class: NNode
        Node should set the resolved type in its NNode.type field and also return it.
        Overrides:
        resolve in class NNode
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • visit

        public void visit(NNodeVisitor v)
        Description copied from class: NNode
        Visits this node and optionally its children.

        Specified by:
        visit in class NNode
        Parameters:
        v - the object to call with this node. If the visitor returns true, the node also passes its children to the visitor.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.