kab/kab/static/js/monaco-yaml/yamlWorker.js
/**
     * Creates a new Diagnostic literal.
     */
Creates a new Diagnostic literal.
Creates a new Diagnostic literal .
function create(range, message, severity, code, source, relatedInformation) {
      var result = { range: range, message: message };
      if (Is.defined(severity)) {
        result.severity = severity;
      }
      if (Is.defined(code)) {
        result.code = code;
      }
      if (Is.defined(source)) {
        result.source = source;
      }
      if (Is.defined(relatedInformation)) {
        result.relatedInformation = relatedInformation;
      }
      return result;
    }
function create ( range , message , severity , code , source , relatedInformation ) { var result = { range : range , message : message } ; if ( Is . defined ( severity ) ) { result . severity = severity ; } if ( Is . defined ( code ) ) { result . code = code ; } if ( Is . defined ( source ) ) { result . source = source ; } if ( Is . defined ( relatedInformation ) ) { result . relatedInformation = relatedInformation ; } return result ; }
Creates a new Diagnostic literal.
Creates a new Diagnostic literal .