Expression¶
- class Expression(token, left=None, right=None)[source]
Base class for parsed query expressions.
Methods
|
|
|
Handles parsing the given expression, recursively down the list as needed. |
Attributes
- Expression.handle_expr(hed_group, exact=False)[source]¶
Handles parsing the given expression, recursively down the list as needed.
BaseClass implementation is search terms.
- Parameters:
hed_group (HedGroup) – The object to search
exact (bool) – If True, we are only looking for groups containing this term directly, not descendants.