Commit 4a6ce22c authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ re-included tests and web modules

+ added terminals to web editor
parent f0f81a49
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
and|or|xor|and4b|xor4b|or4b|not|not4b|&|;|:|_|^|-|+|[|]|(|)|{|}|,|<|>|!=|>=|<=|==|*|/|mod|rem|!|?|<<|>>|<@|@>|<?>|<*>|:=|=>|@index|@deterministic|@lazy|@fuzzy|@nocase|self|->|\\|#|@|%|$|__FILE__|__LINE__|__BFILE__|__SCOPE__|__MODULE__|null|module|encode|variant|display|extension|override|optional|with|const|boolean|integer|language|type|record|union|set|of|enumerated|length|port|message|all|procedure|mixed|component|extends|template|modifies|pattern|complement|subset|superset|permutation|ifpresent|present|infinity|match|valueof|function|return|runs|on|mtc|signature|exception|noblock|testcase|system|execute|altstep|import|except|recursive|group|external|modulepar|control|var|timer|done|killed|running|create|alive|connect|disconnect|map|unmap|start|kill|send|to|call|nowait|reply|raise|receive|from|value|sender|trigger|getcall|param|getreply|check|catch|clear|stop|halt|any|checkstate|read|timeout|bitstring|octetstring|hexstring|verdicttype|float|address|default|anytype|charstring|universal|char|not_a_number|omit|in|out|inout|setverdict|getverdict|action|alt|interleave|label|goto|repeat|activate|deactivate|break|continue|log|for|while|do|if|else|select|case|


and|or|xor|and4b|xor4b|or4b|not|not4b|mod|rem|@index|@deterministic|@lazy|@fuzzy|@nocase|self|__FILE__|__LINE__|__BFILE__|__SCOPE__|__MODULE__|null|module|encode|variant|display|extension|override|optional|with|const|boolean|integer|language|type|record|union|set|of|enumerated|length|port|message|all|procedure|mixed|component|extends|template|modifies|pattern|complement|subset|superset|permutation|ifpresent|present|infinity|match|valueof|function|return|runs|on|mtc|signature|exception|noblock|testcase|system|execute|altstep|import|except|recursive|group|external|modulepar|control|var|timer|done|killed|running|create|alive|connect|disconnect|map|unmap|start|kill|send|to|call|nowait|reply|raise|receive|from|value|sender|trigger|getcall|param|getreply|check|catch|clear|stop|halt|any|checkstate|read|timeout|bitstring|octetstring|hexstring|verdicttype|float|address|default|anytype|charstring|universal|char|not_a_number|omit|in|out|inout|setverdict|getverdict|action|alt|interleave|label|goto|repeat|activate|deactivate|break|continue|log|for|while|do|if|else|select|case|
+189 −0
Original line number Diff line number Diff line
	'and';
	'or';
	'xor';
	'and4b';
	'xor4b';
	'or4b';
	'not';
	'not4b';
	'&';
	';';
	':';
	'_';
	'^';
	'-';
	'+';
	'[';
	']';
	'(';
	')';
	'{';
	'}';
	',';
	'<';
	'>';
	'!=';
	'>=';
	'<=';
	'==';
	'*';
	'/';
	'mod';
	'rem';
	'!';
	'?';
	'<<';
	'>>';
	'<@';
	'@>';
	'<?>';
	'<*>';
	':=';
	'=>';
	'@index';
	'@deterministic';
	'@lazy';
	'@fuzzy';
	'@nocase';	
	'self';
	'->';
	'\\';
	'#';
	'@';
	'%';
	'$';
	'__FILE__';
	'__LINE__';
	'__BFILE__';
	'__SCOPE__';
	'__MODULE__';
	'null';
	'module';
	'encode';
	'variant';
	'display';
	'extension';
	'override';
	'optional';
	'with';
	'const';
	'boolean';
	'integer';
	'language';
	'type';
	'record';
	'union';
	'set';
	'of';
	'enumerated';
	'length';
	'port';
	'message';
	'all';
	'procedure';
	'mixed';
	'component';
	'extends';
	'template';
	'modifies';
	'pattern';
	'complement';
	'subset';
	'superset';
	'permutation';
	'ifpresent';
	'present';
	'infinity';
	'match';
	'valueof';
	'function';
	'return';
	'runs';
	'on';
	'mtc';
	'signature';
	'exception';
	'noblock';
	'testcase';
	'system';
	'execute';
	'altstep';
	'import';
	'except';
	'recursive';
	'group';
	'external';
	'modulepar';
	'control';
	'var';
	'timer';
	'done';
	'killed';
	'running';
	'create';
	'alive';
	'connect';
	'disconnect';
	'map';
	'unmap';
	'start';
	'kill';
	'send';
	'to';
	'call';
	'nowait';
	'reply';
	'raise';
	'receive';
	'from';
	'value';
	'sender';
	'trigger';
	'getcall';
	'param';
	'getreply';
	'check';
	'catch';
	'clear';
	'stop';
	'halt';
	'any';
	'checkstate';
	'read';
	'timeout';
	'bitstring';
	'octetstring';
	'hexstring';
	'verdicttype';
	'float';
	'address';
	'default';
	'anytype';
	'charstring';
	'universal';
	'char';
	'not_a_number';
	'omit';
	'in';
	'out';
	'inout';
	'setverdict';
	'getverdict';
	'action';
	'alt';
	'interleave';
	'label';
	'goto';
	'repeat';
	'activate';
	'deactivate';
	'break';
	'continue';
	'log';
	'for';
	'while';
	'do';
	'if';
	'else';
	'select';
	'case';
+1 −1
Original line number Diff line number Diff line
define(["ace/lib/oop", "ace/mode/text", "ace/mode/text_highlight_rules"], function(oop, mText, mTextHighlightRules) {
	var HighlightRules = function() {
		var keywords = "bit2hex|bit2int|bit2oct|bit2str|char2int|char2oct|decvalue|decvalue_unichar|encvalue|encvalue_unichar|enum2int|error|fail|float2int|friend|hex2bit|hex2int|hex2oct|hex2str|inconc|int2bit|int2char|int2enum|int2float|int2hex|int2oct|int2str|int2unichar|isbound|ischosen|ispresent|isvalue|lengthof|none|oct2bit|oct2char|oct2hex|oct2int|oct2str|oct2unichar|pass|private|public|regexp|replace|rnd|sizeof|str2float|str2hex|str2int|str2oct|substr|testcasename|unichar2int|unichar2oct";
		var keywords = "bit2hex|bit2int|bit2oct|bit2str|char2int|char2oct|decvalue|decvalue_unichar|encvalue|encvalue_unichar|enum2int|error|fail|float2int|friend|hex2bit|hex2int|hex2oct|hex2str|inconc|int2bit|int2char|int2enum|int2float|int2hex|int2oct|int2str|int2unichar|isbound|ischosen|ispresent|isvalue|lengthof|none|oct2bit|oct2char|oct2hex|oct2int|oct2str|oct2unichar|pass|private|public|regexp|replace|rnd|sizeof|str2float|str2hex|str2int|str2oct|substr|testcasename|unichar2int|unichar2oct|and|or|xor|and4b|xor4b|or4b|not|not4b|mod|rem|@index|@deterministic|@lazy|@fuzzy|@nocase|self|__FILE__|__LINE__|__BFILE__|__SCOPE__|__MODULE__|null|module|encode|variant|display|extension|override|optional|with|const|boolean|integer|language|type|record|union|set|of|enumerated|length|port|message|all|procedure|mixed|component|extends|template|modifies|pattern|complement|subset|superset|permutation|ifpresent|present|infinity|match|valueof|function|return|runs|on|mtc|signature|exception|noblock|testcase|system|execute|altstep|import|except|recursive|group|external|modulepar|control|var|timer|done|killed|running|create|alive|connect|disconnect|map|unmap|start|kill|send|to|call|nowait|reply|raise|receive|from|value|sender|trigger|getcall|param|getreply|check|catch|clear|stop|halt|any|checkstate|read|timeout|bitstring|octetstring|hexstring|verdicttype|float|address|default|anytype|charstring|universal|char|not_a_number|omit|in|out|inout|setverdict|getverdict|action|alt|interleave|label|goto|repeat|activate|deactivate|break|continue|log|for|while|do|if|else|select|case|";
		this.$rules = {
			"start": [
				{token: "keyword", regex: "\\b(?:" + keywords + ")\\b"}
+4 −4
Original line number Diff line number Diff line
@@ -30,10 +30,10 @@
		<module>de.ugoe.cs.swe.TTCN3.sdk</module>
		<module>de.ugoe.cs.swe.TTCN3.repository</module>
		<module>de.ugoe.cs.swe.T3Q</module>
        <!-- 
			<module>de.ugoe.cs.swe.TTCN3.web</module>
        <module>de.ugoe.cs.swe.TTCN3.tests</module>
        <module>de.ugoe.cs.swe.TTCN3.ui.tests</module>
		<module>de.ugoe.cs.swe.TTCN3.web</module>
        <!-- 
        -->
	</modules>
	<dependencyManagement>
@@ -266,7 +266,7 @@
				-->
				<plugin>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>${maven.compiler.plugin.version}</version>
					<version>3.13.0</version>
				</plugin>
				<plugin>
					<artifactId>maven-jar-plugin</artifactId>