Decodes the text of a Gremlin string literal, as
org.apache.tinkerpop.gremlin.language.grammar.GenericLiteralVisitor.visitStringLiteral does: the s suffix
and the quotes are stripped and the escapes are read, including the octal and unicode forms. A backslash that
names no escape is dropped, which is what the JVM unescaper does with it.
Decodes the text of a Gremlin string literal, as org.apache.tinkerpop.gremlin.language.grammar.GenericLiteralVisitor.visitStringLiteral does: the
ssuffix and the quotes are stripped and the escapes are read, including the octal and unicode forms. A backslash that names no escape is dropped, which is what the JVM unescaper does with it.