true if there are at least types.length tokens following the
current one and they have types matching the corresponding elements of types.
true if there are at least types.length tokens following the
current one and they have types matching the corresponding elements of types.