abstract class AbstractRecursiveMatcher implements MatcherInterface

Properties

protected RecursiveParser $parser

Methods

void
__construct(RecursiveParser $parser)

No description

mixed
recurse(string $str, string $restrict = '')

Parse given string and return its value

Details

at line 23
void __construct(RecursiveParser $parser)

No description

Parameters

RecursiveParser $parser

Return Value

void

at line 35
protected mixed recurse(string $str, string $restrict = '')

Parse given string and return its value

Parameters

string $str
string $restrict

Pipe-separated list of allowed matches (ignored if empty)

Return Value

mixed