Interface Namespace

    • Field Detail

      • DELIMITER

        static final java.lang.String DELIMITER
        The delimiter that is used to separate namespace nodes in a namespace string. For example, "Global::child1::symbolName"
        See Also:
        Constant Field Values
    • Method Detail

      • getSymbol

        Symbol getSymbol()
        Get the symbol for this namespace; Note: The global namespace will return null
        Returns:
        the symbol for this namespace; Note: The global namespace will return null
      • isExternal

        boolean isExternal()
        Returns true if this namespace is external (i.e., associated with a Library)
        Returns:
        true if this namespace is external (i.e., associated with a Library)
      • getName

        java.lang.String getName()
        Get the name of the symbol for this scope
        Returns:
        the name of the symbol for this scope
      • getName

        java.lang.String getName​(boolean includeNamespacePath)
        Returns the fully qualified name
        Parameters:
        includeNamespacePath - true to include the namespace in the returned name
        Returns:
        the fully qualified name
      • getID

        long getID()
        Return the namespace id
        Returns:
        the namespace id
      • getParentNamespace

        Namespace getParentNamespace()
        Get the parent scope.
        Returns:
        null if this scope is the global scope.
      • getBody

        AddressSetView getBody()
        Get the address set for this namespace. Note: The body of a namespace (currently only used by the function namespace) is restricted it Integer.MAX_VALUE.
        Returns:
        the address set for this namespace
      • isGlobal

        default boolean isGlobal()
        Return true if this is the global namespace;
        Returns:
        true if this is the global namespace;