encloser
Noun
Meaning
(now chiefly historical) Someone who appropriates common land.
More generally, someone or something that encloses something.
(programming) An object, procedure, or other portion of code that defines the scope of a variable.
Source: en.wiktionary.org