packages/extension-map/doc/webpacks/shexmap-webapp.js
//   this does NOT include shapeOrRef or nodeConstraint.
this does NOT include shapeOrRef or nodeConstraint.
this does NOT include shapeOrRef or nodeConstraint .
function shapeJunction (type, shapeAtom, juncts) {
    if (juncts.length === 0) {
      return nonest(shapeAtom);
    } else if (shapeAtom.type === type && !shapeAtom.nested) {
      nonest(shapeAtom).shapeExprs = nonest(shapeAtom).shapeExprs.concat(juncts);
      return shapeAtom;
    } else {
      return { type: type, shapeExprs: [nonest(shapeAtom)].concat(juncts.map(nonest)) };
    }
  }
function shapeJunction ( type , shapeAtom , juncts ) { if ( juncts . length === 0 ) { return nonest ( shapeAtom ) ; } else if ( shapeAtom . type === type && ! shapeAtom . nested ) { nonest ( shapeAtom ) . shapeExprs = nonest ( shapeAtom ) . shapeExprs . concat ( juncts ) ; return shapeAtom ; } else { return { type : type , shapeExprs : [ nonest ( shapeAtom ) ] . concat ( juncts . map ( nonest ) ) } ; } }
this does NOT include shapeOrRef or nodeConstraint.
this does NOT include shapeOrRef or nodeConstraint .