Class: JsxRosetta::AST::JSXNamespacedName
- Inherits:
-
Node
- Object
- Node
- JsxRosetta::AST::JSXNamespacedName
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
#name ⇒ Object
136
137
138
|
# File 'lib/jsx_rosetta/ast/types.rb', line 136
def name
self[:name]
end
|
#namespace ⇒ Object
132
133
134
|
# File 'lib/jsx_rosetta/ast/types.rb', line 132
def namespace
self[:namespace]
end
|
#qualified_name ⇒ Object
140
141
142
|
# File 'lib/jsx_rosetta/ast/types.rb', line 140
def qualified_name
"#{namespace.name}:#{name.name}"
end
|