C# Class Rakudo.Metamodel.KnowHOW.KnowHOWBootstrapper

Contains the logic that bootstraps KnowHOW, the foundation for implementing the various other bits of the object model. Works in conjunction with KnowHOWREPR.
Afficher le fichier Open project: jnthn/6model

Méthodes publiques

Méthode Description
Bootstrap ( ) : RakudoObject

Bootstraps the KnowHOW. This is were things "bottom out" in the meta-model so it's a tad loopy. Basically, we create a KnowHOW type object. We then create an instance from that and add a bunch of methods to it. However, we also give it a special STable with FindMethod overridden in it to go looking right into the methods dictionary.

SetupKnowHOWAttribute ( RakudoObject KnowHOW ) : RakudoObject

Sets up the KnowHOWAttribute object/class, which actually is a KnowHOW.

Private Methods

Méthode Description
MostDefinedListType ( ThreadContext TC ) : RakudoObject

Makes sure that we hand back an NQPList that has a HOW once it is defined. Important for the bootstrap.

Method Details

Bootstrap() public static méthode

Bootstraps the KnowHOW. This is were things "bottom out" in the meta-model so it's a tad loopy. Basically, we create a KnowHOW type object. We then create an instance from that and add a bunch of methods to it. However, we also give it a special STable with FindMethod overridden in it to go looking right into the methods dictionary.
public static Bootstrap ( ) : RakudoObject
Résultat RakudoObject

SetupKnowHOWAttribute() public static méthode

Sets up the KnowHOWAttribute object/class, which actually is a KnowHOW.
public static SetupKnowHOWAttribute ( RakudoObject KnowHOW ) : RakudoObject
KnowHOW RakudoObject
Résultat RakudoObject