.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__call__ (self, raw_value) | |
Public Member Functions inherited from searx.query.QueryPartParser | |
__init__ (self, raw_text_query, enable_autocomplete) | |
Static Public Member Functions | |
check (raw_value) | |
Static Public Member Functions inherited from searx.query.QueryPartParser |
Protected Member Functions | |
_parse (self, value) | |
_autocomplete (self) | |
Protected Member Functions inherited from searx.query.QueryPartParser | |
_add_autocomplete (self, value) | |
Additional Inherited Members | |
Public Attributes inherited from searx.query.QueryPartParser | |
raw_text_query = raw_text_query | |
enable_autocomplete = enable_autocomplete | |
searx.query.TimeoutParser.__call__ | ( | self, | |
raw_value ) |
Try to parse raw_value: set the self.raw_text_query properties return True if raw_value has been parsed self.raw_text_query.autocomplete_list is also modified if self.enable_autocomplete is True
Reimplemented from searx.query.QueryPartParser.
Definition at line 49 of file query.py.
References searx.query.BangParser._autocomplete(), searx.query.ExternalBangParser._autocomplete(), searx.query.LanguageParser._autocomplete(), searx.query.TimeoutParser._autocomplete(), searx.query.BangParser._parse(), searx.query.ExternalBangParser._parse(), searx.query.LanguageParser._parse(), searx.query.TimeoutParser._parse(), searx.query.BangParser.enable_autocomplete, searx.query.ExternalBangParser.enable_autocomplete, and searx.query.QueryPartParser.enable_autocomplete.
|
protected |
Definition at line 68 of file query.py.
References searx.query.QueryPartParser._add_autocomplete().
Referenced by searx.query.LanguageParser.__call__(), and searx.query.TimeoutParser.__call__().
|
protected |
Definition at line 56 of file query.py.
References searx.query.QueryPartParser.raw_text_query.
Referenced by searx.query.BangParser.__call__(), searx.query.ExternalBangParser.__call__(), searx.query.LanguageParser.__call__(), and searx.query.TimeoutParser.__call__().
|
static |
Check if raw_value can be parsed
Reimplemented from searx.query.QueryPartParser.
Definition at line 46 of file query.py.