Home
last modified time | relevance | path

Searched refs:kSemicolon (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.cc355 if (match(Token::Type::kSemicolon) || match(Token::Type::kEOF)) in expect_global_decl()
366 auto decl = sync(Token::Type::kSemicolon, [&]() -> Maybe<bool> { in expect_global_decl()
371 if (!expect("variable declaration", Token::Type::kSemicolon)) in expect_global_decl()
383 if (!expect("let declaration", Token::Type::kSemicolon)) in expect_global_decl()
395 if (!expect("type alias", Token::Type::kSemicolon)) in expect_global_decl()
407 if (!expect("struct declaration", Token::Type::kSemicolon)) in expect_global_decl()
1297 auto member = sync(Token::Type::kSemicolon, in expect_struct_body_decl()
1331 if (!expect("struct member", Token::Type::kSemicolon)) in expect_struct_member()
1598 while (match(Token::Type::kSemicolon)) { in statement()
1604 sync(Token::Type::kSemicolon, [&] { return non_block_statement(); }); in statement()
[all …]
Dtoken.h112 kSemicolon, enumerator
Dtoken.cc103 case Token::Type::kSemicolon: in TypeToName()
Dlexer_test.cc586 TokenData{";", Token::Type::kSemicolon},
Dlexer.cc894 type = Token::Type::kSemicolon; in try_punctuation()