PositionConstraintStatic
in package
Defines a range of valid positions that a token can occur in.
Tags
Table of Contents
- isValidPosition() : bool
- Verify that the given token position is valid or not.
Methods
isValidPosition()
Verify that the given token position is valid or not.
public
static isValidPosition(mixed $positionConstraintArray, mixed $tokenPosition) : bool
Parameters
- $positionConstraintArray : mixed
- $tokenPosition : mixed