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

Class NBinOp

  • All Implemented Interfaces:
    java.io.Serializable


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

      • left

        public NNode left
      • right

        public NNode right
      • op

        public java.lang.String op
    • Constructor Detail

      • NBinOp

        public NBinOp(NNode target,
                      NNode value,
                      java.lang.String op)
      • NBinOp

        public NBinOp(NNode target,
                      NNode value,
                      java.lang.String op,
                      int start,
                      int end)
    • Method Detail

      • 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.