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

Method Clear

sdk/angelscript/source/as_compiler.cpp:17957–17983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17955}
17956
17957void asCExprContext::Clear()
17958{
17959 bc.ClearAll();
17960 type.Set(asCDataType());
17961 deferredParams.SetLength(0);
17962 if (property_arg)
17963 asDELETE(property_arg, asCExprContext);
17964 property_arg = 0;
17965 exprNode = 0;
17966 origExpr = 0;
17967 property_get = 0;
17968 property_set = 0;
17969 property_const = false;
17970 property_handle = false;
17971 property_ref = false;
17972 methodName = "";
17973 enumValue = "";
17974 symbolNamespace = 0;
17975 isVoidExpression = false;
17976 isCleanArg = false;
17977 isAnonymousInitList = false;
17978 origCode = 0;
17979
17980 if (next)
17981 asDELETE(next, asCExprContext);
17982 next = 0;
17983}
17984
17985bool asCExprContext::IsClassMethod() const
17986{

Callers 6

~asCBuilderMethod · 0.45
~asCScriptEngineMethod · 0.45
DetectCallingConventionFunction · 0.45
InternalResetMethod · 0.45

Calls 4

asCDataTypeClass · 0.85
ClearAllMethod · 0.45
SetMethod · 0.45
SetLengthMethod · 0.45

Tested by

no test coverage detected