Cursor cursor = source.createCursor();
try {
while (cursor.next()) {
URI name = cursor.getIdentifier();
LOG.info(Messages.getString("AnalyzeTask.monitorParseStarting"), name); //$NON-NLS-1$
Reader resource = cursor.openResource();
try {
AstScript script = parser.parse(resource, name);
for (AstModelDefinition<?> model : script.models) {
LOG.debug(Messages.getString("AnalyzeTask.monitorFoundModel"), model.name); //$NON-NLS-1$
analyzer.addModel(model);