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

Method Visit

IDEHelper/Compiler/BfSystem.cpp:4818–4830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4816 }
4817
4818 void Visit(BfTypeReference* typeRef)
4819 {
4820 String typeName = typeRef->ToString();
4821 String wantTypeName = GetTypeName(typeName);
4822 if (typeName != wantTypeName)
4823 {
4824 ReplaceRecord replaceRecord = { typeRef, wantTypeName };
4825 mReplaceMap[typeRef->GetSrcStart()] = replaceRecord;
4826 }
4827
4828 SetAndRestoreValue<bool> prevInTypeRef(mInTypeRef, true);
4829 BfElementVisitor::Visit(typeRef);
4830 }
4831
4832 void Visit(BfIdentifierNode* identifier)
4833 {

Callers

nothing calls this directly

Calls 3

VisitFunction · 0.85
ToStringMethod · 0.45
GetSrcStartMethod · 0.45

Tested by

no test coverage detected