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

Function visitTypeDecls

include/daScript/ast/ast_handle.h:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114 }
115 virtual void visitTypeDecls ( const function<void(TypeDecl *)> & callback ) override {
116 for ( auto && fp : fields ) {
117 if ( fp.second.decl ) callback(fp.second.decl);
118 if ( fp.second.constDecl ) callback(fp.second.constDecl);
119 }
120 }
121 StructureField & addFieldEx(const string & na, const string & cppNa, off_t offset, const TypeDeclPtr & pT);
122 virtual void walk(DataWalker & walker, void * data) override;
123 void updateTypeInfo() const;

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected