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

Method removeStructure

src/ast/ast_module.cpp:550–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548 }
549
550 bool Module::removeStructure ( const StructurePtr & st ) {
551 return structures.remove(st->name);
552 }
553
554 bool Module::addStructure ( const StructurePtr & st, bool canFail ) {
555 if ( structures.insert(st->name, st) ) {

Callers 2

ast_structureDeclarationFunction · 0.80
removeModuleStructureFunction · 0.80

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected