Class: JsxRosetta::IR::LocalRenderCall
- Inherits:
-
Data
- Object
- Data
- JsxRosetta::IR::LocalRenderCall
- 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
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args
404 405 406 |
# File 'lib/jsx_rosetta/ir/types.rb', line 404 def args @args end |
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name
404 405 406 |
# File 'lib/jsx_rosetta/ir/types.rb', line 404 def method_name @method_name end |