mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Improved generic param reflection in comptime
This commit is contained in:
parent
157d3f90e5
commit
26506efc1e
9 changed files with 143 additions and 19 deletions
|
@ -324,6 +324,7 @@ enum CeFunctionKind
|
|||
CeFunctionKind_GetReflectTypeById,
|
||||
CeFunctionKind_GetReflectTypeByName,
|
||||
CeFunctionKind_GetReflectSpecializedType,
|
||||
CeFunctionKind_Type_ToString,
|
||||
CeFunctionKind_Type_GetCustomAttribute,
|
||||
CeFunctionKind_GetMethodCount,
|
||||
CeFunctionKind_GetMethod,
|
||||
|
@ -701,7 +702,7 @@ public:
|
|||
mCurDbgLoc = NULL;
|
||||
mFrameSize = 0;
|
||||
}
|
||||
|
||||
|
||||
void Fail(const StringImpl& error);
|
||||
|
||||
CeOperand FrameAlloc(BeType* type);
|
||||
|
@ -867,6 +868,9 @@ public:
|
|||
Dictionary<int, CeInternalData*> mInternalDataMap;
|
||||
int mCurHandleId;
|
||||
|
||||
BfMethodInstance* mCallerMethodInstance;
|
||||
BfTypeInstance* mCallerTypeInstance;
|
||||
BfTypeDef* mCallerActiveTypeDef;
|
||||
BfMethodInstance* mCurMethodInstance;
|
||||
BfType* mCurExpectingType;
|
||||
BfAstNode* mCurTargetSrc;
|
||||
|
@ -877,7 +881,7 @@ public:
|
|||
public:
|
||||
CeContext();
|
||||
~CeContext();
|
||||
|
||||
|
||||
BfError* Fail(const StringImpl& error);
|
||||
BfError* Fail(const CeFrame& curFrame, const StringImpl& error);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue