PHP Class Phlexy\Lexer\Stateless\WithCapturingGroups

Inheritance: implements Phlexy\Lexer
Show file Open project: nikic/phlexy

Protected Properties

Property Type Description
$compiledRegex
$offsetToLengthMap
$offsetToTokenMap

Public Methods

Method Description
__construct ( $compiledRegex, array $offsetToTokenMap, array $offsetToLengthMap )
lex ( $string )

Method Details

__construct() public method

public __construct ( $compiledRegex, array $offsetToTokenMap, array $offsetToLengthMap )
$offsetToTokenMap array
$offsetToLengthMap array

lex() public method

public lex ( $string )

Property Details

$compiledRegex protected property

protected $compiledRegex

$offsetToLengthMap protected property

protected $offsetToLengthMap

$offsetToTokenMap protected property

protected $offsetToTokenMap