This is an automated email from the ASF dual-hosted git repository.

xiazcy pushed a commit to branch 3.8-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.8-dev by this push:
     new 8a406426c0 CTR fix & re-order `asString()` in semantics doc
8a406426c0 is described below

commit 8a406426c065c4596f89bc091ddbd3501ddbffc8
Author: xiazcy <[email protected]>
AuthorDate: Mon Sep 22 17:14:14 2025 -0700

    CTR fix & re-order `asString()` in semantics doc
---
 docs/src/dev/provider/gremlin-semantics.asciidoc | 59 ++++++++++++------------
 1 file changed, 29 insertions(+), 30 deletions(-)

diff --git a/docs/src/dev/provider/gremlin-semantics.asciidoc 
b/docs/src/dev/provider/gremlin-semantics.asciidoc
index 18b8396a80..dff6cda769 100644
--- a/docs/src/dev/provider/gremlin-semantics.asciidoc
+++ b/docs/src/dev/provider/gremlin-semantics.asciidoc
@@ -799,6 +799,35 @@ If no type token is provided, the incoming number remains 
unchanged.
 See: 
link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsNumberStep.java[source],
 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asNumber-step[reference]
 
+[[asString-step]]
+=== asString()
+
+*Description:* Returns the value of incoming traverser as strings, or if 
`Scope.local` is specified, returns each element inside
+incoming list traverser as string.
+
+*Syntax:* `asString()` | `asString(Scope scope)`
+
+[width="100%",options="header"]
+|=========================================================
+|Start Step |Mid Step |Modulated |Domain |Range
+|N |Y |N |`any` |`String`/`List`
+|=========================================================
+
+*Arguments:*
+
+* `scope` - Determines the type of traverser it operates on. Both scopes will 
operate on the level of individual traversers.
+The `global` scope will operate on individual traverser, casting all (except 
`null`) to string. The `local` scope will behave like
+`global` for everything except lists, where it will cast individual non-`null` 
elements inside the list into string and return a
+list of string instead.
+
+*Exceptions*
+
+* If the incoming traverser is a `null` value then an 
`IllegalArgumentException` will be thrown.
+
+See: 
link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsStringGlobalStep.java[source],
+link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsStringLocalStep.java[source
 (local)],
+link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asString-step[reference]
+
 [[barrier-step]]
 === barrier()
 
@@ -1002,36 +1031,6 @@ None
 See: 
link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/SideEffectCapStep.java[source],
 link:https://tinkerpop.apache.org/docs/x.y.z/reference/#cap-step[reference]
 
-[[asString-step]]
-=== asString()
-
-*Description:* Returns the value of incoming traverser as strings, or if 
`Scope.local` is specified, returns each element inside
-incoming list traverser as string.
-
-*Syntax:* `asString()` | `asString(Scope scope)`
-
-[width="100%",options="header"]
-|=========================================================
-|Start Step |Mid Step |Modulated |Domain |Range
-|N |Y |N |`any` |`String`/`List`
-|=========================================================
-
-*Arguments:*
-
-* `scope` - Determines the type of traverser it operates on. Both scopes will 
operate on the level of individual traversers.
-The `global` scope will operate on individual traverser, casting all (except 
`null`) to string. The `local` scope will behave like
-`global` for everything except lists, where it will cast individual non-`null` 
elements inside the list into string and return a
-list of string instead.
-
-Null values from the incoming traverser are not processed and remain as null 
when returned.
-
-*Exceptions*
-* If the incoming traverser is a `null` value then an 
`IllegalArgumentException` will be thrown.
-
-See: 
link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsStringGlobalStep.java[source],
-link:https://github.com/apache/tinkerpop/tree/x.y.z/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AsStringLocalStep.java[source
 (local)],
-link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asString-step[reference]
-
 [[call-step]]
 === call()
 

Reply via email to