C# Class Rakudo.Metamodel.REPRRegistry

This is our central registry of representations.
Afficher le fichier Open project: jnthn/6model

Méthodes publiques

Méthode Description
get_REPR_by_id ( int ID ) : Representation

Gets a representation by ID.

get_REPR_by_name ( string Name ) : Representation

Gets a representation by name.

register_REPR ( string Name, Representation REPR ) : int

Adds a representation to the registry and returns its registered ID.

Method Details

get_REPR_by_id() public static méthode

Gets a representation by ID.
public static get_REPR_by_id ( int ID ) : Representation
ID int
Résultat Representation

get_REPR_by_name() public static méthode

Gets a representation by name.
public static get_REPR_by_name ( string Name ) : Representation
Name string
Résultat Representation

register_REPR() public static méthode

Adds a representation to the registry and returns its registered ID.
public static register_REPR ( string Name, Representation REPR ) : int
Name string
REPR Representation
Résultat int