Interface BlockStart

All Known Subinterfaces:
StartLoop
All Known Implementing Classes:
BlockStartImpl, Do, Else, ElseIf, ForEach, If, StartLoopImpl, StoreFor, Times, While

public interface BlockStart
Interface for beginning-of-block commands.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static BlockStart NO_BLOCK_START
    Use NO_START_LOOP instaed of null.
    static String REACHED_COUNT_SEPARATOR
    The separator of reached counts.
  • Method Summary

    Modifier and Type Method Description
    default boolean isLoopBlock()
    True if the block is loop.
    void setBlockEnd​(BlockEnd blockEnd)
    Set end-of-block command.
  • Field Details

    • NO_BLOCK_START

      static final BlockStart NO_BLOCK_START
      Use NO_START_LOOP instaed of null.
    • REACHED_COUNT_SEPARATOR

      static final String REACHED_COUNT_SEPARATOR
      The separator of reached counts.
      See Also:
      Constant Field Values
  • Method Details

    • isLoopBlock

      default boolean isLoopBlock()
      True if the block is loop.
      Returns:
      true if the block is loop
    • setBlockEnd

      void setBlockEnd​(BlockEnd blockEnd)
      Set end-of-block command.
      Parameters:
      blockEnd - end-of-block command.