renamed "rangeQuantifierLowerBound" to "range_quantifier_lower_bound"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:06 +02:00
parent 0962af51d2
commit defbee2567
7 changed files with 20 additions and 13 deletions

View File

@@ -230,3 +230,8 @@ deprecated predicate regexpParseErrors(RegExpParseError id, RegExpTerm regexp, s
* Use `RegExpQuantifier#isGreedy` instead.
*/
deprecated predicate isGreedy(RegExpQuantifier id) { is_greedy(id) }
/**
* Alias for the predicate `range_quantifier_lower_bound` defined in the .dbscheme.
* Use `RegExpRange#getLowerBound()` instead.
*/
deprecated predicate rangeQuantifierLowerBound(RegExpRange id, int lo) { range_quantifier_lower_bound(id, lo) }

View File

@@ -522,7 +522,7 @@ class RegExpOpt extends RegExpQuantifier, @regexp_opt {
*/
class RegExpRange extends RegExpQuantifier, @regexp_range {
/** Gets the lower bound of the range. */
int getLowerBound() { rangeQuantifierLowerBound(this, result) }
int getLowerBound() { range_quantifier_lower_bound(this, result) }
/**
* Gets the upper bound of the range, if any.