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

Method GetStartCharId

IDEHelper/Compiler/BfAst.cpp:981–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

979}
980
981int BfAstNode::GetStartCharId()
982{
983 if (!IsTemporary())
984 {
985 auto bfParser = GetSourceData()->ToParserData();
986 if (bfParser != NULL)
987 return bfParser->GetCharIdAtIndex(GetSrcStart());
988 }
989 return GetSrcStart();
990}
991
992BfSourceData* BfAstNode::GetSourceData()
993{

Callers 3

GetLocalMethodNameMethod · 0.80
VisitMethod · 0.80
GetLambdaInstanceMethod · 0.80

Calls 2

GetCharIdAtIndexMethod · 0.80
ToParserDataMethod · 0.45

Tested by

no test coverage detected