MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / GetFieldByName

Method GetFieldByName

src/hx/cppia/Cppia.cpp:2898–2907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2896 hx::Class staticClass;
2897
2898 GetFieldByName(CppiaStream &stream,bool isThisObject,bool inIsStatic=false)
2899 {
2900 classId = stream.getInt();
2901 nameId = stream.getInt();
2902 isStatic = inIsStatic;
2903 object = (isThisObject||isStatic) ? 0 : createCppiaExpr(stream);
2904 name.raw_ref() = 0;
2905 isInterface = false;
2906 vtableSlot = -1;
2907 }
2908 GetFieldByName(const CppiaExpr *inSrc, int inNameId, CppiaExpr *inObject,bool inIsStatic)
2909 : CppiaDynamicExpr(inSrc)
2910 {

Callers

nothing calls this directly

Calls 2

createCppiaExprFunction · 0.85
getIntMethod · 0.45

Tested by

no test coverage detected