sysModel.env
Interface AGlobalEnv.ILocalEnvVisitor

Enclosing class:
AGlobalEnv

public static interface AGlobalEnv.ILocalEnvVisitor

Visitor to opererate on a local environment. Note: should be protected, but is public for testing purposes


Method Summary
 java.lang.Object emptyCase(AGlobalEnv.ALocalEnv host, java.lang.Object param)
          Case called if the location is empty.
 java.lang.Object nonEmptyCase(AGlobalEnv.ALocalEnv host, java.lang.Object param)
          Case called if the location is non-empty.
 

Method Detail

emptyCase

java.lang.Object emptyCase(AGlobalEnv.ALocalEnv host,
                           java.lang.Object param)
Case called if the location is empty.

Parameters:
host - the location
param - visitor-specific parameter
Returns:
visitor-specific return value

nonEmptyCase

java.lang.Object nonEmptyCase(AGlobalEnv.ALocalEnv host,
                              java.lang.Object param)
Case called if the location is non-empty.

Parameters:
host - the location
param - visitor-specific parameter
Returns:
visitor-specific return value