Class: JsxRosetta::IR::LocalRenderCall

Inherits:
Data
  • Object
show all
Includes:
Node
Defined in:
lib/jsx_rosetta/ir/types.rb

Overview

A call to a locally-declared JSX-returning arrow at its use site. Pairs with a sibling RenderMethod on Component#render_methods.

method_name : String — snake_case method name (matches RenderMethod#name). args : [Interpolation] — argument expressions captured verbatim

(each Interpolation's expression is translated by the
backend's ExpressionTranslator at emission time).

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



404
405
406
# File 'lib/jsx_rosetta/ir/types.rb', line 404

def args
  @args
end

#method_nameObject (readonly)

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



404
405
406
# File 'lib/jsx_rosetta/ir/types.rb', line 404

def method_name
  @method_name
end