Home
last modified time | relevance | path

Searched refs:ExpectToken (Results 1 - 4 of 4) sorted by relevance

/third_party/ninja/src/
H A Dmanifest_parser.cc103 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 Ddyndep_parser.cc99 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 Dparser.h36 bool ExpectToken(Lexer::Token expected, std::string* err);
H A Dparser.cc40 bool Parser::ExpectToken(Lexer::Token expected, string* err) { in ExpectToken() function in Parser

Completed in 2 milliseconds