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

Method MoreInfo

IDEHelper/Compiler/BfSystem.cpp:1957–1982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1955}
1956
1957BfMoreInfo* BfPassInstance::MoreInfo(const StringImpl& info, bool forceQueue)
1958{
1959 if ((!mLastWasDisplayed) || (forceQueue))
1960 {
1961 if (mLastWasAdded)
1962 {
1963 auto lastError = mErrors.back();
1964 BfMoreInfo* moreInfo = new BfMoreInfo();
1965 moreInfo->mInfo = info;
1966 moreInfo->mSource = NULL;
1967 moreInfo->mSrcStart = -1;
1968 moreInfo->mSrcEnd = -1;
1969
1970 lastError->mMoreInfo.push_back(moreInfo);
1971 return moreInfo;
1972 }
1973
1974 return NULL;
1975 }
1976
1977 String outText;
1978 outText += " > ";
1979 outText += info;
1980 OutputLine(outText);
1981 return NULL;
1982}
1983
1984BfMoreInfo* BfPassInstance::MoreInfo(const StringImpl& info, BfAstNode* refNode)
1985{

Callers 15

FinishMethod · 0.80
NewScopeStateMethod · 0.80
FailMethod · 0.80
WarnMethod · 0.80
CheckErrorAttributesMethod · 0.80
CreateTypeDataMethod · 0.80
CheckVariableDefMethod · 0.80
SetupIRFunctionMethod · 0.80
DoMethodDeclarationMethod · 0.80
SlotVirtualMethodMethod · 0.80
SlotInterfaceMethodMethod · 0.80

Calls 5

GetSourceDataMethod · 0.80
backMethod · 0.45
push_backMethod · 0.45
GetSrcStartMethod · 0.45
GetSrcLengthMethod · 0.45

Tested by

no test coverage detected