public static List<Pair<String, Integer>> splitDecls(String s, int separatorChar) {
		List<Pair<String, Integer>> args = new ArrayList<Pair<String, Integer>>();
		_splitArgumentList(s, 0, -1, separatorChar, args);
		return args;
	}
Given an argument list like
<p>
x, (*a).foo(21,33), 3.2+1, '\n',
"a,oo\nick", {bl, "fdkj"eck}, ["cat\n,", x, 43]
<p>
convert to a list of attributes.  Allow nested square brackets etc...
Set separatorChar to ';' or ',' or whatever you want.
tool/src/org/antlr/v4/parse/ScopeParser.java