Class CDIfStatement

  • All Implemented Interfaces:
    CDStatement

    public class CDIfStatement
    extends java.lang.Object
    implements CDStatement
    • Constructor Detail

      • CDIfStatement

        public CDIfStatement​(CDExpression expr)
    • Method Detail

      • setThenBlock

        public void setThenBlock​(CDBlock b)
      • setElseBlock

        public void setElseBlock​(CDBlock b)
      • state

        public void state​(CDFormatter f)
                   throws java.io.IOException
        Description copied from interface: CDStatement
        Prints itself as a statement.
        Specified by:
        state in interface CDStatement
        Throws:
        java.io.IOException