C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
MostDefinedListType ( ThreadContext TC ) : RakudoObject

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

Описание методов

Bootstrap() публичный статический Метод

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
Результат RakudoObject

SetupKnowHOWAttribute() публичный статический Метод

Sets up the KnowHOWAttribute object/class, which actually is a KnowHOW.
public static SetupKnowHOWAttribute ( RakudoObject KnowHOW ) : RakudoObject
KnowHOW RakudoObject
Результат RakudoObject