Class DSLShare
- java.lang.Object
-
- com.oracle.truffle.api.dsl.internal.DSLShare
-
public class DSLShare extends java.lang.Object
Contains utility classes shared across generated DSLNode implementations.
-
-
Constructor Summary
Constructors Constructor Description DSLShare()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Node>
TfindRoot(T node)
static boolean
isExcluded(Node currentNode, DSLMetadata otherMetadata)
static <T extends Node & DSLNode>
Trewrite(Node thisNode, T newNode, java.lang.String message)
static <T extends Node & DSLNode>
TrewriteToPolymorphic(Node oldNode, DSLNode uninitializedDSL, T polymorphic, DSLNode currentCopy, DSLNode newNodeDSL, java.lang.String message)
static <T extends Node & DSLNode>
TrewriteUninitialized(Node uninitialized, T newNode)
-
-
-
Method Detail
-
isExcluded
public static boolean isExcluded(Node currentNode, DSLMetadata otherMetadata)
-
rewrite
public static <T extends Node & DSLNode> T rewrite(Node thisNode, T newNode, java.lang.String message)
-
findRoot
public static <T extends Node> T findRoot(T node)
-
rewriteUninitialized
public static <T extends Node & DSLNode> T rewriteUninitialized(Node uninitialized, T newNode)
-
-