struct

Noir::JSServerlessFunctionExtractor::Handler

Inherits Struct < Value < Object

A resolved handler: the export it came from, its raw parameter list, its body (block contents or expression), the 1-based line of the export, the line the body starts on, and (when asked for) its callees.

Constructors

new(name : String, params : String, body : String, line : Int32, body_line : Int32, callees : Array(JSCalleeExtractor::Entry), methods : Array(String))
Source

Instance methods

body
body_line
callees
clone
Source
copy_with(name _name = @name, params _params = @params, body _body = @body, line _line = @line, body_line _body_line = @body_line, callees _callees = @callees, methods _methods = @methods)
Source
line
methods
name
params