Searched refs:TryConsume (Results 1 – 7 of 7) sorted by relevance
321 inline bool Tokenizer::TryConsume(char c) { in TryConsume() function in google::protobuf::io::Tokenizer377 } else if (TryConsume('x') || TryConsume('X')) { in ConsumeString()382 } else if (TryConsume('u')) { in ConsumeString()389 } else if (TryConsume('U')) { in ConsumeString()392 if (!TryConsume('0') || in ConsumeString()393 !TryConsume('0') || in ConsumeString()394 !(TryConsume('0') || TryConsume('1')) || in ConsumeString()425 if (started_with_zero && (TryConsume('x') || TryConsume('X'))) { in ConsumeNumber()445 if (TryConsume('.')) { in ConsumeNumber()451 if (TryConsume('e') || TryConsume('E')) { in ConsumeNumber()[all …]
371 inline bool TryConsume(char c);
122 bool Parser::TryConsume(const char* text) { in TryConsume() function in google::protobuf::compiler::Parser132 if (TryConsume(text)) { in Consume()141 if (TryConsume(text)) { in Consume()180 if (TryConsume("-")) { in ConsumeSignedInteger()388 } else if (TryConsume("{")) { in SkipStatement()406 } else if (TryConsume("{")) { in SkipRestOfBlock()807 } while (TryConsume(",")); in ParseFieldOptions()861 if (TryConsume("-")) { in ParseDefaultAssignment()886 if (TryConsume("-")) { in ParseDefaultAssignment()901 if (TryConsume("-")) { in ParseDefaultAssignment()[all …]
153 bool TryConsume(const char* text);
349 if (TryConsume("[")) { in ConsumeField()352 while (TryConsume(".")) { in ConsumeField()434 if (TryConsume(":") && !LookingAt("{") && !LookingAt("<")) { in ConsumeField()464 TryConsume(":"); in ConsumeField()470 if (field->is_repeated() && TryConsume("[")) { in ConsumeField()479 if (TryConsume("]")) { in ConsumeField()492 TryConsume(";") || TryConsume(","); in ConsumeField()512 if (TryConsume("[")) { in SkipField()515 while (TryConsume(".")) { in SkipField()532 if (TryConsume(":") && !LookingAt("{") && !LookingAt("<")) { in SkipField()[all …]
316 if tokenizer.TryConsume('['):318 while tokenizer.TryConsume('.'):359 tokenizer.TryConsume(':')361 if tokenizer.TryConsume('<'):379 while not tokenizer.TryConsume(end_token):388 if not tokenizer.TryConsume(','):389 tokenizer.TryConsume(';')520 def TryConsume(self, token): member in _Tokenizer543 if not self.TryConsume(token):
172 if tokenizer.TryConsume('['):174 while tokenizer.TryConsume('.'):213 tokenizer.TryConsume(':')215 if tokenizer.TryConsume('<'):233 while not tokenizer.TryConsume(end_token):354 def TryConsume(self, token): member in _Tokenizer377 if not self.TryConsume(token):