renamed "unicodePropertyEscapeName" to "unicode_property_escapename"

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

View File

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

View File

@@ -699,7 +699,7 @@ class RegExpUnicodePropertyEscape extends RegExpEscape, @regexp_unicode_property
* Gets the name of this Unicode property; for example, `Number` for `\p{Number}` and
* `Script` for `\p{Script=Greek}`.
*/
string getName() { unicodePropertyEscapeName(this, result) }
string getName() { unicode_property_escapename(this, result) }
/**
* Gets the value of this Unicode property, if any.

View File

@@ -887,7 +887,7 @@ regexp_const_value (unique int id: @regexp_constant ref, varchar(1) value: strin
char_class_escape (unique int id: @regexp_char_class_escape ref, varchar(1) value: string ref);
backref (unique int id: @regexp_backref ref, int value: int ref);
named_backref (unique int id: @regexp_backref ref, string name: string ref);
unicodePropertyEscapeName (unique int id: @regexp_unicode_property_escape 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);
// tokens

View File

@@ -20618,7 +20618,7 @@
</dependencies>
</relation>
<relation>
<name>unicodePropertyEscapeName</name>
<name>unicode_property_escapename</name>
<cardinality>1573</cardinality>
<columnsizes>
<e>