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

Method IsClassMethod

sdk/angelscript/source/as_compiler.cpp:17985–17992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17983}
17984
17985bool asCExprContext::IsClassMethod() const
17986{
17987 if (type.dataType.GetTypeInfo() == 0) return false;
17988 if (methodName == "") return false;
17989 if (type.dataType.GetTypeInfo() == &type.dataType.GetTypeInfo()->engine->functionBehaviours) return false;
17990 if (isAnonymousInitList) return false;
17991 return true;
17992}
17993
17994bool asCExprContext::IsGlobalFunc() const
17995{

Callers 11

MatchFunctionsMethod · 0.80
CompileAutoTypeMethod · 0.80
ImplicitConversionMethod · 0.80
DoAssignmentMethod · 0.80
CompileConditionMethod · 0.80
CompileConversionMethod · 0.80
CompileOperatorMethod · 0.80

Calls 1

GetTypeInfoMethod · 0.80

Tested by

no test coverage detected