! Syntax highlighting patterns for TTCN-3 Core Language ! !Install with ! nedit -import ! ! Version: 1.0 ! Complies with BNF published in TTCN-3 CL version 1.1.2 ! Date: 18 January 2002 ! Author: János Zoltán Szabó ! Conformance Center, Ericsson Research, Budapest, Hungary ! ! Version 1.1 ! Corrected to work with nedit 5.0 ! Date: 19 February 2002 ! ! Version 1.2 ! Updated for Edition 2 BNF. ! Date: 4 September 2002 ! Author: Csaba Koppány ! ! Version 1.3 ! Charstring literals are parsed in Phase 1. ! Date: 6 February 2003 ! Author: János Zoltán Szabó ! ! Version 1.4 ! Missing float constants were added. ! Date: 7 July 2003 ! Author: János Zoltán Szabó nedit.languageModes: TTCN-3:.ttcn .ttcn3 .3mp::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~" nedit.highlightPatterns: TTCN-3:1:0{\n\ comment:"/\\*":"\\*/"::Comment::\n\ cpluspluscomment:"//":"\\n"::Comment::\n\ float:"<(0|[1-9][0-9]*)((\.[0-9]+)|((\.[0-9]+)?[Ee][+-]?(0|[1-9][0-9]*)))>":::Numeric Const::D\n\ number:"<(0|[1-9][0-9]*)>":::Numeric Const::D\n\ charstring:"""":"""":"\\n":String::\n\ bitstring:"<'[01]*'B>":::Character Const::D\n\ hexstring:"<'[0-9A-Fa-f]*'H>":::Character Const::D\n\ octetstring:"<'([0-9a-fA-F][0-9a-fA-F])*'O>":::String1::D\n\ template_match:"<\\?|\\*|-|complement|ifpresent|subset|superset>":::Preprocessor::D\n\ keyword:"<(activate|address|all|alt|altstep|and|and4b|any|component|const|control|deactivate|display|do|else|encode|enumerated|except|exception|execute|expand|extension|external|for|from|function|goto|group|if|import|in|infinity|inout|interleave|label|language|length|log|match|message|mixed|mod|modifies|module|modulepar|mtc|named|not|not4b|nowait|of|omit|on|optional|or|or4b|out|override|param|parameters|pattern|port|procedure|record|recursive|rem|repeat|return|runs|self|sender|set|signature|system|template|testcase|timer|to|type|union|value|valueof|var|variant|verdict|while|with|xor|xor4b)>":::Keyword::D\n\ type:"<(anytype|bitstring|boolean|char|charstring|default|float|hexstring|integer|objid|octetstring|universal|verdicttype)>":::Storage Type::D\n\ timer_op:"<(start|stop|timeout|read|running)>":::Preprocessor1::D\n\ port_op:"<(call|catch|check|clear|getcall|getreply|raise|receive|reply|send|trigger)>":::Preprocessor1::D\n\ config_op:"<(create|connect|disconnect|done|map|unmap)>":::Preprocessor1::D\n\ verdict_op:"<(getverdict|setverdict)>":::Preprocessor1::D\n\ sut_op:"<(action)>":::Preprocessor1::D\n\ predefined_op:"<(int2char|char2int|int2unichar|unichar2int|bit2int|hex2int|oct2int|str2int|int2bit|int2hex|int2oct|int2str|lengthof|sizeof|ispresent|ischosen|regexp|bit2str|hex2str|oct2str|str2oct|bit2hex|hex2oct|bit2oct|hex2bit|oct2hex|oct2bit|int2float|float2int|rnd|substr|char2oct|oct2char|str2bit|str2hex|float2str|str2float)>":::Keyword::D\n\ boolean_const:"<(true|false)>":::Numeric Const::D\n\ verdict:"<(none|pass|inconc|fail|error)>":::Character Const::D\n\ address:"<(null)>":::Character Const::D\n\ braces:"[\\[({})\\]]":::Keyword::D\n\ identifier:"<[A-Za-z][A-Za-z0-9_]*>":::Identifier::D\n\ }