PHP Class Phlexy\Lexer\Stateless\WithCapturingGroups

Inheritance: implements Phlexy\Lexer
显示文件 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_oe property

protected $compiledRegex

$offsetToLengthMap protected_oe property

protected $offsetToLengthMap

$offsetToTokenMap protected_oe property

protected $offsetToTokenMap