Class Format.Variable

java.lang.Object
eu.bandm.tools.format.Format
eu.bandm.tools.format.Format.Variable
All Implemented Interfaces:
Formattable, Serializable, Cloneable
Direct Known Subclasses:
Format.BoundVariable, Format.FreeVariable
Enclosing class:
Format

public abstract static class Format.Variable extends Format
Common base class for Format.FreeVariable and Format.BoundVariable
See Also:
  • Field Details

  • Constructor Details

    • Variable

      protected Variable(String s)
    • Variable

      protected Variable(String s, int indent)
      Set index and indentation value. ???? FIXME WIRD NICHT VERWENDET !?!?
  • Method Details

    • doprint

      protected void doprint(Format.FormatPrinter v)
      Description copied from class: Format
      Over-ridden by all sub-classes of Format, for performing the adquate print operations. To be printed is the raison d'ĂȘtre of Format objects. These methods do not use the Visitor/Matcher framework, but direct method invocation and basic method dispatch for descending to child nodes.
      Specified by:
      doprint in class Format
    • bottom

      protected Format bottom()
      Needed as a pseudo-return value for Java control flow analysis.
      Throws:
      always - an IllegalArgumentException.
    • debugPrefix

      public String debugPrefix(int n)
      Description copied from class: Format
      Overridden by subclasses to deliver a printable representation for debugging purpose.
      Specified by:
      debugPrefix in class Format
      Parameters:
      n - the maximal number of characters