docs: @Override
      public org.mozilla.javascript.Node setType(int type) {
          if (type != Token.VAR
              && type != Token.CONST
              && type != Token.LET)
              throw new IllegalArgumentException("invalid decl type: " + type);
          return super.setType(type);
      }