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

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit c85e3c12ce3719299e14f9755242258cfc8ec6cc
Author: Stephen Mallette <[email protected]>
AuthorDate: Sat Jun 27 11:38:33 2026 +0000

    Convert step Syntax lines to language-neutral notation CTR
    
    Every `*Syntax:*` line in `gremlin-semantics.asciidoc` previously used Java
    parameter notation (`String edgeLabel`, `Traversal<?, String>`, `Object
    values`, `int maxBarrierSize`, `String... propertyKeys`). Convert all 55
    step entries to a TypeScript-style `name: TYPE` form with GType names for
    primitives, PascalCase for TinkerPop concept types, `any` for
    unconstrained values, and trailing-ellipsis `TYPE...` for varargs.
    
    Examples:
      addE(String edgeLabel)                      → addE(edgeLabel: STRING)
      addE(Traversal<?, String> edgeLabelTraversal) → addE(edgeLabelTraversal: 
Traversal<any, STRING>)
      combine(Object values)                      → combine(values: any)
      coin(double probability)                    → coin(probability: NUMBER)
      dateAdd(DT dateToken, Integer value)        → dateAdd(dateToken: DT, 
value: INT)
      valueMap(String... propertyKeys)            → valueMap(propertyKeys: 
STRING...)
      match(String matchQuery, Map<String, Object> params)
                                                  → match(matchQuery: STRING, 
params: MAP<STRING, any>)
    
    The ANTLR grammar (`Gremlin.g4`) was used as the source of truth for what
    overloads to document. Two grammar-vs-doc mismatches were resolved:
    
    1. branch() — removed the `branch(Function<Traverser<E>, M>)` overload.
       It exists as Java `GraphTraversal` sugar but is not in the grammar
       (`traversalMethod_branch` has only the `nestedTraversal` form).
    
    2. call() — replaced the no-arg `call()` overload with `call(service:
       STRING)`. The grammar requires a `stringLiteral` argument; the no-arg
       form is Java sugar. The Considerations prose that mentions the
       directory-service feature already covers the explicit `call("--list")`
       invocation, so no spec content is lost.
    
    Conventions for parameter types:
      - Primitives use GType uppercase: `STRING`, `INT`, `LONG`, `BIGINT`,
        `BIGDECIMAL`, `DATETIME`, `FLOAT`, `DOUBLE`, `BOOLEAN`, `BYTE`,
        `SHORT`, `NUMBER`.
      - TinkerPop concept types stay PascalCase: `Traversal`, `Traverser`,
        `Scope`, `Pop`, `Pick`, `T`, `P`, `DT`, `Direction`, `GType`,
        `Cardinality`, `Merge`.
      - `Object` parameter type becomes `any`, matching the existing
        Domain/Range cell convention.
      - Varargs use `TYPE...` (trailing ellipsis).
      - `Traversal` generics carry information when known. Specific:
        `Traversal<VERTEX, EDGE>`. Unknown start, known end:
        `Traversal<any, STRING>`. Both unknown: just `Traversal` (no
        generics). Explicit `<?, ?>` in source becomes `<any, any>`.
      - `Function`, `Comparator`, `Predicate`, and other Java functional
        interfaces are not part of the grammar and are dropped.
    
    Updated `.skills/tinker-doc/references/books-and-voice.md` to reflect the
    new Syntax-line conventions and the rule that the ANTLR grammar is the
    source of truth for step overloads. Method-level overloads that exist as
    Java `GraphTraversal` sugar but are not present in the grammar should not
    be documented in the semantics doc.
    
    Assisted-by: Kiro:claude-opus-4-7
---
 .skills/tinker-doc/references/books-and-voice.md |   8 ++
 docs/src/dev/provider/gremlin-semantics.asciidoc | 102 +++++++++++------------
 2 files changed, 59 insertions(+), 51 deletions(-)

diff --git a/.skills/tinker-doc/references/books-and-voice.md 
b/.skills/tinker-doc/references/books-and-voice.md
index 968883c033..04c903e6ae 100644
--- a/.skills/tinker-doc/references/books-and-voice.md
+++ b/.skills/tinker-doc/references/books-and-voice.md
@@ -264,6 +264,14 @@ fills in the same labeled fields, in order:
 - `*Description:*` — one or two sentences on what the step does.
 - `*Syntax:*` — each overload as a backticked signature, multiple overloads
   separated by `|` (for example `` `asString()` | `asString(Scope scope)` ``).
+  Use TypeScript-style `name: TYPE` parameter form with GType names for
+  primitives (`STRING`, `INT`, `BOOLEAN`, etc.), `any` for unconstrained
+  values, and PascalCase for TinkerPop concept types (`Traversal`,
+  `Traverser`, `Scope`, `P`, `T`, `GType`, etc.). Varargs use the trailing
+  ellipsis form (`STRING...`). Document only the overloads that appear in
+  the ANTLR grammar (`gremlin-language/src/main/antlr4/Gremlin.g4`); do
+  not document method-level overloads that exist only as Java
+  `GraphTraversal` sugar.
 - A `[width="100%",options="header"]` table with the columns
   `Start Step | Mid Step | Modulated | Domain | Range`.
 - `*Arguments:*` — one bullet per argument. (A genuine enumeration, so a list 
is
diff --git a/docs/src/dev/provider/gremlin-semantics.asciidoc 
b/docs/src/dev/provider/gremlin-semantics.asciidoc
index e89058e58c..401d90cdf5 100644
--- a/docs/src/dev/provider/gremlin-semantics.asciidoc
+++ b/docs/src/dev/provider/gremlin-semantics.asciidoc
@@ -509,7 +509,7 @@ pattern from a neighboring entry rather than introducing a 
new structure.
 
 *Description:* Adds an edge to the graph.
 
-*Syntax:* `addE(String edgeLabel)` | `addE(Traversal<?, String> 
edgeLabelTraversal)`
+*Syntax:* `addE(edgeLabel: STRING)` | `addE(edgeLabelTraversal: Traversal<any, 
STRING>)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -552,7 +552,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#addedge-step[reference]
 
 *Description:* Adds a vertex to the graph.
 
-*Syntax:* `addV()` | `addV(String vertexLabel)` | `addV(Traversal<?, String> 
vertexLabelTraversal)`
+*Syntax:* `addV()` | `addV(vertexLabel: STRING)` | `addV(vertexLabelTraversal: 
Traversal<any, STRING>)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -587,7 +587,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#addvertex-step[reference
 
 *Description:* Filters list data from the traversal stream if all of the 
list's items match the supplied predicate.
 
-*Syntax:* `all(P predicate)`
+*Syntax:* `all(predicate: P)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -620,7 +620,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#all-step[reference]
 
 *Description:* Collects all objects in the traversal into a collection.
 
-*Syntax:* `aggregate(String sideEffectKey)`
+*Syntax:* `aggregate(sideEffectKey: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -653,7 +653,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#aggregate-step[reference
 
 *Description:* Ensures that all provided traversals yield a result.
 
-*Syntax:* `and(Traversal<?, ?>... andTraversals)`
+*Syntax:* `and(andTraversals: Traversal<any, any>...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -686,7 +686,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#and-step[reference]
 
 *Description:* Filters list data from the Traversal Stream if any of the 
list's items match the supplied predicate.
 
-*Syntax:* `any(P predicate)`
+*Syntax:* `any(predicate: P)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -719,7 +719,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#any-step[reference]
 
 *Description:* Labels a step for later access by steps that make use of such 
labels.
 
-*Syntax:* `as(String stepLabel, String... stepLabels)`
+*Syntax:* `as(stepLabel: STRING, stepLabels: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -818,7 +818,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asDate-step[reference]
 
 *Description:* converts the incoming traverser to the nearest parsable type if 
no argument is provided, or to the desired numerical type, based on the number 
token (`N`) provided.
 
-*Syntax:* `asNumber()` | `asNumber(GType typeToken)`
+*Syntax:* `asNumber()` | `asNumber(typeToken: GType)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -854,7 +854,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asNumber-step[reference]
 *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)`
+*Syntax:* `asString()` | `asString(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -890,7 +890,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#asString-step[reference]
 
 *Description:* Turns the lazy traversal pipeline into a bulk-synchronous 
pipeline.
 
-*Syntax:* `barrier()` | `barrier(int maxBarrierSize)`
+*Syntax:* `barrier()` | `barrier(maxBarrierSize: INT)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -925,7 +925,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#barrier-step[reference]
 
 *Description:* Maps a vertex to its adjacent vertices given the edge labels.
 
-*Syntax:* `both(String... edgeLabels)`
+*Syntax:* `both(edgeLabels: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -958,7 +958,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#vertex-steps[reference]
 
 *Description:* Maps a vertex to its incident edges given the edge labels.
 
-*Syntax:* `bothE(String... edgeLabels)`
+*Syntax:* `bothE(edgeLabels: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1024,7 +1024,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#vertex-steps[reference]
 
 *Description:* Splits the traverser to all the specified traversals.
 
-*Syntax:* `branch(Traversal<?, M> branchTraversal)` | 
`branch(Function<Traverser<E>, M> function)`
+*Syntax:* `branch(branchTraversal: Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1059,7 +1059,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#branch-step[reference]
 
 *Description:* Iterates the traversal up to itself and emits the sideEffect 
referenced by the provided key.
 
-*Syntax:* `cap(String sideEffectKey, String... sideEffectKeys)`
+*Syntax:* `cap(sideEffectKey: STRING, sideEffectKeys: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1093,7 +1093,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#cap-step[reference]
 
 *Description:* Provides support for provider-specific service calls.
 
-*Syntax:* `call()` | `call(String service, Map params)` | `call(String 
service, Traversal childTraversal)` | `call(String service, Map params, 
Traversal childTraversal)`
+*Syntax:* `call(service: STRING)` | `call(service: STRING, params: MAP)` | 
`call(service: STRING, childTraversal: Traversal)` | `call(service: STRING, 
params: MAP, childTraversal: Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1178,7 +1178,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#call-step[reference]
 
 *Description:* A branch step that routes the traverser to different paths 
based on a choice criterion.
 
-*Syntax:* `choose(Traversal|T choice)` | `choose(Traversal|P choice, Traversal 
trueChoice)` |`choose(Traversal|P choice, Traversal trueChoice, Traversal 
falseChoice)`
+*Syntax:* `choose(choice: Traversal | T)` | `choose(choice: Traversal | P, 
trueChoice: Traversal)` | `choose(choice: Traversal | P, trueChoice: Traversal, 
falseChoice: Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1239,7 +1239,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#choose-step[reference]
 
 *Description:* Appends one list to the other and returns the result to the 
Traversal Stream.
 
-*Syntax:* `combine(Object values)`
+*Syntax:* `combine(values: any)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1275,7 +1275,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#merge-step[merge() refer
 
 *Description:* Filters traversers from the Traversal Stream based on a biased 
coin toss.
 
-*Syntax:* `coin(double probability)`
+*Syntax:* `coin(probability: NUMBER)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1308,7 +1308,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#coin-step[reference]
 
 *Description:* Concatenates the incoming String traverser with the input 
String arguments, and return the joined String.
 
-*Syntax:* `concat()` | `concat(String... concatStrings)` | `concat(Traversal 
concatTraversal, Traversal... otherConcatTraversals)`
+*Syntax:* `concat()` | `concat(concatStrings: STRING...)` | 
`concat(concatTraversal: Traversal<any, STRING>, otherConcatTraversals: 
Traversal<any, STRING>...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1346,7 +1346,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#concat-step[reference]
 
 *Description:* Increase value of input Date.
 
-*Syntax:* `dateAdd(DT dateToken, Integer value)`
+*Syntax:* `dateAdd(dateToken: DT, value: INT)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1380,7 +1380,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateAdd-step[reference]
 
 *Description:* Returns the difference between two Dates in epoch time.
 
-*Syntax:* `dateDiff(Date value)` | `dateDiff(Traversal dateTraversal)`
+*Syntax:* `dateDiff(value: DATETIME)` | `dateDiff(dateTraversal: 
Traversal<any, DATETIME>)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1414,7 +1414,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dateDiff-step[reference]
 
 *Description:* Removes repeatedly seen results from the Traversal Stream.
 
-*Syntax:* `dedup()` | `dedup(String... labels)` | `dedup(Scope scope, 
String... labels)`
+*Syntax:* `dedup()` | `dedup(labels: STRING...)` | `dedup(scope: Scope, 
labels: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1486,7 +1486,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#dedup-step[reference]
 
 *Description:* Adds the difference of two lists to the Traversal Stream. 
 
-*Syntax:* `difference(Object values)`
+*Syntax:* `difference(values: any)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1521,7 +1521,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#difference-step[referenc
 
 *Description:* Adds the disjunct set to the Traversal Stream.
 
-*Syntax:* `disjunct(Object values)`
+*Syntax:* `disjunct(values: any)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1591,7 +1591,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#element-step[reference]
 *Description:* Returns a string built by substituting variable references in a 
template with values from the
 incoming traverser.
 
-*Syntax:* `format(String formatString)`
+*Syntax:* `format(formatString: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1628,7 +1628,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#format-step[reference]
 
 *Description:* Groups objects in the traversal stream by a key and applies a 
reducing operation to the grouped values.
 
-*Syntax:* `group()` | `group(String sideEffectKey)`
+*Syntax:* `group()` | `group(sideEffectKey: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1670,7 +1670,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#group-step[reference]
 *Description:* Counts the number of times a particular object has been part of 
a traversal, returning a `MAP` where the
 object is the key and the value is the count.
 
-*Syntax:* `groupCount()` | `groupCount(String sideEffectKey)`
+*Syntax:* `groupCount()` | `groupCount(sideEffectKey: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1709,7 +1709,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#groupcount-step[referenc
 *Description:* Returns the length of the incoming string or list, if 
`Scope.local` is specified, returns
 the length of each string element inside incoming list traverser.
 
-*Syntax:* `length()` | `length(Scope scope)`
+*Syntax:* `length()` | `length(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1744,7 +1744,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#length-step[reference]
 
 *Description:* Executes the provided traversal in an object-local manner.
 
-*Syntax:* `local(Traversal localTraversal)`
+*Syntax:* `local(localTraversal: Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1778,7 +1778,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#local-step[reference]
 
 *Description:* Adds the intersection to the Traversal Stream.
 
-*Syntax:* `intersect(Object values)`
+*Syntax:* `intersect(values: any)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1813,7 +1813,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#intersect-step[reference
 
 *Description:* Joins every element in a list together into a String. 
 
-*Syntax:* `conjoin(String delimiter)`
+*Syntax:* `conjoin(delimiter: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1848,7 +1848,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#conjoin-step[reference]
 
 *Description:* Returns a string with leading whitespace removed.
 
-*Syntax:* `lTrim()` | `lTrim(Scope scope)`
+*Syntax:* `lTrim()` | `lTrim(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1889,8 +1889,8 @@ bound parameters to the query; how (and whether) these 
are used is left to the p
 
 *Syntax:*
 
-* `match(String matchQuery)` +
-* `match(String matchQuery, Map<String, Object> params)`
+* `match(matchQuery: STRING)` +
+* `match(matchQuery: STRING, params: MAP<STRING, any>)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1936,7 +1936,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#match-step[reference]
 
 *Description:* Adds the union of two sets (or two maps) to the Traversal 
Stream.
 
-*Syntax:* `merge(Object values)`
+*Syntax:* `merge(values: any)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -1972,7 +1972,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#merge-step[reference]
 
 *Description:* Provides upsert-like functionality for edges.
 
-*Syntax:* `mergeE()` | `mergeE(Map searchCreate)` | `mergeE(Traversal 
searchCreate)`
+*Syntax:* `mergeE()` | `mergeE(searchCreate: MAP)` | `mergeE(searchCreate: 
Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2052,7 +2052,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#mergee-step[reference]
 
 *Description:* Provides upsert-like functionality for vertices.
 
-*Syntax:* `mergeV()` | `mergeV(Map searchCreate)` | `mergeV(Traversal 
searchCreate)`
+*Syntax:* `mergeV()` | `mergeV(searchCreate: MAP)` | `mergeV(searchCreate: 
Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2118,7 +2118,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#mergev-step[reference]
 
 *Description:* Filters list data from the traversal stream if none of the 
list's items match the supplied predicate.
 
-*Syntax:* `none(P predicate)`
+*Syntax:* `none(predicate: P)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2151,7 +2151,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#none-step[reference]
 
 *Description:* Adds the cartesian product to the Traversal Stream.
 
-*Syntax:* `product(Object values)`
+*Syntax:* `product(values: any)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2185,7 +2185,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#product-step[reference]
 
 *Description:* Projects the current object in the stream into a `MAP` that is 
keyed by the provided labels.
 
-*Syntax:* `project(String projectKey, String... otherProjectKeys)`
+*Syntax:* `project(projectKey: STRING, otherProjectKeys: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2224,7 +2224,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#project-step[reference]
 condition is met. Optionally, it can emit traversers on each iteration 
according to an emit predicate. The
 repeat step supports loop naming and a loop counter via `loops()`.
 
-*Syntax:* `repeat(Traversal repeatTraversal)` | `repeat(String loopName, 
Traversal repeatTraversal)`
+*Syntax:* `repeat(repeatTraversal: Traversal)` | `repeat(loopName: STRING, 
repeatTraversal: Traversal)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2297,7 +2297,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#repeat-step[reference]
 
 *Description:* Returns a string with the specified characters in the original 
string replaced with the new characters.
 
-*Syntax:* `replace(String oldChar, String newChar)` | `replace(Scope scope, 
String oldChar, String newChar)`
+*Syntax:* `replace(oldChar: STRING, newChar: STRING)` | `replace(scope: Scope, 
oldChar: STRING, newChar: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2370,7 +2370,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#reverse-step[reference]
 
 *Description:* Returns a string with trailing whitespace removed.
 
-*Syntax:* `rTrim()` | `rTrim(Scope scope)`
+*Syntax:* `rTrim()` | `rTrim(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2405,7 +2405,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#rTrim-step[reference]
 
 *Description:* Returns a list of strings created by splitting the incoming 
string traverser around the matches of the given separator.
 
-*Syntax:* `split(String separator)` | `split(Scope scope, String separator)`
+*Syntax:* `split(separator: STRING)` | `split(scope: Scope, separator: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2442,7 +2442,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#split-step[reference]
 
 *Description:* Extracts an edge-induced subgraph from the current graph based 
on the edges encountered during traversal.
 
-*Syntax:* `subgraph(String sideEffectKey)`
+*Syntax:* `subgraph(sideEffectKey: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2476,7 +2476,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#subgraph-step[reference]
 
 *Description:* Returns a substring of the incoming string traverser with a 
0-based start index (inclusive) and end index (exclusive).
 
-*Syntax:* `substring(int startIndex, int endIndex)` | `substring(Scope scope, 
int startIndex, int endIndex)`
+*Syntax:* `substring(startIndex: INT, endIndex: INT)` | `substring(scope: 
Scope, startIndex: INT, endIndex: INT)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2516,7 +2516,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#substring-step[reference
 *Description:* Returns the lowercase representation of incoming string 
traverser, or if `Scope.local` is specified, returns
 the lowercase representation of each string elements inside incoming list 
traverser.
 
-*Syntax:* `toLower()` | `toLower(Scope scope)`
+*Syntax:* `toLower()` | `toLower(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2552,7 +2552,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#toLower-step[reference]
 *Description:* Returns the uppercase representation of incoming string 
traverser, or if `Scope.local` is specified, returns
 the uppercase representation of each string elements inside incoming list 
traverser.
 
-*Syntax:* `toUpper()` | `toUpper(Scope scope)`
+*Syntax:* `toUpper()` | `toUpper(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2587,7 +2587,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#toUpper-step[reference]
 
 *Description:* Aggregates the paths of the traversal into a tree data 
structure.
 
-*Syntax:* `tree()` | `tree(String sideEffectKey)`
+*Syntax:* `tree()` | `tree(sideEffectKey: STRING)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2629,7 +2629,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#tree-step[reference]
 
 *Description:* Returns a string with leading and trailing whitespace removed.
 
-*Syntax:* `trim()` | `trim(Scope scope)`
+*Syntax:* `trim()` | `trim(scope: Scope)`
 
 [width="100%",options="header"]
 |=========================================================
@@ -2664,7 +2664,7 @@ 
link:https://tinkerpop.apache.org/docs/x.y.z/reference/#trim-step[reference]
 
 *Description:* Converts elements to a map representation of their properties.
 
-*Syntax:* `valueMap(String... propertyKeys)` | `valueMap(boolean 
includeTokens, String... propertyKeys)`
+*Syntax:* `valueMap(propertyKeys: STRING...)` | `valueMap(includeTokens: 
BOOLEAN, propertyKeys: STRING...)`
 
 [width="100%",options="header"]
 |=========================================================

Reply via email to