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
Table of Contents
- $mnO : mixed
- $mxO : mixed
- $tFCI : mixed
- __construct() : mixed
- getMaxOffset() : mixed
- getMinOffset() : mixed
- getToFindComponentIndex() : mixed
- isValid() : mixed
Properties
$mnO
private
mixed
$mnO
$mxO
private
mixed
$mxO
$tFCI
private
mixed
$tFCI
Methods
__construct()
public
__construct(mixed $toFindComponentIndex, mixed $minOffset, mixed $maxOffset) : mixed
Parameters
- $toFindComponentIndex : mixed
- $minOffset : mixed
- $maxOffset : mixed
Return values
mixed —getMaxOffset()
public
getMaxOffset() : mixed
Return values
mixed —getMinOffset()
public
getMinOffset() : mixed
Return values
mixed —getToFindComponentIndex()
public
getToFindComponentIndex() : mixed
Return values
mixed —isValid()
public
isValid(mixed $referenceTokenPosition, mixed $componentsFound) : mixed
Parameters
- $referenceTokenPosition : mixed
- $componentsFound : mixed