List<Couple<String>> () { final List<Couple<String>> result = new ArrayList<>(); while (true) { final Couple<String> attribute = parseAttribute(); if (attribute == null) { return result; } result.add(attribute); final ZenCodingToken token = getToken(); if (token != ZenCodingTokens.COMMA && token != ZenCodingTokens.SPACE) { return result; } advance(); } }