private synchronized void reparse() { output = parser.parseEditorContent(get(), file); for (final IRobotDocumentParsingListener listener : parseListeners) { listener.reparsingFinished(output); } hasNewestVersion.set(true); }
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); }