text: "use strict";
  
  module.exports = MediaFeature;
  
  var SyntaxUnit = require("../util/SyntaxUnit");
  
  var Parser = require("./Parser");
  
  /**
   * Represents a media feature, such as max-width:500.
   * @namespace parserlib.css
   * @class MediaFeature
   * @extends parserlib.util.SyntaxUnit
   * @constructor
   * @param {SyntaxUnit} name The name of the feature.
   * @param {SyntaxUnit} value The value of the feature or null if none.
   */
  function MediaFeature(name, value) {
  
      SyntaxUnit.call(this, "(" + name + (value !== null ? ":" + value : "") + ")", name.startLine, name.startCol, Parser.MEDIA_FEATURE_TYPE);
  
      /**
       * The name of the media feature
       * @type String
       * @property name
       */
      this.name = name;
  
      /**
       * The value for the feature or null if there is none.
       * @type SyntaxUnit
       * @property value
       */
      this.value = value;
  }
  
  MediaFeature.prototype = new SyntaxUnit();
  MediaFeature.prototype.constructor = MediaFeature;
  
  