equal
deleted
inserted
replaced
194 val context_session = sessions_structure.theory_qualifier(context_name) |
194 val context_session = sessions_structure.theory_qualifier(context_name) |
195 val context_dir = |
195 val context_dir = |
196 try { Some(context_name.master_dir_path) } |
196 try { Some(context_name.master_dir_path) } |
197 catch { case ERROR(_) => None } |
197 catch { case ERROR(_) => None } |
198 (for { |
198 (for { |
199 (session, (info, _)) <- sessions_structure.imports_graph.iterator |
199 (session, (info, _)) <- sessions_structure.imports_graph.iterator |
200 dir <- (if (session == context_session) context_dir.toList else info.dirs).iterator |
200 dir <- (if (session == context_session) context_dir.toList else info.dirs).iterator |
201 theory <- Thy_Header.list_thy_names(dir).iterator |
201 theory <- Thy_Header.list_thy_names(dir).iterator |
202 if Completion.completed(s)(theory) |
202 if Completion.completed(s)(theory) |
203 } yield { |
203 } yield { |
204 if (session == context_session || global_theory(theory)) theory |
204 if (session == context_session || global_theory(theory)) theory |