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

Method getOptionType

src/ast/ast_module.cpp:320–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318 }
319
320 Type Module::getOptionType ( const string & optName ) const {
321 auto it = options.find(optName);
322 if ( it != options.end() ) {
323 return it->second;
324 } else {
325 return Type::none;
326 }
327 }
328
329 Type Module::findOption ( const string & name ) {
330 Type optT = Type::none;

Callers 3

lintMethod · 0.80
findOptionMethod · 0.80
addModuleOptionFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected