Interface GraphNode

All Known Subinterfaces:
CallGraphNodeToArgs, CallGraphNodeToRecv

public interface GraphNode
The type of an execution graph node.

See org.kink_lang.kink.hostfun.graph for usage.

  • Method Summary

    Modifier and Type
    Method
    Description
    Evaluates the execution graph in the context.
  • Method Details

    • evaluateIn

      HostResult evaluateIn(HostContext c) throws Throwable
      Evaluates the execution graph in the context.

      Use HostContext.call(GraphNode) instead of calling this method directly.

      Parameters:
      c - the context of the host fun action.
      Returns:
      the HostResult to evaluate the graph.
      Throws:
      Throwable - thrown during evaluation.