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

Method hasStringData

src/ast/ast_handle.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 bool BasicStructureAnnotation::hasStringData(das_set<void *> & dep) const {
38 for ( auto & it : fields ) {
39 auto & sfield = it.second;
40 if ( sfield.decl ) {
41 if ( sfield.decl->isString() ) return true;
42 if ( sfield.decl->hasStringData(dep) ) return true;
43 }
44 }
45 return false;
46 }
47
48
49 bool BasicStructureAnnotation::canSubstitute(TypeAnnotation * ann) const {

Callers

nothing calls this directly

Calls 1

isStringMethod · 0.80

Tested by

no test coverage detected