Class: JsxRosetta::AST::JSXMemberExpression
- Inherits:
-
Node
- Object
- Node
- JsxRosetta::AST::JSXMemberExpression
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
#object ⇒ Object
107
108
109
|
# File 'lib/jsx_rosetta/ast/types.rb', line 107
def object
self[:object]
end
|
#property ⇒ Object
111
112
113
|
# File 'lib/jsx_rosetta/ast/types.rb', line 111
def property
self[:property]
end
|
#qualified_name ⇒ Object
115
116
117
|
# File 'lib/jsx_rosetta/ast/types.rb', line 115
def qualified_name
"#{object_name}.#{property.name}"
end
|