Skip the call to postVisit
and do not visit any of the
sub-expressions.
Skip the call to postVisit
and do not visit any of the
sub-expressions. Instead, directly return res
as result
Specify the arguments to use for the individual sub-expressions
Specify the arguments to use for the individual sub-expressions
Call preVisit
again with a different expression and argument
Call preVisit
again with a different expression and argument
Use arg
for each of the direct sub-expressions
Use arg
for each of the direct sub-expressions
Use the same argument for the direct sub-expressions as for this expression
Use the same argument for the direct sub-expressions as for this expression
(Since version ) see corresponding Javadoc for more information.
More general visitor for renaming variables. The argument of the visitor methods is a pair
(List[Int], Int)
that describes how each variable should be shifted:(List(0, 2, -1), 1)
specifies that variable 0 stays the same, variable 1 is increased by 2 (renamed to 3), variable 2 is renamed to 1, and all other variables n are renamed to n+1.