Skip to content

Commit 4f8888d

Browse files
committed
Remove all references to the Truffle tree in the 'LKQLSelector' value class
1 parent 6cb9154 commit 4f8888d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lkql_jit/language/src/main/java/com/adacore/lkql_jit/runtime/values/LKQLSelector.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
package com.adacore.lkql_jit.runtime.values;
77

8-
import com.adacore.lkql_jit.nodes.root_nodes.SelectorRootNode;
98
import com.adacore.lkql_jit.runtime.Closure;
109
import com.adacore.lkql_jit.runtime.values.bases.BasicLKQLValue;
1110
import com.adacore.lkql_jit.runtime.values.lists.LKQLSelectorList;
@@ -14,6 +13,7 @@
1413
import com.oracle.truffle.api.interop.*;
1514
import com.oracle.truffle.api.library.ExportLibrary;
1615
import com.oracle.truffle.api.library.ExportMessage;
16+
import com.oracle.truffle.api.nodes.RootNode;
1717

1818
/** This class represents the selector values in LKQL. */
1919
@ExportLibrary(InteropLibrary.class)
@@ -22,7 +22,7 @@ public class LKQLSelector extends BasicLKQLValue {
2222
// ----- Attributes -----
2323

2424
/** The root node containing the selector semantics. */
25-
private final SelectorRootNode rootNode;
25+
private final RootNode rootNode;
2626

2727
/** Closure for the selector execution. */
2828
private final Closure closure;
@@ -46,7 +46,7 @@ public class LKQLSelector extends BasicLKQLValue {
4646
* @param documentation The documentation of the selector.
4747
*/
4848
public LKQLSelector(
49-
SelectorRootNode rootNode,
49+
RootNode rootNode,
5050
Closure closure,
5151
String name,
5252
String documentation,

0 commit comments

Comments
 (0)