Lines Matching defs:isOneOf
630 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
634 bool isOneOf(A K1, B K2, Ts... Ks) const {
635 return is(K1) || isOneOf(K2, Ks...);
673 return isOneOf(tok::kw___attribute, tok::kw___declspec, TT_AttributeMacro);
681 return isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private);
694 return isOneOf(tok::kw_const, tok::kw_restrict, tok::kw_volatile,
719 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square,
729 return isOneOf(tok::r_paren, tok::r_brace, tok::r_square,
735 return isOneOf(tok::arrow, tok::period, tok::arrowstar) &&
736 !isOneOf(TT_DesignatedInitializerPeriod, TT_TrailingReturnArrow,
741 return isOneOf(tok::star, tok::amp, tok::ampamp);
799 return isOneOf(tok::kw_throw, tok::kw_typeid, tok::kw_return,
876 } while (T && T->isOneOf(tok::kw_const, tok::kw_volatile, tok::amp,
895 if (NamespaceTok && NamespaceTok->isOneOf(tok::kw_inline, tok::kw_export))
898 NamespaceTok->isOneOf(tok::kw_namespace, TT_NamespaceMacro)
1793 return Tok.isOneOf(kw_verilogHash, kw_verilogHashHash, kw_apostrophe);
1797 return Tok.isOneOf(kw_before, kw_intersect, kw_dist, kw_iff, kw_inside,
1853 return Tok.isOneOf(kw_begin_keywords, kw_celldefine,
1867 Tok.isOneOf(kw_begin, kw_fork, kw_generate, kw_specify);
1873 Tok.isOneOf(TT_MacroBlockEnd, kw_end, kw_endcase, kw_endclass,
1889 Prev->isOneOf(tok::kw_restrict, kw_assert, kw_assume, kw_cover));
1891 return Tok.isOneOf(tok::kw_case, tok::kw_class, kw_function, kw_module,
1903 !(Next && Next->isOneOf(tok::colon, tok::semi, kw_clocking, kw_iff,
1910 return Tok.isOneOf(kw_always, kw_always_comb, kw_always_ff, kw_always_latch,
1923 return Tok.isOneOf(
1936 return Tok.isOneOf(kw_def, kw_defm, kw_defset, kw_defvar, kw_multiclass,