MCPcopy Create free account
hub / github.com/beefytech/Beef / IsAlwaysInclude

Method IsAlwaysInclude

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:2685–2696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2683}
2684
2685bool BfTypeInstance::IsAlwaysInclude()
2686{
2687 bool alwaysInclude = mTypeDef->mIsAlwaysInclude || mTypeDef->mProject->mAlwaysIncludeAll;
2688 if (mTypeOptionsIdx > 0)
2689 {
2690 auto typeOptions = mModule->mSystem->GetTypeOptions(mTypeOptionsIdx);
2691 typeOptions->Apply(alwaysInclude, BfOptionFlags_ReflectAlwaysIncludeType);
2692 }
2693 if ((mAlwaysIncludeFlags & BfAlwaysIncludeFlag_Type) != 0)
2694 alwaysInclude = true;
2695 return alwaysInclude;
2696}
2697
2698bool BfTypeInstance::IsSpecializedByAutoCompleteMethod()
2699{

Callers 1

TryUnreifyModulesMethod · 0.80

Calls 2

GetTypeOptionsMethod · 0.45
ApplyMethod · 0.45

Tested by

no test coverage detected