Skip to main content

Interface: ScopeIteratorRequirements

processTargets/modifiers/scopeHandlers/scopeHandler.types.ScopeIteratorRequirements

Properties

containment

containment: null | ContainmentPolicy

Indicates whether the scopes must / must not contain the input position. The values are as follows:

  • "required" means that the scope's domain must contain position. If position is directly adjacent to the domain, that counts as containment
  • "disallowed" means that the scope's domain may not contain position. If position is directly adjacent to the domain, that is also disallowed
  • "disallowedIfStrict" means that the scope's domain may not strictly contain position. If position is directly adjacent to the domain, that is allowed.

Defined in

processTargets/modifiers/scopeHandlers/scopeHandler.types.ts:97


distalPosition

distalPosition: null | Position

Indicates that the domain of the scopes must start at or before this position for "forward", or at or after this position for "backward".

Defined in

processTargets/modifiers/scopeHandlers/scopeHandler.types.ts:104