MCPcopy Create free account
hub / github.com/Genivia/RE-flex / empty

Method empty

include/reflex/pattern.h:310–314  ·  view source on GitHub ↗

Return true if this pattern is not assigned.

Source from the content-addressed store, hash-verified

308 }
309 /// Return true if this pattern is not assigned.
310 bool empty() const
311 /// @return true if this pattern is not assigned
312 {
313 return opc_ == NULL && fsm_ == NULL;
314 }
315 /// Get subpattern regex of this pattern object or the whole regex with index 0.
316 const std::string operator[](Accept choice) const
317 /// @returns subpattern string or "" when not set

Callers 15

unicode_classFunction · 0.45
insert_listFunction · 0.45
convert_escape_charFunction · 0.45
convert_escapeFunction · 0.45
convertFunction · 0.45
initMethod · 0.45
parseMethod · 0.45
parse2Method · 0.45
parse3Method · 0.45
compileMethod · 0.45
trim_lazyMethod · 0.45
compile_transitionMethod · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36