C# 클래스 Rakudo.Metamodel.KnowHOW.KnowHOWREPR

We have a REPR especially for the KnowHOW, which is part of the "bootstrap".
상속: Representation
파일 보기 프로젝트 열기: jnthn/6model

공개 메소드들

메소드 설명
bind_attribute ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name, RakudoObject Value ) : void
bind_attribute_with_hint ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name, int Hint, RakudoObject Value ) : void
defined ( ThreadContext TC, RakudoObject Obj ) : bool

Checks if the object is defined or not.

get_attribute ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name ) : RakudoObject
get_attribute_with_hint ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name, int Hint ) : RakudoObject
get_int ( ThreadContext TC, RakudoObject Object ) : int
get_num ( ThreadContext TC, RakudoObject Object ) : double
get_str ( ThreadContext TC, RakudoObject Object ) : string
hint_for ( ThreadContext TC, RakudoObject ClassHandle, string Name ) : int

We have attribute access hints for within the KnowHOW REPR, which we just manually map to the indexes.

instance_of ( ThreadContext TC, RakudoObject WHAT ) : RakudoObject

Create an instance of the given object.

set_int ( ThreadContext TC, RakudoObject Object, int Value ) : void
set_num ( ThreadContext TC, RakudoObject Object, double Value ) : void
set_str ( ThreadContext TC, RakudoObject Object, string Value ) : void
type_object_for ( ThreadContext TC, RakudoObject HOW ) : RakudoObject

Gets a type object pointing to the given HOW.

메소드 상세

bind_attribute() 공개 메소드

public bind_attribute ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name, RakudoObject Value ) : void
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
ClassHandle RakudoObject
Name string
Value RakudoObject
리턴 void

bind_attribute_with_hint() 공개 메소드

public bind_attribute_with_hint ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name, int Hint, RakudoObject Value ) : void
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
ClassHandle RakudoObject
Name string
Hint int
Value RakudoObject
리턴 void

defined() 공개 메소드

Checks if the object is defined or not.
public defined ( ThreadContext TC, RakudoObject Obj ) : bool
TC Rakudo.Runtime.ThreadContext
Obj RakudoObject
리턴 bool

get_attribute() 공개 메소드

public get_attribute ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name ) : RakudoObject
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
ClassHandle RakudoObject
Name string
리턴 RakudoObject

get_attribute_with_hint() 공개 메소드

public get_attribute_with_hint ( ThreadContext TC, RakudoObject Object, RakudoObject ClassHandle, string Name, int Hint ) : RakudoObject
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
ClassHandle RakudoObject
Name string
Hint int
리턴 RakudoObject

get_int() 공개 메소드

public get_int ( ThreadContext TC, RakudoObject Object ) : int
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
리턴 int

get_num() 공개 메소드

public get_num ( ThreadContext TC, RakudoObject Object ) : double
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
리턴 double

get_str() 공개 메소드

public get_str ( ThreadContext TC, RakudoObject Object ) : string
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
리턴 string

hint_for() 공개 메소드

We have attribute access hints for within the KnowHOW REPR, which we just manually map to the indexes.
public hint_for ( ThreadContext TC, RakudoObject ClassHandle, string Name ) : int
TC Rakudo.Runtime.ThreadContext
ClassHandle RakudoObject
Name string
리턴 int

instance_of() 공개 메소드

Create an instance of the given object.
public instance_of ( ThreadContext TC, RakudoObject WHAT ) : RakudoObject
TC Rakudo.Runtime.ThreadContext
WHAT RakudoObject
리턴 RakudoObject

set_int() 공개 메소드

public set_int ( ThreadContext TC, RakudoObject Object, int Value ) : void
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
Value int
리턴 void

set_num() 공개 메소드

public set_num ( ThreadContext TC, RakudoObject Object, double Value ) : void
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
Value double
리턴 void

set_str() 공개 메소드

public set_str ( ThreadContext TC, RakudoObject Object, string Value ) : void
TC Rakudo.Runtime.ThreadContext
Object RakudoObject
Value string
리턴 void

type_object_for() 공개 메소드

Gets a type object pointing to the given HOW.
public type_object_for ( ThreadContext TC, RakudoObject HOW ) : RakudoObject
TC Rakudo.Runtime.ThreadContext
HOW RakudoObject
리턴 RakudoObject