Documentation

LookaroundConstraintStatic
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

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

Methods

getMaxOffset()

public static getMaxOffset(mixed $lookaroundConstraintArray) : mixed
Parameters
$lookaroundConstraintArray : mixed
Return values
mixed

getMinOffset()

public static getMinOffset(mixed $lookaroundConstraintArray) : mixed
Parameters
$lookaroundConstraintArray : mixed
Return values
mixed

getToFindComponentIndex()

public static getToFindComponentIndex(mixed $lookaroundConstraintArray) : mixed
Parameters
$lookaroundConstraintArray : mixed
Return values
mixed

isValid()

public static isValid(mixed $lookaroundConstraintArray, mixed $referenceTokenPosition, mixed $allCandidates) : mixed
Parameters
$lookaroundConstraintArray : mixed
$referenceTokenPosition : mixed
$allCandidates : mixed
Return values
mixed

Search results