php / 8.1.5 / parle-parser.trace.html /

Parle\Parser::trace

(PECL parle >= 0.5.1)

Parle\Parser::traceTrace the parser operation

Description

public Parle\Parser::trace(): string

Retrieve the current parser operation description. This can be especially useful for studying the parser and to optimize the grammar.

Parameters

This function has no parameters.

Return Values

Returns a string with the trace information.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/parle-parser.trace.php