Skip to main content

Lisp.Sym

Lisp symbol

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class Sym

Properties

Name

The symbol's name

View Source
Declaration
public string Name { get; }

IsInterned

Is it interned?

View Source
Declaration
public bool IsInterned { get; }

Fields

Table

Table of interned symbols

View Source
Declaration
protected static readonly Dictionary<string, Lisp.Sym> Table

Methods

ToString()

Return the symbol's name

View Source
Declaration
public override string ToString()
Returns

System.String

GetHashCode()

Return the hashcode of the symbol's name

View Source
Declaration
public override int GetHashCode()
Returns

System.Int32

New(String, Func<String, Lisp.Sym>)

Return an interned symbol for the name. If the name is not interned yet, such a symbol will be constructed with <code data-dev-comment-type="paramref" class="paramref">make</code>.

View Source
Declaration
protected static Lisp.Sym New(string name, Func<string, Lisp.Sym> make)
Returns

ServiceStack.Script.Lisp.Sym

Parameters
TypeName
System.Stringname
System.Func<System.String,ServiceStack.Script.Lisp.Sym>make

New(String)

Construct an interned symbol.

View Source
Declaration
public static Lisp.Sym New(string name)
Returns

ServiceStack.Script.Lisp.Sym

Parameters
TypeName
System.Stringname