Lines Matching refs:K1
291 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
292 return is(K1) || is(K2);
295 bool isOneOf(A K1, B K2, Ts... Ks) const {
296 return is(K1) || isOneOf(K2, Ks...);
303 bool startsSequence(A K1, Ts... Tokens) const {
304 return startsSequenceInternal(K1, Tokens...);
310 bool endsSequence(A K1, Ts... Tokens) const {
311 return endsSequenceInternal(K1, Tokens...);
448 bool startsSequenceInternal(A K1, Ts... Tokens) const {
450 return Next->startsSequenceInternal(K1, Tokens...);
451 return is(K1) && Next && Next->startsSequenceInternal(Tokens...);
455 bool startsSequenceInternal(A K1) const {
457 return Next->startsSequenceInternal(K1);
458 return is(K1);
462 bool endsSequenceInternal(A K1) const {
464 return Previous->endsSequenceInternal(K1);
465 return is(K1);
469 bool endsSequenceInternal(A K1, Ts... Tokens) const {
471 return Previous->endsSequenceInternal(K1, Tokens...);
472 return is(K1) && Previous && Previous->endsSequenceInternal(Tokens...);