From 4aff696ed062cee93d1863a8b5064b3f4629a32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sun, 5 Sep 2021 13:28:47 +0200 Subject: [PATCH] Generate ext/intl methodsynopses from stubs (UConverter) Closes GH-906. --- reference/intl/uconverter.xml | 1 + reference/intl/uconverter/construct.xml | 10 ++++------ reference/intl/uconverter/convert.xml | 6 ++---- reference/intl/uconverter/fromucallback.xml | 8 +++----- reference/intl/uconverter/getaliases.xml | 4 +--- reference/intl/uconverter/getdestinationencoding.xml | 6 ++---- reference/intl/uconverter/getdestinationtype.xml | 6 ++---- reference/intl/uconverter/geterrormessage.xml | 8 +++----- reference/intl/uconverter/getsourceencoding.xml | 6 ++---- reference/intl/uconverter/getsourcetype.xml | 6 ++---- reference/intl/uconverter/getstandards.xml | 6 ++---- reference/intl/uconverter/getsubstchars.xml | 6 ++---- reference/intl/uconverter/reasontext.xml | 4 +--- reference/intl/uconverter/setdestinationencoding.xml | 4 +--- reference/intl/uconverter/setsourceencoding.xml | 4 +--- reference/intl/uconverter/setsubstchars.xml | 4 +--- reference/intl/uconverter/toucallback.xml | 4 +--- reference/intl/uconverter/transcode.xml | 6 ++---- 18 files changed, 33 insertions(+), 66 deletions(-) diff --git a/reference/intl/uconverter.xml b/reference/intl/uconverter.xml index 5f161955f1..650ff83d1d 100644 --- a/reference/intl/uconverter.xml +++ b/reference/intl/uconverter.xml @@ -280,6 +280,7 @@ &Methods; + diff --git a/reference/intl/uconverter/construct.xml b/reference/intl/uconverter/construct.xml index 0e065f7aa9..1e938c059c 100644 --- a/reference/intl/uconverter/construct.xml +++ b/reference/intl/uconverter/construct.xml @@ -1,6 +1,5 @@ - UConverter::__construct @@ -9,11 +8,11 @@ &reftitle.description; - + public UConverter::__construct - stringdestination_encoding - stringsource_encoding - + stringnulldestination_encoding&null; + stringnullsource_encoding&null; + @@ -53,7 +52,6 @@ - - UConverter::convert @@ -10,9 +9,9 @@ &reftitle.description; - public stringUConverter::convert + public stringfalseUConverter::convert stringstr - boolreverse + boolreverse&false; @@ -53,7 +52,6 @@ - - UConverter::fromUCallback @@ -10,10 +9,10 @@ &reftitle.description; - public mixedUConverter::fromUCallback + public stringintarraynullUConverter::fromUCallback intreason - stringsource - stringcodePoint + arraysource + intcodePoint interror @@ -71,7 +70,6 @@ - - UConverter::getAliases @@ -10,7 +9,7 @@ &reftitle.description; - public static arrayUConverter::getAliases + public static arrayfalsenullUConverter::getAliases stringname @@ -44,7 +43,6 @@ - - UConverter::getDestinationEncoding @@ -10,8 +9,8 @@ &reftitle.description; - public stringUConverter::getDestinationEncoding - + public stringfalsenullUConverter::getDestinationEncoding + @@ -35,7 +34,6 @@ - - UConverter::getDestinationType @@ -10,8 +9,8 @@ &reftitle.description; - public intUConverter::getDestinationType - + public intfalsenullUConverter::getDestinationType + @@ -35,7 +34,6 @@ - - UConverter::getErrorMessage @@ -10,9 +9,9 @@ &reftitle.description; - public stringUConverter::getErrorMessage - - + public stringnullUConverter::getErrorMessage + + @@ -35,7 +34,6 @@ - - UConverter::getSourceEncoding @@ -10,8 +9,8 @@ &reftitle.description; - public stringUConverter::getSourceEncoding - + public stringfalsenullUConverter::getSourceEncoding + @@ -35,7 +34,6 @@ - - UConverter::getSourceType @@ -10,8 +9,8 @@ &reftitle.description; - public intUConverter::getSourceType - + public intfalsenullUConverter::getSourceType + @@ -35,7 +34,6 @@ - - UConverter::getStandards @@ -10,8 +9,8 @@ &reftitle.description; - public static arrayUConverter::getStandards - + public static arraynullUConverter::getStandards + @@ -35,7 +34,6 @@ - - UConverter::getSubstChars @@ -10,8 +9,8 @@ &reftitle.description; - public stringUConverter::getSubstChars - + public stringfalsenullUConverter::getSubstChars + @@ -35,7 +34,6 @@ - - UConverter::reasonText @@ -11,7 +10,7 @@ &reftitle.description; public static stringUConverter::reasonText - intreason + intreason @@ -44,7 +43,6 @@ - - UConverter::setDestinationEncoding @@ -10,7 +9,7 @@ &reftitle.description; - public voidUConverter::setDestinationEncoding + public boolUConverter::setDestinationEncoding stringencoding @@ -44,7 +43,6 @@ - - UConverter::setSourceEncoding @@ -10,7 +9,7 @@ &reftitle.description; - public voidUConverter::setSourceEncoding + public boolUConverter::setSourceEncoding stringencoding @@ -44,7 +43,6 @@ - - UConverter::setSubstChars @@ -10,7 +9,7 @@ &reftitle.description; - public voidUConverter::setSubstChars + public boolUConverter::setSubstChars stringchars @@ -44,7 +43,6 @@ - - UConverter::toUCallback @@ -10,7 +9,7 @@ &reftitle.description; - public mixedUConverter::toUCallback + public stringintarraynullUConverter::toUCallback intreason stringsource stringcodeUnits @@ -71,7 +70,6 @@ - - UConverter::transcode @@ -10,11 +9,11 @@ &reftitle.description; - public static stringUConverter::transcode + public static stringfalseUConverter::transcode stringstr stringtoEncoding stringfromEncoding - arrayoptions + arraynulloptions&null; @@ -71,7 +70,6 @@ -