Метод | Описание | |
---|---|---|
enterExpression ( Webmozart\Expression\Expression $expr ) : Webmozart\Expression\Expression | Called when the traverser enters an expression. | |
leaveExpression ( Webmozart\Expression\Expression $expr ) : Webmozart\Expression\Expression | null | Called when the traverser leaves an expression. |
public enterExpression ( Webmozart\Expression\Expression $expr ) : Webmozart\Expression\Expression | ||
$expr | Webmozart\Expression\Expression | The expression. |
Результат | Webmozart\Expression\Expression | The modified expression. |
public leaveExpression ( Webmozart\Expression\Expression $expr ) : Webmozart\Expression\Expression | null | ||
$expr | Webmozart\Expression\Expression | The expression. |
Результат | Webmozart\Expression\Expression | null | The modified expression or `null` if the expression should be removed from the tree. |