Package org.eolang

Interface Phi

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eolang.Data

        Data.ToPhi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Phi Φ
      The global scope object, which owns all other objects.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Phi copy()
      Make a copy, leaving it at the same parent.
      String forma()
      Get forma of the phi.
      boolean hasRho()
      Returns true if object has bound rho attribute.
      String locator()
      Get code locator of the phi.
      void put​(int pos, Phi object)
      Put object by position of the attribute.
      void put​(String name, Phi object)
      Put object by name of the attribute.
      Phi take​(String name)
      Take object by name of the attribute.
      • Methods inherited from interface org.eolang.Data

        delta
    • Field Detail

      • Φ

        static final Phi Φ
        The global scope object, which owns all other objects.
    • Method Detail

      • copy

        Phi copy()
        Make a copy, leaving it at the same parent.
        Returns:
        A copy
      • hasRho

        boolean hasRho()
        Returns true if object has bound rho attribute.
        Returns:
        True if object has rho bound attribute
      • take

        Phi take​(String name)
        Take object by name of the attribute.
        Parameters:
        name - The name of the attribute
        Returns:
        The object
      • put

        void put​(int pos,
                 Phi object)
        Put object by position of the attribute.
        Parameters:
        pos - The position of the attribute.
        object - The object to put
      • put

        void put​(String name,
                 Phi object)
        Put object by name of the attribute.
        Parameters:
        name - The name of the attribute.
        object - The object to put
      • locator

        String locator()
        Get code locator of the phi.
        Returns:
        String containing code locator
      • forma

        String forma()
        Get forma of the phi.
        Returns:
        Forma of it as String.