Searched refs:tryConsume (Results 1 – 2 of 2) sorted by relevance
102 p.tryConsume(tokNewLine)162 func (p *parser) tryConsume(tok token) bool { func237 if p.tryConsume(tokColon) {239 for p.tryConsume(tokComma) {258 if p.tryConsume(tokLBrack) {260 for p.tryConsume(tokComma) {295 p.tryConsume(tokComma)327 for p.tryConsume(tokComma) {339 for p.tryConsume(tokComma) {368 if p.tryConsume(closing) {[all …]
727 public boolean tryConsume(final String token) { in tryConsume() method in TextFormat.Tokenizer741 if (!tryConsume(token)) { in consume()1422 if (tokenizer.tryConsume("[")) { in mergeField()1426 while (tokenizer.tryConsume(".")) { in mergeField()1497 if (tokenizer.tryConsume(":") in mergeField()1509 tokenizer.tryConsume(":"); // optional in mergeField()1532 if (!tokenizer.tryConsume(";")) { in mergeField()1533 tokenizer.tryConsume(","); in mergeField()1551 if (field.isRepeated() && tokenizer.tryConsume("[")) { in consumeFieldValues()1555 if (tokenizer.tryConsume("]")) { in consumeFieldValues()[all …]