Module Simula

Class SwitchStatement.WhenPart

java.lang.Object
simula.compiler.syntaxClass.statement.SwitchStatement.WhenPart
Enclosing class:
SwitchStatement

private class SwitchStatement.WhenPart extends Object
Utility class WhenPart.
  • Field Details

  • Constructor Details

  • Method Details

    • doCoding

      private void doCoding(boolean first)
      Coding Utility: Edit this when-part.
      Parameters:
      first - true if this when-part is the first being edited
    • print

      private void print(int indent)
      Utility method print.
      Parameters:
      indent - the indentation
    • edWhen

      private String edWhen()
      Utility: Edit when clause.
      Returns:
      the resulting string
    • printTree

      public void printTree(int indent)
    • toString

      public String toString()
      Overrides:
      toString in class Object