3183 {
3184 if (g.token_list_.size() >=
stride_)
3185 {
3186 for (std::size_t i = 0; i < (g.token_list_.size() -
stride_ + 1); ++i)
3187 {
3188 token t;
3189
3191 {
3192 case 1 :
3193 {
3194 const token& t0 = g.token_list_[i];
3195
3196 if (!operator()(t0))
3197 {
3198 return 0;
3199 }
3200 }
3201 break;
3202
3203 case 2 :
3204 {
3205 const token& t0 = g.token_list_[i ];
3206 const token& t1 = g.token_list_[i + 1];
3207
3208 if (!operator()(t0, t1))
3209 {
3210 return 0;
3211 }
3212 }
3213 break;
3214
3215 case 3 :
3216 {
3217 const token& t0 = g.token_list_[i ];
3218 const token& t1 = g.token_list_[i + 1];
3219 const token& t2 = g.token_list_[i + 2];
3220
3221 if (!operator()(t0, t1, t2))
3222 {
3223 return 0;
3224 }
3225 }
3226 break;
3227
3228 case 4 :
3229 {
3230 const token& t0 = g.token_list_[i ];
3231 const token& t1 = g.token_list_[i + 1];
3232 const token& t2 = g.token_list_[i + 2];
3233 const token& t3 = g.token_list_[i + 3];
3234
3235 if (!operator()(t0, t1, t2, t3))
3236 {
3237 return 0;
3238 }
3239 }
3240 break;
3241
3242 default: continue;
3243 }
3244 }
3245 }
3246
3247 return 0;
3248 }