Skip to content

Commit

Permalink
import xml doc of haxe.Copy (c0d212db4c8a79f20dc43bbd3ccb880ac074d8c5)
Browse files Browse the repository at this point in the history
  • Loading branch information
haxe-ci committed Dec 11, 2024
1 parent 877baa4 commit 737968e
Show file tree
Hide file tree
Showing 11 changed files with 705 additions and 325 deletions.
102 changes: 70 additions & 32 deletions xml/haxe.Copy/cpp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11460,27 +11460,65 @@
<impl><class path="haxe._Constraints.Constructible_Impl_" params="" file="/home/runner/work/haxe/haxe/std/haxe/Constraints.hx" private="1" module="haxe.Constraints" extern="1" final="1"/></impl>
</abstract>
<class path="haxe._Constraints.Constructible_Impl_" params="" file="/home/runner/work/haxe/haxe/std/haxe/Constraints.hx" private="1" module="haxe.Constraints" extern="1" final="1"/>
<class path="haxe._Copy.ObjectCache" params="K" file="/home/runner/work/haxe/haxe/std/haxe/Copy.hx" private="1" module="haxe.Copy">
<cache><c path="haxe.ds.ObjectMap">
<c path="haxe._Copy.ObjectCache.K"/>
<c path="haxe._Copy.ObjectCache.K"/>
</c></cache>
<get public="1" get="inline" set="null" line="44"><f a="k">
<c path="haxe._Copy.ObjectCache.K"/>
<x path="Null"><c path="haxe._Copy.ObjectCache.K"/></x>
</f></get>
<set public="1" get="inline" set="null" line="48"><f a="k:v">
<c path="haxe._Copy.ObjectCache.K"/>
<c path="haxe._Copy.ObjectCache.K"/>
<x path="Void"/>
</f></set>
<new public="1" set="method" line="40"><f a=""><x path="Void"/></f></new>
</class>
<class path="haxe.Copy" params="" file="/home/runner/work/haxe/haxe/std/haxe/Copy.hx">
<copy public="1" params="T" set="method" line="159" static="1"><f a="v">
<c path="copy.T"/>
<c path="copy.T"/>
</f></copy>
<cacheMap><c path="Array"><d/></c></cacheMap>
<cache><c path="Array"><d/></c></cache>
<copyValue public="1" set="method" line="12"><f a="v">
<d/>
<d/>
<copy public="1" params="T" set="method" line="233" static="1">
<f a="v">
<c path="copy.T"/>
<c path="copy.T"/>
</f>
<haxe_doc>Creates a deep copy of `v`.

The following values remain unchanged:

* null
* numeric values
* boolean values
* strings
* functions
* type and enum references (e.g. `haxe.Copy`, `haxe.ds.Option`)
* instances of Date
* enum values without arguments

Any other value `v` is recursively copied, ensuring
that `v != copy(v)` holds.</haxe_doc>
</copy>
<cache><c path="haxe._Copy.ObjectCache"><a/></c></cache>
<workList><c path="Array"><f a=""><x path="Void"/></f></c></workList>
<defer set="method" line="63"><f a="f">
<f a=""><x path="Void"/></f>
<x path="Void"/>
</f></defer>
<copyValue params="T:O" set="method" line="68"><f a="v">
<c path="copyValue.T"/>
<c path="copyValue.T"/>
</f></copyValue>
<getRefIndex set="method" line="135"><f a="v">
<d/>
<x path="Int"/>
</f></getRefIndex>
<copyFields set="method" line="152"><f a="v:nv">
<getRef params="T" get="inline" set="null" line="185"><f a="v">
<c path="getRef.T"/>
<c path="getRef.T"/>
</f></getRef>
<copyFields set="method" line="189"><f a="v:nv">
<d/>
<d/>
<x path="Void"/>
</f></copyFields>
<new public="1" set="method" line="7"><f a=""><x path="Void"/></f></new>
<finalize set="method" line="196"><f a=""><x path="Void"/></f></finalize>
<new set="method" line="58"><f a=""><x path="Void"/></f></new>
</class>
<abstract path="haxe.DynamicAccess" params="T" file="/home/runner/work/haxe/haxe/std/haxe/DynamicAccess.hx">
<from><icast><d><c path="haxe.DynamicAccess.T"/></d></icast></from>
Expand Down Expand Up @@ -16443,7 +16481,7 @@
<m n=":keep"/>
</meta>
</BASE64_CODES>
<run public="1" set="method" line="582" static="1">
<run public="1" set="method" line="571" static="1">
<f a="v">
<d/>
<c path="String"/>
Expand All @@ -16453,10 +16491,10 @@
<m n=":keep"/>
</meta>
<haxe_doc>Serializes `v` and returns the String representation.

This is a convenience function for creating a new instance of
Serializer, serialize `v` into it and obtain the result through a call
to `toString()`.</haxe_doc>
This is a convenience function for creating a new instance of
Serializer, serialize `v` into it and obtain the result through a call
to `toString()`.</haxe_doc>
</run>
<buf>
<c path="StringBuf"/>
Expand Down Expand Up @@ -16527,7 +16565,7 @@
<m n=":keep"/>
</meta>
</serializeString>
<serializeRef set="method" line="174">
<serializeRef set="method" line="169">
<f a="v">
<d/>
<x path="Bool"/>
Expand All @@ -16537,7 +16575,7 @@
<m n=":keep"/>
</meta>
</serializeRef>
<serializeFields set="method" line="211">
<serializeFields set="method" line="206">
<f a="v">
<a/>
<x path="Void"/>
Expand All @@ -16547,7 +16585,7 @@
<m n=":keep"/>
</meta>
</serializeFields>
<serialize public="1" set="method" line="229">
<serialize public="1" set="method" line="224">
<f a="v">
<d/>
<x path="Void"/>
Expand All @@ -16557,15 +16595,15 @@
<m n=":keep"/>
</meta>
<haxe_doc>Serializes `v`.

All haxe-defined values and objects with the exception of functions can
be serialized. Serialization of external/native objects is not
guaranteed to work.

The values of `this.useCache` and `this.useEnumIndex` may affect
serialization output.</haxe_doc>
All haxe-defined values and objects with the exception of functions can
be serialized. Serialization of external/native objects is not
guaranteed to work.
The values of `this.useCache` and `this.useEnumIndex` may affect
serialization output.</haxe_doc>
</serialize>
<__getField get="inline" set="null" line="557">
<__getField get="inline" set="null" line="546">
<f a="o:f">
<d/>
<c path="String"/>
Expand All @@ -16576,7 +16614,7 @@
<m n=":keep"/>
</meta>
</__getField>
<serializeException public="1" set="method" line="559">
<serializeException public="1" set="method" line="548">
<f a="e">
<d/>
<x path="Void"/>
Expand Down
113 changes: 80 additions & 33 deletions xml/haxe.Copy/flash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29405,27 +29405,74 @@
<toString public="1" set="method"><f a=""><c path="String"/></f></toString>
<clear public="1" set="method"><f a=""><x path="Void"/></f></clear>
</class>
<class path="haxe._Copy.ObjectCache" params="K" file="/home/runner/work/haxe/haxe/std/haxe/Copy.hx" private="1" module="haxe.Copy">
<cache><c path="haxe.ds.ObjectMap">
<c path="haxe._Copy.ObjectCache.K"/>
<c path="haxe._Copy.ObjectCache.K"/>
</c></cache>
<get public="1" get="inline" set="null" line="44"><f a="k">
<c path="haxe._Copy.ObjectCache.K"/>
<x path="Null"><c path="haxe._Copy.ObjectCache.K"/></x>
</f></get>
<set public="1" get="inline" set="null" line="48"><f a="k:v">
<c path="haxe._Copy.ObjectCache.K"/>
<c path="haxe._Copy.ObjectCache.K"/>
<x path="Void"/>
</f></set>
<new public="1" set="method" line="40"><f a=""><x path="Void"/></f></new>
</class>
<class path="haxe.Copy" params="" file="/home/runner/work/haxe/haxe/std/haxe/Copy.hx">
<copy public="1" params="T" set="method" line="159" static="1"><f a="v">
<c path="copy.T"/>
<c path="copy.T"/>
</f></copy>
<cacheMap><c path="Array"><d/></c></cacheMap>
<cache><c path="Array"><d/></c></cache>
<copyValue public="1" set="method" line="12"><f a="v">
<d/>
<d/>
<copy public="1" params="T" set="method" line="233" static="1">
<f a="v">
<c path="copy.T"/>
<c path="copy.T"/>
</f>
<haxe_doc>Creates a deep copy of `v`.

The following values remain unchanged:

* null
* numeric values
* boolean values
* strings
* functions
* type and enum references (e.g. `haxe.Copy`, `haxe.ds.Option`)
* instances of Date
* enum values without arguments

Any other value `v` is recursively copied, ensuring
that `v != copy(v)` holds.</haxe_doc>
</copy>
<cache><c path="haxe._Copy.ObjectCache"><a/></c></cache>
<workList><c path="Array"><f a=""><x path="Void"/></f></c></workList>
<defer set="method" line="63"><f a="f">
<f a=""><x path="Void"/></f>
<x path="Void"/>
</f></defer>
<copyValue params="T:O" set="method" line="68"><f a="v">
<c path="copyValue.T"/>
<c path="copyValue.T"/>
</f></copyValue>
<getRefIndex set="method" line="135"><f a="v">
<d/>
<x path="Int"/>
</f></getRefIndex>
<copyFields set="method" line="152"><f a="v:nv">
<getRef params="T" get="inline" set="null" line="185"><f a="v">
<c path="getRef.T"/>
<c path="getRef.T"/>
</f></getRef>
<copyFields set="method" line="189"><f a="v:nv">
<d/>
<d/>
<x path="Void"/>
</f></copyFields>
<new public="1" set="method" line="7"><f a=""><x path="Void"/></f></new>
<finalize set="method" line="196"><f a=""><x path="Void"/></f></finalize>
<copyClassFields set="method" line="203">
<f a="v:nv:c">
<d/>
<d/>
<d/>
<x path="Void"/>
</f>
<meta><m n=":has_untyped"/></meta>
</copyClassFields>
<new set="method" line="58"><f a=""><x path="Void"/></f></new>
</class>
<abstract path="haxe.DynamicAccess" params="T" file="/home/runner/work/haxe/haxe/std/haxe/DynamicAccess.hx">
<from><icast><d><c path="haxe.DynamicAccess.T"/></d></icast></from>
Expand Down Expand Up @@ -33469,16 +33516,16 @@
<x path="Null"><x path="haxe.ds.Vector"><x path="Null"><x path="Int"/></x></x></x>
<meta><m n=":value"><e>null</e></m></meta>
</BASE64_CODES>
<run public="1" set="method" line="582" static="1">
<run public="1" set="method" line="571" static="1">
<f a="v">
<d/>
<c path="String"/>
</f>
<haxe_doc>Serializes `v` and returns the String representation.

This is a convenience function for creating a new instance of
Serializer, serialize `v` into it and obtain the result through a call
to `toString()`.</haxe_doc>
This is a convenience function for creating a new instance of
Serializer, serialize `v` into it and obtain the result through a call
to `toString()`.</haxe_doc>
</run>
<buf><c path="StringBuf"/></buf>
<cache><c path="Array"><d/></c></cache>
Expand Down Expand Up @@ -33507,42 +33554,42 @@
<c path="String"/>
<x path="Void"/>
</f></serializeString>
<serializeRef set="method" line="174"><f a="v">
<serializeRef set="method" line="169"><f a="v">
<d/>
<x path="Bool"/>
</f></serializeRef>
<serializeClassFields set="method" line="197">
<serializeClassFields set="method" line="192">
<f a="v:c">
<d/>
<d/>
<x path="Void"/>
</f>
<meta><m n=":has_untyped"/></meta>
</serializeClassFields>
<serializeFields set="method" line="211"><f a="v">
<serializeFields set="method" line="206"><f a="v">
<a/>
<x path="Void"/>
</f></serializeFields>
<serialize public="1" set="method" line="229">
<serialize public="1" set="method" line="224">
<f a="v">
<d/>
<x path="Void"/>
</f>
<haxe_doc>Serializes `v`.

All haxe-defined values and objects with the exception of functions can
be serialized. Serialization of external/native objects is not
guaranteed to work.

The values of `this.useCache` and `this.useEnumIndex` may affect
serialization output.</haxe_doc>
All haxe-defined values and objects with the exception of functions can
be serialized. Serialization of external/native objects is not
guaranteed to work.
The values of `this.useCache` and `this.useEnumIndex` may affect
serialization output.</haxe_doc>
</serialize>
<__getField get="inline" set="null" line="557"><f a="o:f">
<__getField get="inline" set="null" line="546"><f a="o:f">
<d/>
<c path="String"/>
<d/>
</f></__getField>
<serializeException public="1" set="method" line="559">
<serializeException public="1" set="method" line="548">
<f a="e">
<d/>
<x path="Void"/>
Expand Down
Loading

0 comments on commit 737968e

Please sign in to comment.