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

Method GetSourceData

IDEHelper/Compiler/BfAst.cpp:992–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

990}
991
992BfSourceData* BfAstNode::GetSourceData()
993{
994#ifdef BF_AST_ALLOCATOR_USE_PAGES
995 //BF_ASSERT((intptr)this > 0x4200000000);
996 BfAstPageHeader* pageHeader = (BfAstPageHeader*)((intptr)this & ~(BfAstAllocManager::PAGE_SIZE - 1));
997 return pageHeader->mSourceData;
998#else
999 return mSourceData;
1000#endif
1001}
1002
1003BfParserData* BfAstNode::GetParserData()
1004{

Callers 15

ReadTypedValueMethod · 0.80
VisitMethod · 0.80
GetFileFromNodeMethod · 0.80
UpdateSrcPosMethod · 0.80
WarnMethod · 0.80
EmitCtorBodyMethod · 0.80
GetCursorIdxMethod · 0.80
IsAutocompleteNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected