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.
파일 보기 프로젝트 열기: jnthn/6model

공개 메소드들

메소드 설명
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