Home
last modified time | relevance | path

Searched refs:peek_is (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.cc317 bool ParserImpl::peek_is(Token::Type tok, size_t idx) { in peek_is() function in tint::reader::wgsl::ParserImpl
903 if (allow_inferred && !peek_is(Token::Type::kColon)) { in expect_variable_ident_decl()
945 if (!peek_is(Token::Type::kLessThan)) { in variable_qualifier()
977 if (!peek_is(Token::Type::kType)) in type_alias()
1295 while (continue_parsing() && !peek_is(Token::Type::kBraceRight) && in expect_struct_body_decl()
1296 !peek_is(Token::Type::kEOF)) { in expect_struct_body_decl()
1635 if (peek_is(Token::Type::kBraceLeft)) { in statement()
1711 if (peek_is(Token::Type::kSemicolon)) in return_stmt()
1895 if (!peek_is(Token::Type::kCase) && !peek_is(Token::Type::kDefault)) in switch_body()
2201 if (peek_is(Token::Type::kParenLeft)) { in primary_expression()
[all …]
Dparser_impl.h352 bool peek_is(Token::Type tok, size_t idx = 0);