mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Reflect Filtered, extension attribs fix, generic arg BfAstNode
This commit is contained in:
parent
6315d81207
commit
361be9dc92
13 changed files with 75 additions and 26 deletions
|
@ -974,6 +974,16 @@ bool BfTypeDef::HasSource(BfSource* source)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool BfTypeDef::HasCustomAttributes()
|
||||
{
|
||||
if ((mTypeDeclaration != NULL) && (mTypeDeclaration->mAttributes != NULL))
|
||||
return true;
|
||||
for (auto& partial : mPartials)
|
||||
if ((partial->mTypeDeclaration != NULL) && (partial->mTypeDeclaration->mAttributes != NULL))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
BfProject::BfProject()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue