ExpressionOr

class ExpressionOr(token, left=None, right=None)[source]

Methods

ExpressionOr.__init__(token[, left, right])

ExpressionOr.handle_expr(hed_group[, exact])

Handles parsing the given expression, recursively down the list as needed.

Attributes

ExpressionOr.__init__(token, left=None, right=None)
ExpressionOr.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.