protected function indentationMode(string $line): int
  {
    $mode = 0;

    $line = trim($line);

    if (substr($line, 0, 5)=='begin' || substr($line, 0, 2)=='if' || substr($line, -4, 4)=='loop')
    {
      $mode |= self::C_INDENT_INCREMENT_AFTER;
    }

    if (substr($line, 0, 3)=='end')
    {
      $mode |= self::C_INDENT_DECREMENT_BEFORE;
    }

    return $mode;
  }
protected function indentationMode(string $line): int
  {
    $mode = 0;

    $line = trim($line);

    if (substr($line, 0, 5)=='begin' || substr($line, 0, 2)=='if' || substr($line, -4, 4)=='loop')
    {
      $mode |= self::C_INDENT_INCREMENT_AFTER;
    }

    if (substr($line, 0, 3)=='end')
    {
      $mode |= self::C_INDENT_DECREMENT_BEFORE;
    }

    return $mode;
  }
{@inheritdoc}