"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[5680],{5680(D,A,U){function I(e){for(var n={},T=e.split(" "),E=0;E<T.length;++E)n[T[E]]=!0;return n}U.d(A,{ttcnCfg:()=>f});const i={name:"ttcn-cfg",keywords:I("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:I("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:I("BeginControlPart EndControlPart BeginTestCase EndTestCase"),multiLineStrings:!0};var t,u=i.keywords,R=i.fileNCtrlMaskOptions,S=i.externalCommands,P=i.multiLineStrings,L=!1!==i.indentStatements,_=/[\|]/;function c(e,n){var T=e.next();if('"'==T||"'"==T)return n.tokenize=function a(e){return function(n,T){for(var r,E=!1,O=!1;null!=(r=n.next());){if(r==e&&!E){var C=n.peek();C&&("b"==(C=C.toLowerCase())||"h"==C||"o"==C)&&n.next(),O=!0;break}E=!E&&"\\"==r}return(O||!(E||P))&&(T.tokenize=null),"string"}}(T),n.tokenize(e,n);if(/[:=]/.test(T))return t=T,"punctuation";if("#"==T)return e.skipToEnd(),"comment";if(/\d/.test(T))return e.eatWhile(/[\w\.]/),"number";if(_.test(T))return e.eatWhile(_),"operator";if("["==T)return e.eatWhile(/[\w_\]]/),"number";e.eatWhile(/[\w\$_]/);var E=e.current();return u.propertyIsEnumerable(E)?"keyword":R.propertyIsEnumerable(E)?"atom":S.propertyIsEnumerable(E)?"deleted":"variable"}function l(e,n,T,E,r){this.indented=e,this.column=n,this.type=T,this.align=E,this.prev=r}function N(e,n,T){var E=e.indented;return e.context&&"statement"==e.context.type&&(E=e.context.indented),e.context=new l(E,n,T,null,e.context)}function o(e){var n=e.context.type;return(")"==n||"]"==n||"}"==n)&&(e.indented=e.context.indented),e.context=e.context.prev}const f={name:"ttcn",startState:function(){return{tokenize:null,context:new l(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var T=n.context;if(e.sol()&&(null==T.align&&(T.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;t=null;var E=(n.tokenize||c)(e,n);if("comment"==E)return E;if(null==T.align&&(T.align=!0),";"!=t&&":"!=t&&","!=t||"statement"!=T.type)if("{"==t)N(n,e.column(),"}");else if("["==t)N(n,e.column(),"]");else if("("==t)N(n,e.column(),")");else if("}"==t){for(;"statement"==T.type;)T=o(n);for("}"==T.type&&(T=o(n));"statement"==T.type;)T=o(n)}else t==T.type?o(n):L&&(("}"==T.type||"top"==T.type)&&";"!=t||"statement"==T.type&&"newstatement"==t)&&N(n,e.column(),"statement");else o(n);return n.startOfLine=!1,E},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"#"}}}}}]);