Package viindex :: Module displayer :: Class Search_within_lines
[show private | hide private]
[frames | no frames]

Class Search_within_lines


class that will treat the result of a Indexer.find(). This one will return all the files that have all the keywords in a specific range of lines.
Method Summary
  __init__(self, lines)
__init__([line=<ranges of lines in for wich all the keywords must match in case of +, or not match in case of -
  add(self, list, type)
add(<dictionary with fileid as key and list of lines as element>,<type of the search:+ or -.>) With + the keyword MUST be present in the range of lines.
  get_result(self)
get_result() return a dictionary with fileid as keys and lines as element

Method Details

__init__(self, lines=5)
(Constructor)

__init__([line=<ranges of lines in for wich all the keywords must match in case of +, or not match in case of -

add(self, list, type)

add(<dictionary with fileid as key and list of lines as element>,<type of the search:+ or -.>) With + the keyword MUST be present in the range of lines. With - the keyword MUST NOT BE present in the range of lines.

get_result(self)

get_result() return a dictionary with fileid as keys and lines as element

Generated by Epydoc 1.1 on Wed Aug 27 15:42:18 2003 http://epydoc.sf.net