Skip to content

Kirby 5.2.1

$parser->parse()

Parses the tokenized query into AST node tree

$parser->parse() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$parser->parse(): Kirby\Query\AST\Node

Return type

Kirby\Query\AST\Node

This method modifies the existing $parser object it is applied to and returns it again.

Parent class

Kirby\Query\Parser\Parser