Class JWhileLoop

  • All Implemented Interfaces:
    JStatement

    public class JWhileLoop
    extends java.lang.Object
    implements JStatement
    While statement
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private JBlock body
      JBlock of statements which makes up body of this While statement
      private JExpression test
      Test part of While statement for determining exit state
    • Constructor Summary

      Constructors 
      Constructor Description
      JWhileLoop​(JExpression test)
      Construct a While statment
    • Field Detail

      • test

        private JExpression test
        Test part of While statement for determining exit state
      • body

        private JBlock body
        JBlock of statements which makes up body of this While statement
    • Constructor Detail

      • JWhileLoop

        JWhileLoop​(JExpression test)
        Construct a While statment