Lisp.Cell
Cons cell
Assembly: ServiceStack.Common.dll
View Source
Declaration
public sealed class Cell : IEnumerable
Properties
Length
Length as a list
View Source
Declaration
public int Length { get; }
Fields
Car
Head part of the cons cell
View Source
Declaration
public object Car
Cdr
Tail part of the cons cell
View Source
Declaration
public object Cdr
Methods
ToString()
Make a simple string representation. Do not invoke this for any circular list.
View Source
Declaration
public override string ToString()
Returns
System.String
GetEnumerator()
View Source
Declaration
public IEnumerator GetEnumerator()
Returns
System.Collections.IEnumerator
Walk(Action<Lisp.Cell>)
View Source
Declaration
public void Walk(Action<Lisp.Cell> fn)
Parameters
Type | Name |
---|---|
System.Action<ServiceStack.Script.Lisp.Cell> | fn |
Implements
System.Collections.IEnumerable