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

Method getBoolOption

src/ast/ast_module.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 bool AnnotationArgumentList::getBoolOption(const string & name, bool def) const {
71 auto arg = find(name, Type::tBool);
72 return arg ? arg->bValue : def;
73 }
74
75 int32_t AnnotationArgumentList::getIntOption(const string & name, int32_t def) const {
76 auto arg = find(name, Type::tInt);

Callers 15

touchMethod · 0.80
lookMethod · 0.80
transform_syntaxFunction · 0.80
AllocateStackMethod · 0.80
allocateStackMethod · 0.80
escapeAnalysisMethod · 0.80
scopeFreeOptimizationMethod · 0.80
LintVisitorMethod · 0.80
lintMethod · 0.80
getDebuggerMethod · 0.80
getProfilerMethod · 0.80
optimizeMethod · 0.80

Calls 1

findFunction · 0.50

Tested by 2

touchMethod · 0.64
lookMethod · 0.64