PHP Class Phlexy\Lexer\Stateless\UsingPregReplace

Inheritance: implements Phlexy\Lexer
Exibir arquivo Open project: nikic/phlexy Class Usage Examples

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