Пример #1
0
 private synchronized void reparse() {
   output = parser.parseEditorContent(get(), file);
   for (final IRobotDocumentParsingListener listener : parseListeners) {
     listener.reparsingFinished(output);
   }
   hasNewestVersion.set(true);
 }
Пример #2
0
 private static RobotParser createParser(final RobotSuiteFile model) {
   final RobotProjectHolder holder =
       isNonFileModel(model)
           ? new RobotProjectHolder()
           : model.getProject().getRobotProjectHolder();
   final PathsProvider pathsProvider =
       isNonFileModel(model) ? null : model.getProject().createPathsProvider();
   return RobotParser.create(holder, RobotParserConfig.allImportsLazy(), pathsProvider);
 }