MCPcopy Create free account
hub / github.com/Julow/Unexpected-Keyboard / parse

Method parse

srcs/juloo.keyboard2/ExtraKeys.java:31–38  ·  view source on GitHub ↗
(String script, String str)

Source from the content-addressed store, hash-verified

29 }
30
31 public static ExtraKeys parse(String script, String str)
32 {
33 Collection<ExtraKey> dst = new ArrayList<ExtraKey>();
34 String[] ks = str.split("\\|");
35 for (int i = 0; i < ks.length; i++)
36 dst.add(ExtraKey.parse(ks[i], script));
37 return new ExtraKeys(dst);
38 }
39
40 /** Merge identical keys. This is required to decide whether to add
41 alternatives. Script is generalized (set to null) on any conflict. */

Callers 8

LocMethod · 0.95
parse_strings_fileFunction · 0.45
parse_dictionariesFunction · 0.45
read_layoutFunction · 0.45
parse_layoutFunction · 0.45
parse_rowFunction · 0.45
migrateMethod · 0.45

Calls 2

parseMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected