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.
      • Fields inherited from interface org.eolang.Term

        EMPTY
    • 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
      • take

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

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

        boolean put​(String name,
                    Phi object)
        Put object by name of the attribute.
        Parameters:
        name - The name of the attribute.
        object - The object to put
        Returns:
        Was attribute set
      • 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.