Documentation

LookaroundConstraint
in package

Defines a lookaround constraint. This is a constraint that may be applied to a component found via the token trie walk. The constraint contains an component index and an allowed offset that it can exist for the constraint to be valid

Tags
author

DeviceAtlas Limited

Table of Contents

Properties

$mnO  : mixed
$mxO  : mixed
$tFCI  : mixed

Methods

__construct()  : mixed
getMaxOffset()  : mixed
getMinOffset()  : mixed
getToFindComponentIndex()  : mixed
isValid()  : mixed

Properties

Methods

__construct()

public __construct(mixed $toFindComponentIndex, mixed $minOffset, mixed $maxOffset) : mixed
Parameters
$toFindComponentIndex : mixed
$minOffset : mixed
$maxOffset : mixed

isValid()

public isValid(mixed $referenceTokenPosition, mixed $allCandidates) : mixed
Parameters
$referenceTokenPosition : mixed
$allCandidates : mixed

        
On this page

Search results