Package org.eolang

Class AtEnvelope

  • All Implemented Interfaces:
    Attr, Term
    Direct Known Subclasses:
    AtSimple

    public abstract class AtEnvelope
    extends Object
    implements Attr
    Wrapper for Attr.
    Since:
    0.36.0
    • Constructor Detail

      • AtEnvelope

        public AtEnvelope​(Attr attr)
        Ctor.
        Parameters:
        attr - Attribute
    • Method Detail

      • copy

        public Attr copy​(Phi self)
        Description copied from interface: Attr
        Make a copy of it.
        Specified by:
        copy in interface Attr
        Parameters:
        self - The object that this attribute will belong to
        Returns:
        A copy
      • get

        public Phi get()
        Description copied from interface: Attr
        Take the object out.
        Specified by:
        get in interface Attr
        Returns:
        The object
      • put

        public boolean put​(Phi phi)
        Description copied from interface: Attr
        Put a new object in.
        Specified by:
        put in interface Attr
        Parameters:
        phi - The object to put
        Returns:
        Was attribute set
      • φTerm

        public String φTerm()
        Description copied from interface: Term
        To φ-calculus term, as text.
        Specified by:
        φTerm in interface Term
        Returns:
        The expression in φ-calculus