Class ModelTranslator.Result

    • Constructor Detail

      • Result

        private Result​(ModelTranslator translator)
        Creates a result instance representing the parse result for multiple projects and enables deferred loading.
        Parameters:
        translator - the model translator instance
    • Method Detail

      • add

        private void add​(ResultEntry entry)
        Adds a partially completed xText project and an IVML project in terms of an entry.
        Parameters:
        entry - the entry to be added
      • createTranslationResult

        public TranslationResult<Project> createTranslationResult()
        Creates the translation result.
        Returns:
        the translation result
      • getTranslator

        ModelTranslator getTranslator()
        Returns the translator instance.
        Returns:
        the translator instance