Lines Matching refs:parseToken
91 if (parser.parseToken(Token::integer, "expected integer value")) in parseOptionalInteger()
107 return parser.parseToken(Token::arrow, "expected '->'"); in parseArrow()
117 return parser.parseToken(Token::l_brace, "expected '{'"); in parseLBrace()
127 return parser.parseToken(Token::r_brace, "expected '}'"); in parseRBrace()
137 return parser.parseToken(Token::colon, "expected ':'"); in parseColon()
147 return parser.parseToken(Token::comma, "expected ','"); in parseComma()
162 return parser.parseToken(Token::equal, "expected '='"); in parseEqual()
172 return parser.parseToken(Token::less, "expected '<'"); in parseLess()
182 return parser.parseToken(Token::greater, "expected '>'"); in parseGreater()
192 return parser.parseToken(Token::l_paren, "expected '('"); in parseLParen()
202 return parser.parseToken(Token::r_paren, "expected ')'"); in parseRParen()
212 return parser.parseToken(Token::l_square, "expected '['"); in parseLSquare()
222 return parser.parseToken(Token::r_square, "expected ']'"); in parseRSquare()
432 if (p.parseToken(Token::less, "expected '<' in dialect type")) in parseExtendedSymbol()
444 if (p.parseToken(Token::greater, "expected '>' in dialect symbol")) in parseExtendedSymbol()