Class TranslationResult

    • Field Detail

      • SOURCE_LOCATIONS_TO_FRONTEND

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

    • Method Detail

      • isCancelled

        public boolean isCancelled()
      • getTranslationUnits

        public java.util.List<TranslationUnitDeclaration> getTranslationUnits()
        List of translation units.
        Returns:
        the list of translation units
      • 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:
        the scratch storage