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

Method IsNullConstant

sdk/angelscript/source/as_compiler.cpp:17909–17916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17907}
17908
17909bool asCExprValue::IsNullConstant() const
17910{
17911 // We can't check the actual object type, because the null constant may have been cast to another type
17912 if (isConstant && dataType.IsObjectHandle() && qwordValue == 0)
17913 return true;
17914
17915 return false;
17916}
17917
17918void asCExprValue::SetVoid()
17919{

Callers 14

PrepareArgumentMethod · 0.80
CompileInitializationMethod · 0.80
ImplicitConversionMethod · 0.80
ImplicitConvObjectRefMethod · 0.80
DoAssignmentMethod · 0.80
CompileConditionMethod · 0.80
ProcessDeferredParamsMethod · 0.80
MatchArgumentMethod · 0.80
CompileOperatorMethod · 0.80

Calls 1

IsObjectHandleMethod · 0.80

Tested by

no test coverage detected