Property | Type | Description | |
---|---|---|---|
parent | Environment | ||
vals | Object | ||
vars | Object |
Method | Description | |
---|---|---|
Environment ( ) : System | ||
Environment ( Object vars, Object vals, Environment parent ) : System | ||
defPrim ( String name, int id, int minArgs ) : Environment | ||
defPrim ( String name, int id, int minArgs, int maxArgs ) : Environment | ||
define ( Object var, Object val ) : Object | ||
lookup ( String symbol ) : Object | ||
set ( Object var, Object val ) : Object |
Method | Description | |
---|---|---|
numberArgsOK ( Object vars, Object vals ) : bool |
public Environment ( Object vars, Object vals, Environment parent ) : System | ||
vars | Object | |
vals | Object | |
parent | Environment | |
return | System |
public defPrim ( String name, int id, int minArgs ) : Environment | ||
name | String | |
id | int | |
minArgs | int | |
return | Environment |
public defPrim ( String name, int id, int minArgs, int maxArgs ) : Environment | ||
name | String | |
id | int | |
minArgs | int | |
maxArgs | int | |
return | Environment |
public define ( Object var, Object val ) : Object | ||
var | Object | |
val | Object | |
return | Object |
public set ( Object var, Object val ) : Object | ||
var | Object | |
val | Object | |
return | Object |