MCPcopy Create free account
hub / github.com/anjo76/angelscript / IsUndefinedFuncHandle

Method IsUndefinedFuncHandle

sdk/angelscript/source/as_compiler.cpp:17888–17898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17886}
17887
17888bool asCExprValue::IsUndefinedFuncHandle() const
17889{
17890 if (isConstant == false) return false;
17891 if (qwordValue == 0) return false;
17892 if (isLValue) return false;
17893 if (dataType.GetTypeInfo() == 0) return false;
17894 if (dataType.GetTypeInfo()->name != "$func") return false;
17895 if (dataType.IsFuncdef()) return false;
17896
17897 return true;
17898}
17899
17900void asCExprValue::SetNullConstant()
17901{

Callers 1

IsLambdaMethod · 0.80

Calls 2

GetTypeInfoMethod · 0.80
IsFuncdefMethod · 0.80

Tested by

no test coverage detected