MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / initRecAnnotation

Function initRecAnnotation

include/daScript/ast/ast.h:1197–1203  ·  view source on GitHub ↗

move reachable nodes from 'from' to 'target' (default module_gc_root)

Source from the content-addressed store, hash-verified

1195 FileInfo * getFileInfo() const;
1196 void gc_collect ( gc_root * from = nullptr, gc_root * target = nullptr ); // move reachable nodes from 'from' to 'target' (default module_gc_root)
1197 public:
1198 template <typename RecAnn>
1199 void initRecAnnotation ( RecAnn * rec, ModuleLibrary & lib ) {
1200 rec->mlib = &lib;
1201 rec->init();
1202 rec->mlib = nullptr;
1203 }
1204 public:
1205 template <typename TT, typename ...TARG>
1206 __forceinline void addCall ( const string & fnName, TARG ...args ) {

Callers 5

Module_UnitTestMethod · 0.85
Module_UriParserMethod · 0.85
registerAnnotations1Method · 0.85
addRecAnnotationMethod · 0.85
Module_RttiMethod · 0.85

Calls 1

initMethod · 0.45

Tested by 1

Module_UnitTestMethod · 0.68