1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Reworked functions with explicit 'this'

This commit is contained in:
Brian Fiete 2020-09-11 10:33:16 -07:00
parent 9fde8a3c89
commit 3627f8c40f
15 changed files with 556 additions and 199 deletions

View file

@ -458,7 +458,8 @@ struct BfCodeGenOptions
enum BfParamKind : uint8
{
BfParamKind_Normal,
BfParamKind_Normal,
BfParamKind_ExplicitThis,
BfParamKind_Params,
BfParamKind_DelegateParam,
BfParamKind_ImplicitCapture,
@ -725,6 +726,7 @@ public:
bool mIsOperator;
bool mIsExtern;
bool mIsNoDiscard;
bool mHasExplicitThis;
BfCommutableKind mCommutableKind;
BfCheckedKind mCheckedKind;
BfImportKind mImportKind;
@ -751,6 +753,7 @@ public:
mIsOperator = false;
mIsExtern = false;
mIsNoDiscard = false;
mHasExplicitThis = false;
mBody = NULL;
mExplicitInterface = NULL;
mReturnTypeRef = NULL;