text_lint.operations.lookups.default.DefaultLookup

class text_lint.operations.lookups.default.DefaultLookup(lookup_name: str, lookup_expression: LookupExpression, lookup_params: AliasLookupParams, requesting_operation_name: str)[Quellcode]

Bases: LookupBase

Default operation for unknown lookups on the ResultForest instances.

apply(state: LookupState) None[Quellcode]

Apply this operation to the given state object.

Parameter:

state (LookupState) – The state object to apply this operation to.

Raises:

LookupUnknown