daff.View
Interface for interpreting cell contents. In most cases the implementation will be entirely trivial.
Type: interface
Methods:
equals (d1 : Dynamic, d2 : Dynamic) : Bool
Compare two cells.
Parameters:
d1the first celld2the second cell
Returns: true if the cells are equal
getTable (t : Dynamic) : Table
hashExists (h : Dynamic, str : String) : Bool
Check if a hash/map contains a given key
Parameters:
hhash/map to checkstrkey to check
Returns: true if hash/map contains the given key
hashGet (h : Dynamic, str : String) : Dynamic
Check if a hash/map contains a given key
Parameters:
hhash/map to checkstrkey to check
Returns: true if hash/map contains the given key
hashSet (h : Dynamic, str : String, d : Dynamic) : Void
Add something to a native hash/map object.
Parameters:
hthe hash/mapstrthe key to usedthe value to use
isHash (h : Dynamic) : Bool
Parameters:
hpossible hash/map to check
Returns: true if h is a hash/map
isTable (t : Dynamic) : Bool
makeHash () : Dynamic
Create a native hash/map object.
Returns: the newly created hash/map, or null if not available
toDatum (str : String) : Dynamic
Convert a string to a cell.
Parameters:
strthe string
Returns: the string converted to a cell
toString (d : Dynamic) : String
Convert a cell to text form.
Parameters:
da cell
Returns: the cell in text form