java.lang.Object
org.kink_lang.kink.internal.program.itree.NodeToItreeTranslator
- All Implemented Interfaces:
Function<Expr,Itree>
A function which translates an AST node into an itree.
-
Constructor Summary
Constructors
-
Method Summary
Translates an AST node to an itree.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NodeToItreeTranslator
public NodeToItreeTranslator()
-
Method Details
-
apply
Translates an AST node to an itree.
- Specified by:
apply
in interface Function<Expr,Itree>
- Parameters:
expr
- the AST node to translate.
- Returns:
- the itree translated from the AST node.