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