mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Named arguments
This commit is contained in:
parent
d204922403
commit
79320652e3
15 changed files with 341 additions and 37 deletions
|
@ -873,6 +873,7 @@ public:
|
|||
Array<BfParameterDef*> mParams;
|
||||
Array<BfGenericParamDef*> mGenericParams;
|
||||
Array<BfExternalConstraintDef> mExternalConstraints;
|
||||
Dictionary<StringView, int>* mParamNameMap;
|
||||
BfMethodDef* mNextWithSameName;
|
||||
Val128 mFullHash;
|
||||
|
||||
|
@ -934,8 +935,8 @@ public:
|
|||
mAddedAfterEmit = false;
|
||||
mBody = NULL;
|
||||
mExplicitInterface = NULL;
|
||||
mReturnTypeRef = NULL;
|
||||
mMethodDeclaration = NULL;
|
||||
mReturnTypeRef = NULL;
|
||||
mMethodDeclaration = NULL;
|
||||
mCodeChanged = false;
|
||||
mWantsBody = true;
|
||||
mCommutableKind = BfCommutableKind_None;
|
||||
|
@ -944,7 +945,8 @@ public:
|
|||
mMethodType = BfMethodType_Normal;
|
||||
mCallingConvention = BfCallingConvention_Unspecified;
|
||||
mHasAppend = false;
|
||||
mAlwaysInline = false;
|
||||
mAlwaysInline = false;
|
||||
mParamNameMap = NULL;
|
||||
mNextWithSameName = NULL;
|
||||
}
|
||||
|
||||
|
@ -965,6 +967,7 @@ public:
|
|||
bool IsCtorOrInit();
|
||||
String ToString();
|
||||
int GetExplicitParamCount();
|
||||
void BuildParamNameMap();
|
||||
};
|
||||
|
||||
class BfOperatorDef : public BfMethodDef
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue