mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Comptime method fixes
This commit is contained in:
parent
0927656400
commit
ed06ff4dce
5 changed files with 37 additions and 7 deletions
|
@ -526,6 +526,11 @@ bool BfMethodDef::IsDefaultCtor()
|
|||
return ((mMethodType == BfMethodType_Ctor) || (mMethodType == BfMethodType_CtorNoBody)) && (mParams.IsEmpty());
|
||||
}
|
||||
|
||||
bool BfMethodDef::IsCtorOrInit()
|
||||
{
|
||||
return (mMethodType >= BfMethodType_CtorCalcAppend) && (mMethodType <= BfMethodType_Init);
|
||||
}
|
||||
|
||||
String BfMethodDef::ToString()
|
||||
{
|
||||
String methodText;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue