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

$mnO  : mixed
$mxO  : mixed
$tFCI  : mixed
__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
Return values
mixed

getToFindComponentIndex()

public getToFindComponentIndex() : mixed
Return values
mixed

isValid()

public isValid(mixed $referenceTokenPosition, mixed $componentsFound) : mixed
Parameters
$referenceTokenPosition : mixed
$componentsFound : mixed
Return values
mixed

        

Search results