MCPcopy Create free account
hub / github.com/WheretIB/nullc / HasType

Method HasType

NULLC/SyntaxTree.cpp:1917–1926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1915{
1916}
1917bool NodeFunctionProxy::HasType(TypeInfo *type)
1918{
1919 int fID = CodeInfo::funcInfo.size();
1920 while((fID = CodeInfo::FindFunctionByName(funcInfo->nameHash, fID - 1)) != -1)
1921 {
1922 if(CodeInfo::funcInfo[fID]->funcType == type)
1923 return true;
1924 }
1925 return false;
1926}
1927void NodeFunctionProxy::Compile()
1928{
1929 if(!noError)

Callers 1

GetFunctionRatingFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected