Class SLFunctionLiteralNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class SLFunctionLiteralNode extends SLExpressionNode
Constant literal for a function value, created when a function name occurs as a literal in SL source code. Note that function redefinition can change the call target that is executed when calling the function, but the SLFunction for a name never changes. This is guaranteed by the SLFunctionRegistry.
  • Constructor Details

    • SLFunctionLiteralNode

      public SLFunctionLiteralNode()
  • Method Details

    • perform

      public static SLFunction perform(com.oracle.truffle.api.strings.TruffleString functionName, com.oracle.truffle.api.nodes.Node node, SLFunction result)
    • lookupFunction

      public static SLFunction lookupFunction(com.oracle.truffle.api.strings.TruffleString functionName, com.oracle.truffle.api.nodes.Node node)
    • lookupFunctionCached

      public static SLFunction lookupFunctionCached(com.oracle.truffle.api.strings.TruffleString functionName, com.oracle.truffle.api.nodes.Node node)