MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / isNoArg

Method isNoArg

erpcgen/src/options.cpp:454–454  ·  view source on GitHub ↗

Does this option take no arguments?

Source from the content-addressed store, hash-verified

452 int isValOptional(void) const { return ((spec[1] == '?') || (spec[1] == '*')); }
453 // Does this option take no arguments?
454 int isNoArg(void) const { return ((spec[1] == '|') || (!spec[1])); }
455 // Can this option take more than one argument?
456 int isList(void) const { return ((spec[1] == '+') || (spec[1] == '*')); }
457 // Does this option take any arguments?

Callers 2

parse_optMethod · 0.80
parse_longoptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected