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

Class NIfExp

  • All Implemented Interfaces:
    java.io.Serializable


    public class NIfExp
    extends NNode
    See Also:
    Serialized Form
    • Constructor Detail

      • NIfExp

        public NIfExp(NNode test,
                      NNode body,
                      NNode orelse,
                      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.