C# 클래스 LibNative, GreenTeaScript

파일 보기 프로젝트 열기: GreenTeaScript/GreenTeaScript

공개 메소드들

메소드 설명
ApplyMethod ( GtFunc Func, object Self, object Params ) : object
ApplyMethodV ( GtFunc Func, object Self ) : object
ApplyParseFunc ( GtFunc ParseFunc, GtNameSpace NameSpace, GtTokenContext TokenContext, GtSyntaxTree LeftTree, GtSyntaxPattern Pattern ) : GtSyntaxTree
ApplyTokenFunc ( GtFunc TokenFunc, object TokenContext, string Text, long pos ) : long
ApplyTypeFunc ( GtFunc TypeFunc, GtTypeEnv Gamma, GtSyntaxTree ParsedTree, GtType ContextType ) : GtNode
GetClassName ( object Value ) : string
GetClassOfValue ( object Value ) : Type
GetNativeFieldValue ( object ObjectValue, FieldInfo NativeField ) : object
GetNativeType ( Type NativeClass ) : GtType
ImportClass ( String ClassName ) : Type
ImportMethod ( GtType ContextType, String FullName, bool StaticMethodOnly ) : MethodInfo
ImportNativeObject ( GtNameSpace NameSpace, string PackageName ) : object
ImportStaticFieldValue ( GtParserContext Context, GtType ClassType, String Symbol ) : object
ImportStaticObject ( GtParserContext Context, Type NativeClass, string Symbol ) : object
LoadNativeConstructors ( GtParserContext Context, GtType ClassType, List FuncList ) : void
LoadNativeField ( GtParserContext Context, GtType ClassType, String FieldName, Boolean GetSetter ) : GtFunc
LoadNativeMethods ( GtParserContext Context, GtType ClassType, String FuncName, List FuncList ) : void
MatchNativeMethod ( GtType GreenTypeParams, MethodInfo CLRMethod ) : bool

비공개 메소드들

메소드 설명
AcceptJavaType ( GtType GreenType, Type Type ) : bool

메소드 상세

ApplyMethod() 공개 정적인 메소드

public static ApplyMethod ( GtFunc Func, object Self, object Params ) : object
Func GtFunc
Self object
Params object
리턴 object

ApplyMethodV() 공개 정적인 메소드

public static ApplyMethodV ( GtFunc Func, object Self ) : object
Func GtFunc
Self object
리턴 object

ApplyParseFunc() 공개 정적인 메소드

public static ApplyParseFunc ( GtFunc ParseFunc, GtNameSpace NameSpace, GtTokenContext TokenContext, GtSyntaxTree LeftTree, GtSyntaxPattern Pattern ) : GtSyntaxTree
ParseFunc GtFunc
NameSpace GtNameSpace
TokenContext GtTokenContext
LeftTree GtSyntaxTree
Pattern GtSyntaxPattern
리턴 GtSyntaxTree

ApplyTokenFunc() 공개 정적인 메소드

public static ApplyTokenFunc ( GtFunc TokenFunc, object TokenContext, string Text, long pos ) : long
TokenFunc GtFunc
TokenContext object
Text string
pos long
리턴 long

ApplyTypeFunc() 공개 정적인 메소드

public static ApplyTypeFunc ( GtFunc TypeFunc, GtTypeEnv Gamma, GtSyntaxTree ParsedTree, GtType ContextType ) : GtNode
TypeFunc GtFunc
Gamma GtTypeEnv
ParsedTree GtSyntaxTree
ContextType GtType
리턴 GtNode

GetClassName() 공개 정적인 메소드

public static GetClassName ( object Value ) : string
Value object
리턴 string

GetClassOfValue() 공개 정적인 메소드

public static GetClassOfValue ( object Value ) : Type
Value object
리턴 Type

GetNativeFieldValue() 공개 정적인 메소드

public static GetNativeFieldValue ( object ObjectValue, FieldInfo NativeField ) : object
ObjectValue object
NativeField FieldInfo
리턴 object

GetNativeType() 공개 정적인 메소드

public static GetNativeType ( Type NativeClass ) : GtType
NativeClass Type
리턴 GtType

ImportClass() 공개 정적인 메소드

public static ImportClass ( String ClassName ) : Type
ClassName String
리턴 Type

ImportMethod() 공개 정적인 메소드

public static ImportMethod ( GtType ContextType, String FullName, bool StaticMethodOnly ) : MethodInfo
ContextType GtType
FullName String
StaticMethodOnly bool
리턴 MethodInfo

ImportNativeObject() 공개 정적인 메소드

public static ImportNativeObject ( GtNameSpace NameSpace, string PackageName ) : object
NameSpace GtNameSpace
PackageName string
리턴 object

ImportStaticFieldValue() 공개 정적인 메소드

public static ImportStaticFieldValue ( GtParserContext Context, GtType ClassType, String Symbol ) : object
Context GtParserContext
ClassType GtType
Symbol String
리턴 object

ImportStaticObject() 공개 정적인 메소드

public static ImportStaticObject ( GtParserContext Context, Type NativeClass, string Symbol ) : object
Context GtParserContext
NativeClass Type
Symbol string
리턴 object

LoadNativeConstructors() 공개 정적인 메소드

public static LoadNativeConstructors ( GtParserContext Context, GtType ClassType, List FuncList ) : void
Context GtParserContext
ClassType GtType
FuncList List
리턴 void

LoadNativeField() 공개 정적인 메소드

public static LoadNativeField ( GtParserContext Context, GtType ClassType, String FieldName, Boolean GetSetter ) : GtFunc
Context GtParserContext
ClassType GtType
FieldName String
GetSetter Boolean
리턴 GtFunc

LoadNativeMethods() 공개 정적인 메소드

public static LoadNativeMethods ( GtParserContext Context, GtType ClassType, String FuncName, List FuncList ) : void
Context GtParserContext
ClassType GtType
FuncName String
FuncList List
리턴 void

MatchNativeMethod() 공개 정적인 메소드

public static MatchNativeMethod ( GtType GreenTypeParams, MethodInfo CLRMethod ) : bool
GreenTypeParams GtType
CLRMethod MethodInfo
리턴 bool