renamed "unicodePropertyEscapeValue" to "unicode_property_escapevalue"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:13 +02:00
parent 3ed310fb7b
commit a57f93b41e
7 changed files with 12 additions and 5 deletions

View File

@@ -275,3 +275,8 @@ deprecated predicate namedBackref(RegExpBackRef id, string name) { named_backref
* Use `RegExpUnicodePropertyEscape#getName()` instead.
*/
deprecated predicate unicodePropertyEscapeName(RegExpUnicodePropertyEscape id, string name) { unicode_property_escapename(id, name) }
/**
* Alias for the predicate `unicode_property_escapevalue` defined in the .dbscheme.
* Use `RegExpUnicodePropertyEscape#getValue()` instead.
*/
deprecated predicate unicodePropertyEscapeValue(RegExpUnicodePropertyEscape id, string value) { unicode_property_escapevalue(id, value) }

View File

@@ -707,7 +707,7 @@ class RegExpUnicodePropertyEscape extends RegExpEscape, @regexp_unicode_property
* For example, the value of Unicode property `\p{Script=Greek}` is `Greek`, while
* `\p{Number}` does not have a value.
*/
string getValue() { unicodePropertyEscapeValue(this, result) }
string getValue() { unicode_property_escapevalue(this, result) }
override predicate isNullable() { none() }
}

View File

@@ -888,7 +888,7 @@ char_class_escape (unique int id: @regexp_char_class_escape ref, varchar(1) valu
backref (unique int id: @regexp_backref ref, int value: int ref);
named_backref (unique int id: @regexp_backref ref, string name: string ref);
unicode_property_escapename (unique int id: @regexp_unicode_property_escape ref, string name: string ref);
unicodePropertyEscapeValue (unique int id: @regexp_unicode_property_escape ref, string value: string ref);
unicode_property_escapevalue (unique int id: @regexp_unicode_property_escape ref, string value: string ref);
// tokens
#keyset[toplevel, idx]

View File

@@ -20691,7 +20691,7 @@
</dependencies>
</relation>
<relation>
<name>unicodePropertyEscapeValue</name>
<name>unicode_property_escapevalue</name>
<cardinality>1573</cardinality>
<columnsizes>
<e>