Linguistic anthropology

A worker tells a colleague, “The floor is wet,” just before the colleague walks toward it. The colleague stops. Which analysis best captures the utterance’s possible function?