Searched refs:ExpectToken (Results 1 - 4 of 4) sorted by relevance
/third_party/ninja/src/ |
H A D | manifest_parser.cc | 103 if (!ExpectToken(Lexer::NEWLINE, err)) in ParsePool() 140 if (!ExpectToken(Lexer::NEWLINE, err)) in ParseRule() 179 if (!ExpectToken(Lexer::EQUALS, err)) in ParseLet() 208 return ExpectToken(Lexer::NEWLINE, err); in ParseDefault() 244 if (!ExpectToken(Lexer::COLON, err)) in ParseEdge() 305 if (!ExpectToken(Lexer::NEWLINE, err)) in ParseEdge() 443 if (!ExpectToken(Lexer::NEWLINE, err)) in ParseFileInclude()
|
H A D | dyndep_parser.cc | 99 if (!ExpectToken(Lexer::EQUALS, err)) in ParseLet() 155 if (!ExpectToken(Lexer::COLON, err)) in ParseEdge() 188 if (!ExpectToken(Lexer::NEWLINE, err)) in ParseEdge()
|
H A D | parser.h | 36 bool ExpectToken(Lexer::Token expected, std::string* err);
|
H A D | parser.cc | 40 bool Parser::ExpectToken(Lexer::Token expected, string* err) {
in ExpectToken() function in Parser
|
Completed in 3 milliseconds