MCPcopy Create free account
hub / github.com/SWI-Prolog/packages-jpl / report_all_flags

Method report_all_flags

src/examples/java/system/Init.java:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62 public static void report_all_flags() {
63 System.out.println("REPORTING ALL FLAGS: \n");
64
65 Query q = new Query("current_prolog_flag(X, Y)");
66 while (q.hasMoreSolutions()) {
67 Map<String,Term> sol = q.nextSolution();
68 System.out.println(String.format("\t Value of %s: %s", sol.get("X").toString(), sol.get(("Y"))));
69 }
70 }
71
72
73 public static void report_versions() {

Callers 1

mainMethod · 0.95

Calls 3

hasMoreSolutionsMethod · 0.95
nextSolutionMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected