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

Method getIntOption

src/ast/ast_module.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 int32_t AnnotationArgumentList::getIntOption(const string & name, int32_t def) const {
76 auto arg = find(name, Type::tInt);
77 return arg ? arg->iValue : def;
78 }
79
80 uint64_t AnnotationArgumentList::getUInt64Option(const string & name, uint64_t def) const {
81 auto arg = find(name, Type::tInt);

Callers 5

getContextStackSizeMethod · 0.80
inferTypesMethod · 0.80
inferTypesDirtyMethod · 0.80
simulateMethod · 0.80
setupMethod · 0.80

Calls 1

findFunction · 0.50

Tested by

no test coverage detected