Liferay.Loader.define("liferay!object-js-components-web$codemirror@5.65.12/mode/ttcn-cfg/ttcn-cfg",["module","exports","require","../../lib/codemirror"],(function(e,t,n){var T,E=void 0;window;T=function(e){"use strict";function words(e){for(var t={},n=e.split(" "),T=0;T<n.length;++T)t[n[T]]=!0;return t}e.defineMode("ttcn-cfg",(function(e,t){var n,T=e.indentUnit,E=t.keywords||{},o=t.fileNCtrlMaskOptions||{},r=t.externalCommands||{},C=t.multiLineStrings,i=!1!==t.indentStatements,N=/[\|]/;function tokenBase(e,t){var T=e.next();if('"'==T||"'"==T)return t.tokenize=function tokenString(e){return function(t,n){for(var T,E=!1,o=!1;null!=(T=t.next());){if(T==e&&!E){var r=t.peek();r&&("b"!=(r=r.toLowerCase())&&"h"!=r&&"o"!=r||t.next()),o=!0;break}E=!E&&"\\"==T}return(o||!E&&!C)&&(n.tokenize=null),"string"}}(T),t.tokenize(e,t);if(/[:=]/.test(T))return n=T,"punctuation";if("#"==T)return e.skipToEnd(),"comment";if(/\d/.test(T))return e.eatWhile(/[\w\.]/),"number";if(N.test(T))return e.eatWhile(N),"operator";if("["==T)return e.eatWhile(/[\w_\]]/),"number sectionTitle";e.eatWhile(/[\w\$_]/);var i=e.current();return E.propertyIsEnumerable(i)?"keyword":o.propertyIsEnumerable(i)?"negative fileNCtrlMaskOptions":r.propertyIsEnumerable(i)?"negative externalCommands":"variable"}function Context(e,t,n,T,E){this.indented=e,this.column=t,this.type=n,this.align=T,this.prev=E}function pushContext(e,t,n){var T=e.indented;return e.context&&"statement"==e.context.type&&(T=e.context.indented),e.context=new Context(T,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new Context((e||0)-T,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var T=t.context;if(e.sol()&&(null==T.align&&(T.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var E=(t.tokenize||tokenBase)(e,t);if("comment"==E)return E;if(null==T.align&&(T.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=T.type)if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==T.type;)T=popContext(t);for("}"==T.type&&(T=popContext(t));"statement"==T.type;)T=popContext(t)}else n==T.type?popContext(t):i&&(("}"==T.type||"top"==T.type)&&";"!=n||"statement"==T.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,E},electricChars:"{}",lineComment:"#",fold:"brace"}})),e.defineMIME("text/x-ttcn-cfg",{name:"ttcn-cfg",keywords:words("Yes No LogFile FileMask ConsoleMask AppendFile TimeStampFormat LogEventTypes SourceInfoFormat LogEntityName LogSourceInfo DiskFullAction LogFileNumber LogFileSize MatchingHints Detailed Compact SubCategories Stack Single None Seconds DateTime Time Stop Error Retry Delete TCPPort KillTimer NumHCs UnixSocketsEnabled LocalAddress"),fileNCtrlMaskOptions:words("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),externalCommands:words("BeginControlPart EndControlPart BeginTestCase EndTestCase"),multiLineStrings:!0})},"object"==typeof t&&"object"==typeof e?T(n("../../lib/codemirror")):"function"==typeof E&&E.amd?E(["../../lib/codemirror"],T):T(CodeMirror)}));
//# sourceMappingURL=ttcn-cfg.js.map