code: function(raw_tag) {
  
  		var view_config = Lava.parsers.Common.compileAsView(raw_tag.content),
  			widget_config = Lava.parsers.Common.createDefaultWidgetConfig(),
  			name;
  
  		if (Lava.schema.DEBUG) {
  			if (view_config['class'] != 'View') Lava.t("define: view in <view> must be pure View, not subclass");
  			if ('argument' in view_config) Lava.t("Widgets do not support arguments");
  			for (name in view_config) {
  				if (this.WIDGET_DEFINITION_ALLOWED_MAIN_VIEW_MEMBERS.indexOf(name) == -1) {
  					Lava.t("<view>: view has an option, which can not be copied to widget: " + name + ". Probably, it must be specified via separate tag");
  				}
  			}
  		}
  
  		this._importVars(widget_config, view_config, ['template', 'container']);
  
  		return widget_config;
  
  	}
docs: End: resource tags ////////////////////////////////////////////////////////////////// 
  Parse view widget tag: compile, extract and validate a single view inside it
  @param {_cRawTag} raw_tag