C# Class LispEngine.Datums.DatumExtensions

显示文件 Open project: Patient0/FirstClassLisp

Public Methods

Method Description
CastInt ( this d ) : int
CastObject ( this d ) : object
CastString ( this d ) : string
CastSymbol ( this d ) : Symbol
Enumerate ( this list ) : IEnumerable
ToArray ( this list ) : Datum[]
ToAtom ( this o ) : Datum
ToList ( this datums ) : Datum
ToSymbol ( this identifier ) : Symbol

Method Details

CastInt() public static method

public static CastInt ( this d ) : int
d this
return int

CastObject() public static method

public static CastObject ( this d ) : object
d this
return object

CastString() public static method

public static CastString ( this d ) : string
d this
return string

CastSymbol() public static method

public static CastSymbol ( this d ) : Symbol
d this
return Symbol

Enumerate() public static method

public static Enumerate ( this list ) : IEnumerable
list this
return IEnumerable

ToArray() public static method

public static ToArray ( this list ) : Datum[]
list this
return Datum[]

ToAtom() public static method

public static ToAtom ( this o ) : Datum
o this
return Datum

ToList() public static method

public static ToList ( this datums ) : Datum
datums this
return Datum

ToSymbol() public static method

public static ToSymbol ( this identifier ) : Symbol
identifier this
return Symbol