text_lint.sequencers.lookups.LookupsSequencer

class text_lint.sequencers.lookups.LookupsSequencer(lookup_expression: LookupExpression, requesting_operation_name: str)[Quellcode]

Bases: OperatorBase[LookupBase]

Iterator that returns ResultForest lookups in the correct sequence.

__init__(lookup_expression: LookupExpression, requesting_operation_name: str) None[Quellcode]

Initialize LookupsSequencer instances.

Parameter:
  • lookup_expression (LookupExpression) – The lookup expression being evaluated.

  • requesting_operation_name (str) – The validator for this lookup expression.