StatictranslateTranslates a Gremlin query string. Defaults to JavaScript output.
The Gremlin traversal string to translate.
OptionalgraphTraversalSourceName: stringName of the traversal source variable (default: 'g').
OptionaltranslatorOrVisitor: A TranslatorKey (e.g. 'JAVASCRIPT'), a custom TranslateVisitor instance, or omit for the default JavaScript translator.
Translates a Gremlin string into a source code representation using ANTLR. Mirrors the Java GremlinTranslator with SLL → LL fallback parsing.