TokenisedRegularExpression
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.
Properties
protected | $expression | The regular expression definition |
||
protected | $firstMatch | The first expression to match |
Methods
Details
__construct($expression)
No description
findAll($tokens)
No description
matchFrom($tokenPos, $expressionPos, $tokens, $matches)
No description