public static void readProps(
    ASTNode prop, Map<String, String> mapProp) {

    for (int propChild = 0; propChild < prop.getChildCount(); propChild++) {
      String key = unescapeSQLString(prop.getChild(propChild).getChild(0)
          .getText());
      String value = null;
      if (prop.getChild(propChild).getChild(1) != null) {
        value = unescapeSQLString(prop.getChild(propChild).getChild(1).getText());
      }
      mapProp.put(key, value);
    }
  }
Converts parsed key/value properties pairs into a map.

@param prop ASTNode parent of the key/value pairs

@param mapProp property map which receives the mappings
ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java