lib/panino/plugins/parsers/javascript/jsd/doc_parser.js
function default_value() {
  start_pos = input.pointer();
  value = parse_balanced(/\[/, /\]/, /[^\[\]]*/);
  if (look(/\]/)) {
    return value;
  }
  else {
    input.setPointer(start_pos);
    return match(/[^\]]*/);
  }
}
function default_value() {
  start_pos = input.pointer();
  value = parse_balanced(/\[/, /\]/, /[^\[\]]*/);
  if (look(/\]/)) {
    return value;
  }
  else {
    input.setPointer(start_pos);
    return match(/[^\]]*/);
  }
}
function default_value ( ) { start_pos = input . pointer ( ) ; value = parse_balanced ( / \[ / , / \] / , / [^\[\]]* / ) ; if ( look ( / \] / ) ) { return value ; } else { input . setPointer ( start_pos ) ; return match ( / [^\]]* / ) ; } }
Attempts to allow balanced braces in default value. When the nested parsing doesn't finish at closing "]", roll back to beginning and simply grab anything up to closing "]".
Attempts to allow balanced braces in default value . When the nested parsing doesn t finish at closing ] roll back to beginning and simply grab anything up to closing ] .