mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
renamed "isGreedy" to "is_greedy"
This commit is contained in:
@@ -225,3 +225,8 @@ deprecated predicate jsParseErrors(JSParseError id, TopLevel toplevel, string me
|
||||
* Use the `RegExpParseError` class instead.
|
||||
*/
|
||||
deprecated predicate regexpParseErrors(RegExpParseError id, RegExpTerm regexp, string message) { regexp_parse_errors(id, regexp, message) }
|
||||
/**
|
||||
* Alias for the predicate `is_greedy` defined in the .dbscheme.
|
||||
* Use `RegExpQuantifier#isGreedy` instead.
|
||||
*/
|
||||
deprecated predicate isGreedy(RegExpQuantifier id) { is_greedy(id) }
|
||||
|
||||
@@ -188,7 +188,7 @@ class RegExpTerm extends Locatable, @regexpterm {
|
||||
*/
|
||||
class RegExpQuantifier extends RegExpTerm, @regexp_quantifier {
|
||||
/** Holds if the quantifier of this term is a greedy quantifier. */
|
||||
predicate isGreedy() { isGreedy(this) }
|
||||
predicate isGreedy() { is_greedy(this) }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -877,7 +877,7 @@ regexp_parse_errors (unique int id: @regexp_parse_error,
|
||||
@regexp_subpattern = @regexp_lookahead | @regexp_lookbehind;
|
||||
@regexp_anchor = @regexp_dollar | @regexp_caret;
|
||||
|
||||
isGreedy (int id: @regexp_quantifier ref);
|
||||
is_greedy (int id: @regexp_quantifier ref);
|
||||
rangeQuantifierLowerBound (unique int id: @regexp_range ref, int lo: int ref);
|
||||
rangeQuantifierUpperBound (unique int id: @regexp_range ref, int hi: int ref);
|
||||
isCapture (unique int id: @regexp_group ref, int number: int ref);
|
||||
|
||||
@@ -20061,7 +20061,7 @@
|
||||
</dependencies>
|
||||
</relation>
|
||||
<relation>
|
||||
<name>isGreedy</name>
|
||||
<name>is_greedy</name>
|
||||
<cardinality>2629</cardinality>
|
||||
<columnsizes>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user