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

Method getUInt64OptionEx

src/ast/ast_module.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 uint64_t AnnotationArgumentList::getUInt64OptionEx(const string & name, const string & name2, uint64_t def) const {
86 auto arg = find(name, Type::tInt);
87 if (arg) return uint64_t(arg->iValue);
88 arg = find(name2, Type::tInt);
89 return arg ? uint64_t(arg->iValue) : def;
90 }
91
92 // MODULE
93

Callers 2

simulateMethod · 0.80
setupMethod · 0.80

Calls 1

findFunction · 0.50

Tested by

no test coverage detected