Module: CustomElementsManifestParser::Mixins::HasParentModule
- Included in:
- Nodes::ClassDeclaration, Nodes::ClassField, Nodes::ClassMethod, Nodes::CustomElementExport, Nodes::FunctionDeclaration, Nodes::JavaScriptExport, Nodes::MixinDeclaration, Nodes::VariableDeclaration
- Defined in:
- lib/custom_elements_manifest_parser/mixins/has_parent_module.rb
Overview
Any "DeclarableNodeStruct", has a "_parent_module"
Instance Method Summary collapse
Instance Method Details
#parent_module ⇒ Object
5 6 7 8 9 |
# File 'lib/custom_elements_manifest_parser/mixins/has_parent_module.rb', line 5 def parent_module return parser.visit_node(_parent_module) if parser nil end |