Module: CustomElementsManifestParser

Defined in:
lib/custom_elements_manifest_parser.rb,
lib/custom_elements_manifest_parser/types.rb,
lib/custom_elements_manifest_parser/parser.rb,
lib/custom_elements_manifest_parser/version.rb,
lib/custom_elements_manifest_parser/base_struct.rb,
lib/custom_elements_manifest_parser/nodes/manifest.rb,
lib/custom_elements_manifest_parser/data_types/demo.rb,
lib/custom_elements_manifest_parser/data_types/slot.rb,
lib/custom_elements_manifest_parser/data_types/type.rb,
lib/custom_elements_manifest_parser/data_types/event.rb,
lib/custom_elements_manifest_parser/nodes/class_field.rb,
lib/custom_elements_manifest_parser/nodes/class_method.rb,
lib/custom_elements_manifest_parser/data_types/css_part.rb,
lib/custom_elements_manifest_parser/data_types/attribute.rb,
lib/custom_elements_manifest_parser/data_types/parameter.rb,
lib/custom_elements_manifest_parser/data_types/reference.rb,
lib/custom_elements_manifest_parser/nodes/class_declaration.rb,
lib/custom_elements_manifest_parser/nodes/javascript_export.rb,
lib/custom_elements_manifest_parser/nodes/javascript_module.rb,
lib/custom_elements_manifest_parser/nodes/mixin_declaration.rb,
lib/custom_elements_manifest_parser/mixins/has_parent_module.rb,
lib/custom_elements_manifest_parser/data_types/type_reference.rb,
lib/custom_elements_manifest_parser/structs/class_like_struct.rb,
lib/custom_elements_manifest_parser/nodes/custom_element_field.rb,
lib/custom_elements_manifest_parser/nodes/function_declaration.rb,
lib/custom_elements_manifest_parser/nodes/variable_declaration.rb,
lib/custom_elements_manifest_parser/data_types/source_reference.rb,
lib/custom_elements_manifest_parser/nodes/custom_element_export.rb,
lib/custom_elements_manifest_parser/structs/function_like_struct.rb,
lib/custom_elements_manifest_parser/structs/property_like_struct.rb,
lib/custom_elements_manifest_parser/data_types/css_custom_property.rb,
lib/custom_elements_manifest_parser/data_types/resolve_initializer.rb,
lib/custom_elements_manifest_parser/structs/declarable_node_struct.rb,
lib/custom_elements_manifest_parser/data_types/function_return_type.rb,
lib/custom_elements_manifest_parser/structs/custom_element_like_struct.rb

Overview

DeclarableNode is a Node that has a parent JavaScript module.

Defined Under Namespace

Modules: DataTypes, Mixins, Nodes, Structs, Types Classes: BaseStruct, Parser

Constant Summary collapse

VERSION =
"0.2.9"

Class Method Summary collapse

Class Method Details

.parse(hash) ⇒ CustomElementsManifestParser::Parser

Shortuct for CustomElementsManifestParser::Parser.new().parse()



11
12
13
# File 'lib/custom_elements_manifest_parser.rb', line 11

def self.parse(hash)
  Parser.new(hash).parse
end