1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/http.js"],"names":["module","exports","hljs","name","aliases","illegal","contains","begin","end","className","returnBegin","excludeBegin","excludeEnd","starts","relevance","subLanguage","endsWithParent"],"mappings":"mGAkDAA,EAAOC,QA1CP,SAAcC,GAEZ,MAAO,CACLC,KAAM,OACNC,QAAS,CAAC,SACVC,QAAS,MACTC,SAAU,CACR,CACEC,MAAO,kBAAeC,IAAK,IAC3BF,SAAU,CAAC,CAACG,UAAW,SAAUF,MAAO,kBAE1C,CACEA,MAAO,gCAAkCG,aAAa,EAAMF,IAAK,IACjEF,SAAU,CACR,CACEG,UAAW,SACXF,MAAO,IAAKC,IAAK,IACjBG,cAAc,EAAMC,YAAY,GAElC,CACEL,MAnBI,kBAqBN,CACEE,UAAW,UACXF,MAAO,YAIb,CACEE,UAAW,YACXF,MAAO,OAAQC,IAAK,KAAMI,YAAY,EACtCP,QAAS,YACTQ,OAAQ,CAACL,IAAK,IAAKM,UAAW,IAEhC,CACEP,MAAO,SACPM,OAAQ,CAACE,YAAa,GAAIC,gBAAgB","file":"highlight/http.js?v=a2d14e147bec6ac5909e","sourcesContent":["/*\nLanguage: HTTP\nDescription: HTTP request and response headers with automatic body highlighting\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nCategory: common, protocols\nWebsite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview\n*/\n\nfunction http(hljs) {\n var VERSION = 'HTTP/[0-9\\\\.]+';\n return {\n name: 'HTTP',\n aliases: ['https'],\n illegal: '\\\\S',\n contains: [\n {\n begin: '^' + VERSION, end: '$',\n contains: [{className: 'number', begin: '\\\\b\\\\d{3}\\\\b'}]\n },\n {\n begin: '^[A-Z]+ (.*?) ' + VERSION + '$', returnBegin: true, end: '$',\n contains: [\n {\n className: 'string',\n begin: ' ', end: ' ',\n excludeBegin: true, excludeEnd: true\n },\n {\n begin: VERSION\n },\n {\n className: 'keyword',\n begin: '[A-Z]+'\n }\n ]\n },\n {\n className: 'attribute',\n begin: '^\\\\w', end: ': ', excludeEnd: true,\n illegal: '\\\\n|\\\\s|=',\n starts: {end: '$', relevance: 0}\n },\n {\n begin: '\\\\n\\\\n',\n starts: {subLanguage: [], endsWithParent: true}\n }\n ]\n };\n}\n\nmodule.exports = http;\n"],"sourceRoot":""}
|