Class: JsxRosetta::IR::Interpolation
- Inherits:
-
Data
- Object
- Data
- JsxRosetta::IR::Interpolation
- Includes:
- Node
- Defined in:
- lib/jsx_rosetta/ir/types.rb
Overview
An opaque JS expression embedded in JSX (between curlies). The expression text is preserved verbatim so the backend can emit it into ‘<%= %>` (or its target equivalent) for human review.
expression : String — verbatim JS source.
Instance Attribute Summary collapse
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Instance Attribute Details
#expression ⇒ Object (readonly)
Returns the value of attribute expression
159 160 161 |
# File 'lib/jsx_rosetta/ir/types.rb', line 159 def expression @expression end |