public interface InliningPolicy
| Modifier and Type | Method and Description |
|---|---|
static boolean |
acceptForInline(CallNode rootNode,
String inlineOnly)
Checks if the
CallNode should be compiled. |
default void |
afterAddChildren(CallNode callNode) |
default void |
afterExpand(CallNode callNode) |
static org.graalvm.collections.Pair<List<String>,List<String>> |
getInlineOnly(String inlineOnly)
Returns the include and exclude sets for the
PolyglotCompilerOptions.InlineOnly
option. |
default Object |
newCallNodeData(CallNode callNode) |
default void |
putProperties(CallNode callNode,
Map<Object,Object> properties) |
default void |
removedNode(CallNode node) |
default void |
run(CallTree tree) |
default void afterAddChildren(CallNode callNode)
default void removedNode(CallNode node)
default void afterExpand(CallNode callNode)
default void run(CallTree tree)
static boolean acceptForInline(CallNode rootNode, String inlineOnly)
CallNode should be compiled. The
InlineOnly options are used to determine if the
root node should be compiled.