Class: JsxRosetta::AST::JSXFragment

Inherits:
Node
  • Object
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

Constructor Details

This class inherits a constructor from JsxRosetta::AST::Node

Instance Method Details

#closing_fragmentObject



207
208
209
# File 'lib/jsx_rosetta/ast/types.rb', line 207

def closing_fragment
  self[:closing_fragment]
end

#jsx_childrenObject



211
212
213
# File 'lib/jsx_rosetta/ast/types.rb', line 211

def jsx_children
  self[:children]
end

#opening_fragmentObject



203
204
205
# File 'lib/jsx_rosetta/ast/types.rb', line 203

def opening_fragment
  self[:opening_fragment]
end