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

Method IsFromParser

IDEHelper/Compiler/BfAst.cpp:1027–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025}
1026
1027bool BfAstNode::IsFromParser(BfParser* parser)
1028{
1029 if (parser == NULL)
1030 return false;
1031 if (IsTemporary())
1032 return false;
1033 BfSourceData* sourceData = GetSourceData();
1034 if (sourceData == NULL)
1035 return false;
1036 return parser == sourceData->ToParser();
1037}
1038
1039String BfAstNode::ToString()
1040{

Callers 4

IsInterestedInMethodMethod · 0.80
GetSymbolReferencesMethod · 0.80
MatchMethodMethod · 0.80

Calls 1

ToParserMethod · 0.45

Tested by

no test coverage detected