filesbox/web/dist/93962.280535ad.async.js

2 lines
4.2 KiB
JavaScript
Raw Normal View History

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