drive-by simplification of the python regex-tree

This commit is contained in:
erik-krogh
2022-11-01 12:03:18 +01:00
parent 1aeaefca7f
commit 05605480ae

View File

@@ -277,12 +277,11 @@ module Impl implements RegexTreeViewSig {
*/
class RegExpQuantifier extends RegExpTerm, TRegExpQuantifier {
int part_end;
boolean maybe_empty;
boolean may_repeat_forever;
RegExpQuantifier() {
this = TRegExpQuantifier(re, start, end) and
re.qualifiedPart(start, part_end, end, maybe_empty, may_repeat_forever)
re.qualifiedPart(start, part_end, end, _, may_repeat_forever)
}
override RegExpTerm getChild(int i) {