C# Class LibNative, GreenTeaScript

Afficher le fichier Open project: GreenTeaScript/GreenTeaScript

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AcceptJavaType ( GtType GreenType, Type Type ) : bool

Method Details

ApplyMethod() public static méthode

public static ApplyMethod ( GtFunc Func, object Self, object Params ) : object
Func GtFunc
Self object
Params object
Résultat object

ApplyMethodV() public static méthode

public static ApplyMethodV ( GtFunc Func, object Self ) : object
Func GtFunc
Self object
Résultat object

ApplyParseFunc() public static méthode

public static ApplyParseFunc ( GtFunc ParseFunc, GtNameSpace NameSpace, GtTokenContext TokenContext, GtSyntaxTree LeftTree, GtSyntaxPattern Pattern ) : GtSyntaxTree
ParseFunc GtFunc
NameSpace GtNameSpace
TokenContext GtTokenContext
LeftTree GtSyntaxTree
Pattern GtSyntaxPattern
Résultat GtSyntaxTree

ApplyTokenFunc() public static méthode

public static ApplyTokenFunc ( GtFunc TokenFunc, object TokenContext, string Text, long pos ) : long
TokenFunc GtFunc
TokenContext object
Text string
pos long
Résultat long

ApplyTypeFunc() public static méthode

public static ApplyTypeFunc ( GtFunc TypeFunc, GtTypeEnv Gamma, GtSyntaxTree ParsedTree, GtType ContextType ) : GtNode
TypeFunc GtFunc
Gamma GtTypeEnv
ParsedTree GtSyntaxTree
ContextType GtType
Résultat GtNode

GetClassName() public static méthode

public static GetClassName ( object Value ) : string
Value object
Résultat string

GetClassOfValue() public static méthode

public static GetClassOfValue ( object Value ) : Type
Value object
Résultat Type

GetNativeFieldValue() public static méthode

public static GetNativeFieldValue ( object ObjectValue, FieldInfo NativeField ) : object
ObjectValue object
NativeField FieldInfo
Résultat object

GetNativeType() public static méthode

public static GetNativeType ( Type NativeClass ) : GtType
NativeClass Type
Résultat GtType

ImportClass() public static méthode

public static ImportClass ( String ClassName ) : Type
ClassName String
Résultat Type

ImportMethod() public static méthode

public static ImportMethod ( GtType ContextType, String FullName, bool StaticMethodOnly ) : MethodInfo
ContextType GtType
FullName String
StaticMethodOnly bool
Résultat MethodInfo

ImportNativeObject() public static méthode

public static ImportNativeObject ( GtNameSpace NameSpace, string PackageName ) : object
NameSpace GtNameSpace
PackageName string
Résultat object

ImportStaticFieldValue() public static méthode

public static ImportStaticFieldValue ( GtParserContext Context, GtType ClassType, String Symbol ) : object
Context GtParserContext
ClassType GtType
Symbol String
Résultat object

ImportStaticObject() public static méthode

public static ImportStaticObject ( GtParserContext Context, Type NativeClass, string Symbol ) : object
Context GtParserContext
NativeClass Type
Symbol string
Résultat object

LoadNativeConstructors() public static méthode

public static LoadNativeConstructors ( GtParserContext Context, GtType ClassType, List FuncList ) : void
Context GtParserContext
ClassType GtType
FuncList List
Résultat void

LoadNativeField() public static méthode

public static LoadNativeField ( GtParserContext Context, GtType ClassType, String FieldName, Boolean GetSetter ) : GtFunc
Context GtParserContext
ClassType GtType
FieldName String
GetSetter Boolean
Résultat GtFunc

LoadNativeMethods() public static méthode

public static LoadNativeMethods ( GtParserContext Context, GtType ClassType, String FuncName, List FuncList ) : void
Context GtParserContext
ClassType GtType
FuncName String
FuncList List
Résultat void

MatchNativeMethod() public static méthode

public static MatchNativeMethod ( GtType GreenTypeParams, MethodInfo CLRMethod ) : bool
GreenTypeParams GtType
CLRMethod MethodInfo
Résultat bool