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

Anonymous subclassing in initializer blocks

This commit is contained in:
Brian Fiete 2025-01-04 10:57:37 -08:00
parent 01c2c35fc3
commit a5e9a33f64
25 changed files with 1111 additions and 608 deletions

View file

@ -1243,6 +1243,11 @@ bool BfTypeDeclaration::IsAnonymous()
return (mAnonymousName != NULL);
}
bool BfTypeDeclaration::IsAnonymousInitializerType()
{
return (mAnonymousName != NULL) && (mTypeNode == NULL);
}
//////////////////////////////////////////////////////////////////////////
bool BfTypeReference::IsNamedTypeReference()