Class: CustomElementsManifestParser::Structs::DeclarableNodeStruct
- Inherits:
-
BaseStruct
- Object
- Dry::Struct
- BaseStruct
- CustomElementsManifestParser::Structs::DeclarableNodeStruct
- Defined in:
- lib/custom_elements_manifest_parser/structs/declarable_node_struct.rb
Instance Attribute Summary collapse
-
#parent_module ⇒ JavaScriptModule?
- A convenience helper so you don't need to manually traverse the manifest and always go top -> bottom.
Class Method Summary collapse
Instance Attribute Details
#parent_module ⇒ JavaScriptModule?
Returns - A convenience helper so you don't need to manually traverse the manifest and always go top -> bottom. By using this you can grab the "path" and "exports" of a custom element.
12 |
# File 'lib/custom_elements_manifest_parser/structs/declarable_node_struct.rb', line 12 attribute :_parent_module, Types::Nominal::Any.optional.(required: false) |
Class Method Details
.build_hash(parser:, struct:) ⇒ Object
16 17 18 |
# File 'lib/custom_elements_manifest_parser/structs/declarable_node_struct.rb', line 16 def self.build_hash(parser:, struct:) {} end |