mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added 'visibleProjectSet', changed visibility rules for generics
This commit is contained in:
parent
6021518343
commit
75dd1a4213
6 changed files with 100 additions and 25 deletions
|
@ -895,6 +895,7 @@ public:
|
|||
Array<BfLambdaInstance*> mDeferredLambdaInstances;
|
||||
Array<BfIRValue> mSplatDecompAddrs;
|
||||
BfDeferredLocalAssignData* mDeferredLocalAssignData;
|
||||
BfProjectSet mVisibleProjectSet;
|
||||
int mDeferredLoopListCount;
|
||||
int mDeferredLoopListEntryCount;
|
||||
HashSet<int> mSkipObjectAccessChecks; // Indexed by BfIRValue value id
|
||||
|
@ -1468,6 +1469,7 @@ public:
|
|||
void SaveStackState(BfScopeData* scope);
|
||||
BfIRValue ValueScopeStart();
|
||||
void ValueScopeEnd(BfIRValue valueScopeStart);
|
||||
BfProjectSet* GetVisibleProjectSet();
|
||||
|
||||
void AddBasicBlock(BfIRBlock bb, bool activate = true);
|
||||
void VisitEmbeddedStatement(BfAstNode* stmt, BfExprEvaluator* exprEvaluator = NULL, BfEmbeddedStatementFlags flags = BfEmbeddedStatementFlags_None);
|
||||
|
@ -1682,7 +1684,7 @@ public:
|
|||
BfType* ResolveTypeResult(BfTypeReference* typeRef, BfType* resolvedTypeRef, BfPopulateType populateType, BfResolveTypeRefFlags resolveFlags);
|
||||
void ShowAmbiguousTypeError(BfAstNode* refNode, BfTypeDef* typeDef, BfTypeDef* otherTypeDef);
|
||||
void ShowGenericArgCountError(BfTypeReference* typeRef, int wantedGenericParams);
|
||||
BfTypeDef* GetActiveTypeDef(BfTypeInstance* typeInstanceOverride = NULL, bool useMixinDecl = false); // useMixinDecl is useful for type lookup, but we don't want the decl project to limit what methods the user can call
|
||||
BfTypeDef* GetActiveTypeDef(BfTypeInstance* typeInstanceOverride = NULL, bool useMixinDecl = false); // useMixinDecl is useful for type lookup, but we don't want the decl project to limit what methods the user can call
|
||||
BfTypeDef* FindTypeDefRaw(const BfAtomComposite& findName, int numGenericArgs, BfTypeInstance* typeInstance, BfTypeDef* useTypeDef, BfTypeLookupError* error);
|
||||
BfTypeDef* FindTypeDef(const BfAtomComposite& findName, int numGenericArgs = 0, BfTypeInstance* typeInstanceOverride = NULL, BfTypeLookupError* error = NULL);
|
||||
BfTypeDef* FindTypeDef(const StringImpl& typeName, int numGenericArgs = 0, BfTypeInstance* typeInstanceOverride = NULL, BfTypeLookupError* error = NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue