Searched refs:tryConsume (Results 1 – 3 of 3) sorted by relevance
851 public boolean tryConsume(final String token) { in tryConsume() method in TextFormat.Tokenizer865 if (!tryConsume(token)) { in consume()1620 if (tokenizer.tryConsume("[")) { in mergeField()1623 while (tokenizer.tryConsume(".")) { in mergeField()1698 if (tokenizer.tryConsume(":") && !tokenizer.lookingAt("{") && !tokenizer.lookingAt("<")) { in mergeField()1708 tokenizer.tryConsume(":"); // optional in mergeField()1748 if (!tokenizer.tryConsume(";")) { in mergeField()1749 tokenizer.tryConsume(","); in mergeField()1767 if (field.isRepeated() && tokenizer.tryConsume("[")) { in consumeFieldValues()1768 if (!tokenizer.tryConsume("]")) { // Allow "foo: []" to be treated as empty. in consumeFieldValues()[all …]
37 boolean tryConsume(String expected) { in tryConsume() method in CharStream
142 } else if (input.tryConsume(" ") || input.tryConsume("\t")) { in consumeToken()164 } else if (input.tryConsume("{")) { in consumeToken()167 } else if (input.tryConsume("}")) { in consumeToken()