Module org.kink_lang.kink
Class UnnestArgsPassingOptimizer
java.lang.Object
org.kink_lang.kink.internal.program.itree.SkeltonItreeVisitor<Itree>
org.kink_lang.kink.internal.program.itreeoptimize.BaseOptimizer
org.kink_lang.kink.internal.program.itreeoptimize.UnnestArgsPassingOptimizer
- All Implemented Interfaces:
Function<Itree,
,Itree> UnaryOperator<Itree>
,ItreeVisitor<Itree>
Converts nested args passing to unnested one.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(NestedArgsPassingItree itree) Visists a nested args passing itree.Methods inherited from class org.kink_lang.kink.internal.program.itreeoptimize.BaseOptimizer
apply
Methods inherited from class org.kink_lang.kink.internal.program.itree.SkeltonItreeVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
UnnestArgsPassingOptimizer
public UnnestArgsPassingOptimizer()
-
-
Method Details
-
visit
Description copied from interface:ItreeVisitor
Visists a nested args passing itree.- Specified by:
visit
in interfaceItreeVisitor<Itree>
- Overrides:
visit
in classSkeltonItreeVisitor<Itree>
- Parameters:
itree
- the nested args passing itree.- Returns:
- the result.
-