Lines Matching defs:isOneOf
622 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
626 bool isOneOf(A K1, B K2, Ts... Ks) const {
627 return is(K1) || isOneOf(K2, Ks...);
665 return isOneOf(tok::kw___attribute, tok::kw___declspec, TT_AttributeMacro);
673 return isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private);
686 return isOneOf(tok::kw_const, tok::kw_restrict, tok::kw_volatile,
711 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square,
721 return isOneOf(tok::r_paren, tok::r_brace, tok::r_square,
727 return isOneOf(tok::arrow, tok::period, tok::arrowstar) &&
728 !isOneOf(TT_DesignatedInitializerPeriod, TT_TrailingReturnArrow,
733 return isOneOf(tok::star, tok::amp, tok::ampamp);
791 return isOneOf(tok::kw_throw, tok::kw_typeid, tok::kw_return,
868 } while (T && T->isOneOf(tok::kw_const, tok::kw_volatile, tok::amp,
887 if (NamespaceTok && NamespaceTok->isOneOf(tok::kw_inline, tok::kw_export))
890 NamespaceTok->isOneOf(tok::kw_namespace, TT_NamespaceMacro)
1785 return Tok.isOneOf(kw_verilogHash, kw_verilogHashHash, kw_apostrophe);
1789 return Tok.isOneOf(kw_before, kw_intersect, kw_dist, kw_iff, kw_inside,
1845 return Tok.isOneOf(kw_begin_keywords, kw_celldefine,
1859 Tok.isOneOf(kw_begin, kw_fork, kw_generate, kw_specify);
1865 Tok.isOneOf(TT_MacroBlockEnd, kw_end, kw_endcase, kw_endclass,
1881 Prev->isOneOf(tok::kw_restrict, kw_assert, kw_assume, kw_cover));
1883 return Tok.isOneOf(tok::kw_case, tok::kw_class, kw_function, kw_module,
1895 !(Next && Next->isOneOf(tok::colon, tok::semi, kw_clocking, kw_iff,
1902 return Tok.isOneOf(kw_always, kw_always_comb, kw_always_ff, kw_always_latch,
1915 return Tok.isOneOf(
1928 return Tok.isOneOf(kw_def, kw_defm, kw_defset, kw_defvar, kw_multiclass,