C# Class CSScheme.Environment

Inheritance: SchemeUtils
ファイルを表示 Open project: jackpal/Dandy-Dungeon

Public Properties

Property Type Description
parent Environment
vals Object
vars Object

Public Methods

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

Private Methods

Method Description
numberArgsOK ( Object vars, Object vals ) : bool

Method Details

Environment() public method

public Environment ( ) : System
return System

Environment() public method

public Environment ( Object vars, Object vals, Environment parent ) : System
vars Object
vals Object
parent Environment
return System

defPrim() public method

public defPrim ( String name, int id, int minArgs ) : Environment
name String
id int
minArgs int
return Environment

defPrim() public method

public defPrim ( String name, int id, int minArgs, int maxArgs ) : Environment
name String
id int
minArgs int
maxArgs int
return Environment

define() public method

public define ( Object var, Object val ) : Object
var Object
val Object
return Object

lookup() public method

public lookup ( String symbol ) : Object
symbol String
return Object

set() public method

public set ( Object var, Object val ) : Object
var Object
val Object
return Object

Property Details

parent public_oe property

public Environment parent
return Environment

vals public_oe property

public Object vals
return Object

vars public_oe property

public Object vars
return Object