C# Class clojure.lang.Namespace

Inheritance: clojure.lang.AReference, ISerializable
Afficher le fichier Open project: richhickey/clojure-clr Class Usage Examples

Private Properties

Свойство Type Description
GetObjectData void
Namespace System
ReferenceClass System.Type
WarnOrFailOnReplace void
addAlias void
find Namespace
findOrCreate Namespace
getAliases IPersistentMap
getMappings IPersistentMap
getName Symbol
importClass System.Type
importClass System.Type
intern Var
refer Var
reference object
remove Namespace
removeAlias void
unmap void

Méthodes publiques

Méthode Description
AreDifferentInstancesOfSameClassName ( Type t1, Type t2 ) : bool
FindInternedVar ( Symbol sym ) : Var

Find the Var mapped to a Symbol.

GetMapping ( Symbol name ) : object

Get the value mapped to a symbol.

LookupAlias ( Symbol alias ) : Namespace

Find the Namespace aliased by a Symbol.

ToString ( ) : string

Returns a string representing the namespace.

Private Methods

Méthode Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Namespace ( Symbol name ) : System

Construct a namespace with a given name.

ReferenceClass ( Symbol sym, Type val ) : Type
WarnOrFailOnReplace ( Symbol sym, object o, object v ) : void
addAlias ( Symbol alias, Namespace ns ) : void
find ( Symbol name ) : Namespace
findOrCreate ( Symbol name ) : Namespace
getAliases ( ) : IPersistentMap
getMappings ( ) : IPersistentMap
getName ( ) : Symbol
importClass ( Symbol sym, Type t ) : Type
importClass ( Type t ) : Type
intern ( Symbol sym ) : Var
refer ( Symbol sym, Var var ) : Var
reference ( Symbol sym, object val ) : object

Intern a symbol with a specified value.

remove ( Symbol name ) : Namespace
removeAlias ( Symbol alias ) : void
unmap ( Symbol sym ) : void

Method Details

AreDifferentInstancesOfSameClassName() public static méthode

public static AreDifferentInstancesOfSameClassName ( Type t1, Type t2 ) : bool
t1 System.Type
t2 System.Type
Résultat bool

FindInternedVar() public méthode

Find the Var mapped to a Symbol.
public FindInternedVar ( Symbol sym ) : Var
sym Symbol The symbol to look up.
Résultat Var

GetMapping() public méthode

Get the value mapped to a symbol.
public GetMapping ( Symbol name ) : object
name Symbol The symbol to look up.
Résultat object

LookupAlias() public méthode

Find the Namespace aliased by a Symbol.
public LookupAlias ( Symbol alias ) : Namespace
alias Symbol The symbol alias.
Résultat Namespace

ToString() public méthode

Returns a string representing the namespace.
public ToString ( ) : string
Résultat string