mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Anonymous subclassing in initializer blocks
This commit is contained in:
parent
01c2c35fc3
commit
a5e9a33f64
25 changed files with 1111 additions and 608 deletions
|
@ -18,6 +18,7 @@ BfSourceClassifier::BfSourceClassifier(BfParser* bfParser, CharData* charData)
|
|||
mPrevNode = NULL;
|
||||
mCurMember = NULL;
|
||||
mCurLocalMethodDeclaration = NULL;
|
||||
mSkipAnonymousTypes = false;
|
||||
}
|
||||
|
||||
void BfSourceClassifier::ModifyFlags(BfAstNode* node, uint8 andFlags, uint8 orFlags)
|
||||
|
@ -657,6 +658,9 @@ void BfSourceClassifier::Visit(BfPropertyDeclaration* propertyDeclaration)
|
|||
|
||||
void BfSourceClassifier::Visit(BfTypeDeclaration* typeDeclaration)
|
||||
{
|
||||
if ((mSkipAnonymousTypes) && (typeDeclaration->IsAnonymous()))
|
||||
return;
|
||||
|
||||
if (typeDeclaration->mIgnoreDeclaration)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue