encloser

(noun)

noun

1. (now chiefly historical) Someone who appropriates common land.

2. More generally, someone or something that encloses something.

3. (programming) An object, procedure, or other portion of code that defines the scope of a variable.