matches.js
function wrapped (del1, del2, pattFn, nodeFn, inp) {
    if (inp.takeAPeek(del1)) {
      var res = pattFn(inp.skipWs());
      if (inp.skipWs().takeAPeek(del2)) return nodeFn(res);
      else syntaxError(inp, "Expected " + del2);
    }
  }
function wrapped (del1, del2, pattFn, nodeFn, inp) {
    if (inp.takeAPeek(del1)) {
      var res = pattFn(inp.skipWs());
      if (inp.skipWs().takeAPeek(del2)) return nodeFn(res);
      else syntaxError(inp, "Expected " + del2);
    }
  }
function wrapped ( del1 , del2 , pattFn , nodeFn , inp ) { if ( inp . takeAPeek ( del1 ) ) { var res = pattFn ( inp . skipWs ( ) ) ; if ( inp . skipWs ( ) . takeAPeek ( del2 ) ) return nodeFn ( res ) ; else syntaxError ( inp , "Expected " + del2 ) ; } }
Parses a wrapped pattern, like an array or object.
Parses a wrapped pattern like an array or object .