MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / parseError

Method parseError

src/main/java/wycc/util/testing/TestFile.java:363–369  ·  view source on GitHub ↗
(String line)

Source from the content-addressed store, hash-verified

361 }
362
363 private static Error parseError(String line) {
364 String[] split = line.split(" ");
365 int errno = Integer.parseInt(split[0].substring(1));
366 Trie filename = Trie.fromString(split[1]);
367 Coordinate coord = parseCoordinate(split[2]);
368 return new Error(errno,filename,coord);
369 }
370
371 private static Coordinate parseCoordinate(String line) {
372 String[] split = line.split(",");

Callers 1

parseFrameMethod · 0.95

Calls 2

fromStringMethod · 0.95
parseCoordinateMethod · 0.95

Tested by

no test coverage detected