Interface ToStringContext

  • All Known Implementing Classes:
    ToStringContext.EmptyStringContext

    public interface ToStringContext
    A context which is passed down to all nested functions when returning a string representation.
    Author:
    bratseth
    • Method Detail

      • getBinding

        java.lang.String getBinding​(java.lang.String name)
        Returns the name an identifier is bound to, or null if not bound in this context
      • parent

        ToStringContext parent()
        Returns the parent context of this (the context we're in scope of when this is created), or null if this is the root.