Documentation of 'org.python.indexer.Def' Java class
Def
org.python.indexer

Class Def



  • public class Def
    extends java.lang.Object
    Encapsulates information about a binding definition site.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int end() 
      boolean equals(java.lang.Object obj) 
      NBinding getBinding() 
      java.lang.String getFile()
      Returns the file if this node is from a source file, else null.
      java.lang.String getFileOrUrl()
      Returns the file if from a source file, else the URL.
      java.lang.String getName()
      Returns the name of the node.
      java.lang.String getURL()
      Returns the URL if this node is from a URL, else null.
      int hashCode() 
      boolean isModule() 
      boolean isName() 
      boolean isURL()
      Returns true if this node is from a URL.
      int length() 
      int start() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the node. Only applies if the definition coincides with a NName node.
        Returns:
        the name, or null
      • getFile

        public java.lang.String getFile()
        Returns the file if this node is from a source file, else null.
      • getURL

        public java.lang.String getURL()
        Returns the URL if this node is from a URL, else null.
      • getFileOrUrl

        public java.lang.String getFileOrUrl()
        Returns the file if from a source file, else the URL.
      • isURL

        public boolean isURL()
        Returns true if this node is from a URL.
      • isModule

        public boolean isModule()
      • start

        public int start()
      • end

        public int end()
      • length

        public int length()
      • isName

        public boolean isName()
      • getBinding

        public NBinding getBinding()
      • toString

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

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.