Return true if this pattern is not assigned.
| 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 |
no outgoing calls