Method | Description | |
---|---|---|
JsName ( MemberReference m ) : string | ||
ResolveCallSite ( ICall call ) : Expr |
If a call/newobj requires translating to an Expr that is not a call/newobj, then it is done here.
|
|
ResolveMethod ( Ctx ctx ) : Stmt |
If a method to directly provide an AST for a method is available, then find and use it here. The incoming ctx will contain the BCL method, not the custom method.
|
|
TranslateCtx ( Ctx ctx ) : Ctx |
Translate the ctx for transcoding here. Used to translate methods in the BCL to custom methods.
|
|
TypeMap ( TypeReference tRef ) : TypeReference | ||
TypeMapReverse ( TypeReference tRef ) : TypeReference |
Method | Description | |
---|---|---|
DoesMatchMethod ( MethodReference mInternal, MethodReference m ) : bool | ||
FindExprReturn ( ICall call, TypeReference forceMappedType = null ) : Expr | ||
FindJsMember ( MethodReference mRef, TypeReference mappedTRef ) : MethodReference | ||
FindMappedMethod ( MethodReference mRef ) : MethodReference | ||
FindStmtReturn ( Ctx ctx ) : Stmt | ||
GetRedirect ( MethodReference mRef ) : MethodReference | ||
JsCase ( string s ) : string | ||
JsResolver ( ) : System | ||
PerformMapping ( TypeDefinition>.Dictionary |
||
T ( string typeName ) : |
public static JsName ( MemberReference m ) : string | ||
m | MemberReference | |
return | string |
public static ResolveCallSite ( ICall call ) : Expr | ||
call | ICall | |
return | Expr |
public static ResolveMethod ( Ctx ctx ) : Stmt | ||
ctx | Ctx | |
return | Stmt |
public static TypeMap ( TypeReference tRef ) : TypeReference | ||
tRef | TypeReference | |
return | TypeReference |
public static TypeMapReverse ( TypeReference tRef ) : TypeReference | ||
tRef | TypeReference | |
return | TypeReference |