Searched refs:kSemicolon (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl.cc | 355 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 …]
|
D | token.h | 112 kSemicolon, enumerator
|
D | token.cc | 103 case Token::Type::kSemicolon: in TypeToName()
|
D | lexer_test.cc | 586 TokenData{";", Token::Type::kSemicolon},
|
D | lexer.cc | 894 type = Token::Type::kSemicolon; in try_punctuation()
|