Class TranslationResult


  • public class TranslationResult
    extends java.lang.Object
    The global (intermediate) result of the translation. A LanguageFrontend will initially populate it and a Pass can extend it.
    • Field Detail

      • SOURCEFILESTOFRONTEND

        public static final java.lang.String SOURCEFILESTOFRONTEND
        See Also:
        Constant Field Values
    • Constructor Detail

    • Method Detail

      • isCancelled

        public boolean isCancelled()
      • getScratch

        public java.util.Map<java.lang.String,​java.lang.Object> getScratch()
        Scratch storage that can be used by passes to store additional information in this result. Callers must ensure that keys are unique. It is recommended to prefix them with the class name of the Pass.
        Returns: