3129 {
3130 if (g.token_list_.size() >=
stride_)
3131 {
3132 for (std::size_t i = 0; i < (g.token_list_.size() -
stride_ + 1); ++i)
3133 {
3134 token t;
3135
3137 {
3138 case 1 :
3139 {
3140 const token& t0 = g.token_list_[i];
3141
3142 if (!operator()(t0))
3143 {
3144 return i;
3145 }
3146 }
3147 break;
3148
3149 case 2 :
3150 {
3151 const token& t0 = g.token_list_[i ];
3152 const token& t1 = g.token_list_[i + 1];
3153
3154 if (!operator()(t0, t1))
3155 {
3156 return i;
3157 }
3158 }
3159 break;
3160
3161 case 3 :
3162 {
3163 const token& t0 = g.token_list_[i ];
3164 const token& t1 = g.token_list_[i + 1];
3165 const token& t2 = g.token_list_[i + 2];
3166
3167 if (!operator()(t0, t1, t2))
3168 {
3169 return i;
3170 }
3171 }
3172 break;
3173
3174 case 4 :
3175 {
3176 const token& t0 = g.token_list_[i ];
3177 const token& t1 = g.token_list_[i + 1];
3178 const token& t2 = g.token_list_[i + 2];
3179 const token& t3 = g.token_list_[i + 3];
3180
3181 if (!operator()(t0, t1, t2, t3))
3182 {
3183 return i;
3184 }
3185 }
3186 break;
3187 }
3188 }
3189 }
3190
3191 return (g.token_list_.size() -
stride_ + 1);
3192 }