(now chiefly historical) Someone who appropriates common land.
In one episode during the long-running dispute over enclosure at Grewelthorpe Moor in Yorkshire, the women of the community followed the encloser on to the moor and, ‘fallinge downe upon their knees, and some of them weepinge for the loss of their Comon, desired…[him] to be good unto them’.
More generally, someone or something that encloses something.
(programming) An object, procedure, or other portion of code that defines the scope of a variable.