Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Environment class comment
Last updated at 10:56 am UTC on 16 May 2017

Comment

I am a context for compiling methods. I maintain the namespace of classes and global variables that are visible to the methods compiled within me.

I have the following instance variables:

info
Metadata about me and the code I contain.

imports
Rules for importing globals from other environments.

exports
Rules for exposing globals to other environments.

declarations
Bindings for globals that have been declared inside me.

references
Bindings for globals that are used by methods compiled inside me.

public
Bindings for classes that have been declared inside me, and which satisfy the export rules contain in 'exports'.

undeclared
Bindings for globals that are used by methods compiled inside me, but which aren't present in 'references' and couldn't be found via the rules in 'imports'.