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

Method findAnnotation

src/ast/ast_module.cpp:716–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 }
715
716 AnnotationPtr Module::findAnnotation ( const string & na ) const {
717 auto it = handleTypes.find(hash64z(na.c_str()));
718 return it != handleTypes.end() ? it->second : nullptr;
719 }
720
721 ReaderMacro * Module::findReaderMacro ( const string & na ) const {
722 auto it = readMacros.find(na);

Callers 14

findAnnotationFunction · 0.45
visitMethod · 0.45
setParentsFunction · 0.45
fromMethod · 0.45
resolveAnnotationMethod · 0.45
findStaticAnnotationMethod · 0.45
makeHandleTypeMethod · 0.45
jit_get_annotationFunction · 0.45
module_find_annotationFunction · 0.45

Calls 7

hash64zFunction · 0.85
splitTypeNameFunction · 0.85
findAnnotationFunction · 0.85
findMethod · 0.45
c_strMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected