Class FunctionNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public final class FunctionNode extends RegularMemberNode
  • Constructor Details

  • Method Details

    • getParameterCount

      public int getParameterCount()
    • getReturnTypeNode

      @Nullable public @Nullable TypeNode getReturnTypeNode()
    • getCallSignature

      public String getCallSignature()
    • execute

      public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
      Specified by:
      execute in class com.oracle.truffle.api.nodes.RootNode
    • getParameterMirrors

      public VmMap getParameterMirrors()
    • getReturnTypeMirror

      public VmTyped getReturnTypeMirror()
    • export

      public PClass.Method export(PClass owner, @Nullable @Nullable com.oracle.truffle.api.source.SourceSection docComment, List<VmTyped> annotations, int modifiers, List<TypeParameter> typeParameters)