MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / parseExpr

Method parseExpr

src/common/SimilarToRegex.cpp:172–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 void parseExpr(int* parseFlagOut)
173 {
174 while (true)
175 {
176 int parseFlags;
177 parseTerm(&parseFlags);
178 *parseFlagOut &= ~(~parseFlags & PARSE_FLAG_NOT_EMPTY);
179 *parseFlagOut |= parseFlags;
180
181 auto savePos = patternPos;
182 UChar32 c;
183
184 if (!hasPatternChar() || (c = getPatternChar()) != '|')
185 {
186 patternPos = savePos;
187 break;
188 }
189
190 re2PatternStr.append("|");
191 }
192 }
193
194 void parseTerm(int* parseFlagOut)
195 {

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected