class TokenisedRegularExpression (View source)

A tokenised regular expression is a parser, similar to a regular expression, that acts on tokens rather than characters. This is a crucial component of the ManifestBuilder.

Methods

__construct($expression)

No description

findAll($tokens)

No description

matchFrom($tokenPos, $expressionPos, $tokens, $matches)

No description

Details

__construct($expression)

Parameters

$expression

findAll($tokens)

Parameters

$tokens

matchFrom($tokenPos, $expressionPos, $tokens, $matches)

Parameters

$tokenPos
$expressionPos
$tokens
$matches