Interface Translator<S,​T>

    • Method Detail

      • translate

        T translate​(Bytecode bytecode)
        Translate Bytecode into a new representation. Typically, for language translations, the translation is to a string representing the traversal in the respective scripting language.
        Parameters:
        bytecode - the bytecode representing traversal source and traversal manipulations.
        Returns:
        the translated object
      • translate

        default T translate​(Traversal<?,​?> t)
        Translates a Traversal into the specified form
      • getTargetLanguage

        String getTargetLanguage()
        Get the language that the translator is converting the traversal byte code to.
        Returns:
        the language of the translation