packages/shex-webapp/doc/webpacks/shex-webapp.js
// Creates an expression with the given type and attributes
Creates an expression with the given type and attributes
Creates an expression with the given type and attributes
function expression(expr, attr) {
    const expression = { expression: expr };
    if (attr)
      for (let a in attr)
        expression[a] = attr[a];
    return expression;
  }
function expression ( expr , attr ) { const expression = { expression : expr } ; if ( attr ) for ( let a in attr ) expression [ a ] = attr [ a ] ; return expression ; }
Creates an expression with the given type and attributes
Creates an expression with the given type and attributes