struct

Noir::JSHandlerTable::Fn

Inherits Struct < Value < Object

line is the statement that declares or exports the function; body_line is where the body starts (the { of a block). block is false for an expression-bodied arrow. direct is false when the function was reached through a wrapper call (withAuth(handler)) or is unresolved (empty params and body).

Constructors

new(params : String, body : String, line : Int32, body_line : Int32, block : Bool, direct : Bool, callees : Array(JSCalleeExtractor::Entry), methods : Array(String) = EMPTY_METHODS)
Source

Instance methods

block
body
body_line
callees
clone
Source
copy_with(params _params = @params, body _body = @body, line _line = @line, body_line _body_line = @body_line, block _block = @block, direct _direct = @direct, callees _callees = @callees, methods _methods = @methods)
Source
direct
line
methods
params