Lines Matching refs:found
174 # We found regex in lines
196 # We found a regex in line.
312 found = FindFirst(lines, TOKEN_TABLE, pos)
313 if not found:
317 if found.start == pos:
321 prev_token = MakeToken(lines, pos, found.start, 'code')
324 if found.token_type == '$var':
327 yield found
328 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
340 elif found.token_type == '$for':
343 yield found
344 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
347 elif found.token_type == '$range':
350 yield found
351 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
362 elif found.token_type == '$':
365 yield found
366 exp_token = ParseExpTokenInParens(lines, found.end)
369 elif (found.token_type == ']]' or found.token_type == '$if' or
370 found.token_type == '$elif' or found.token_type == '$else'):
373 yield found
374 pos = found.end
378 yield found
379 pos = found.end
457 print 'ERROR: %s found instead' % (token,)