    # File lib/yard/parser/source_parser.rb, line 139
            def register_parser_type(type, parser_klass, extensions = nil)
              unless Base > parser_klass
                raise ArgumentError, "expecting parser_klass to be a subclass of YARD::Parser::Base"
              end
              parser_type_extensions[type.to_sym] = extensions if extensions
              parser_types[type.to_sym] = parser_klass
            end