diff options
Diffstat (limited to 'public/prism/prism-robotframework.min.js')
| -rw-r--r-- | public/prism/prism-robotframework.min.js | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/public/prism/prism-robotframework.min.js b/public/prism/prism-robotframework.min.js index 1674f1a..4dd46e7 100644 --- a/public/prism/prism-robotframework.min.js +++ b/public/prism/prism-robotframework.min.js @@ -1,23 +1,23 @@ !(function (t) { - var r = { pattern: /(^[ \t]*| {2}|\t)#.*/m, lookbehind: !0, greedy: !0 }, - o = { + var n = { pattern: /(^[ \t]*| {2}|\t)#.*/m, lookbehind: !0, greedy: !0 }, + e = { pattern: /((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/, lookbehind: !0, inside: { punctuation: /^[$@&%]\{|\}$/ }, }; - function n(t, n) { - var e = { + function a(t, a) { + var r = { 'section-header': { pattern: /^ ?\*{3}.+?\*{3}/, alias: 'keyword' }, }; - for (var a in n) e[a] = n[a]; + for (var o in a) r[o] = a[o]; return ( - (e.tag = { + (r.tag = { pattern: /([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/, lookbehind: !0, inside: { punctuation: /\[|\]/ }, }), - (e.variable = o), - (e.comment = r), + (r.variable = e), + (r.comment = n), { pattern: RegExp( '^ ?\\*{3}[ \t]*<name>[ \t]*\\*{3}(?:.|[\r\n](?!\\*{3}))*'.replace( @@ -29,29 +29,29 @@ 'im' ), alias: 'section', - inside: e, + inside: r, } ); } - var e = { + var r = { pattern: /(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/, lookbehind: !0, alias: 'string', }, - a = { + o = { pattern: /([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/, lookbehind: !0, alias: 'function', - inside: { variable: o }, + inside: { variable: e }, }, i = { pattern: /([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/, lookbehind: !0, - inside: { variable: o }, + inside: { variable: e }, }; (t.languages.robotframework = { - settings: n('Settings', { + settings: a('Settings', { documentation: { pattern: /([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/, @@ -63,19 +63,19 @@ lookbehind: !0, }, }), - variables: n('Variables'), - 'test-cases': n('Test Cases', { - 'test-name': a, - documentation: e, + variables: a('Variables'), + 'test-cases': a('Test Cases', { + 'test-name': o, + documentation: r, property: i, }), - keywords: n('Keywords', { - 'keyword-name': a, - documentation: e, + keywords: a('Keywords', { + 'keyword-name': o, + documentation: r, property: i, }), - tasks: n('Tasks', { 'task-name': a, documentation: e, property: i }), - comment: r, + tasks: a('Tasks', { 'task-name': o, documentation: r, property: i }), + comment: n, }), (t.languages.robot = t.languages.robotframework); })(Prism); |
