Class: JsxRosetta::AST::JSXFragment
- Inherits:
-
Node
- Object
- Node
- JsxRosetta::AST::JSXFragment
show all
- Defined in:
- lib/jsx_rosetta/ast/types.rb
Constant Summary
Constants inherited
from Node
Node::TYPE_REGISTRY
Instance Attribute Summary
Attributes inherited from Node
#raw
Instance Method Summary
collapse
Methods inherited from Node
#==, #[], #children, #deconstruct_keys, #dig, #each_child, #end_pos, #hash, #initialize, #inspect, #loc, #range, register, #start_pos, #type, #walk, wrap
Instance Method Details
#closing_fragment ⇒ Object
207
208
209
|
# File 'lib/jsx_rosetta/ast/types.rb', line 207
def closing_fragment
self[:closing_fragment]
end
|
#jsx_children ⇒ Object
211
212
213
|
# File 'lib/jsx_rosetta/ast/types.rb', line 211
def jsx_children
self[:children]
end
|
#opening_fragment ⇒ Object
203
204
205
|
# File 'lib/jsx_rosetta/ast/types.rb', line 203
def opening_fragment
self[:opening_fragment]
end
|