oxygene top-level property
Mode
oxygene
final
Implementation
final oxygene = Mode(
refs: {
'~contains~6': Mode(
className: "function",
beginKeywords: "function constructor destructor procedure method",
end: "[:;]",
keywords:
"function constructor|10 destructor|10 procedure|10 method|10",
contains: [
TITLE_MODE,
Mode(
className: "params",
begin: "\\(",
end: "\\)",
keywords:
"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",
contains: [Mode(ref: '~contains~3'), Mode(ref: '~contains~4')]),
Mode(ref: '~contains~0'),
Mode(ref: '~contains~1')
]),
'~contains~4': Mode(className: "string", begin: "(#\\d+)+"),
'~contains~3': Mode(
className: "string",
begin: "'",
end: "'",
contains: [Mode(begin: "''")]),
'~contains~1': Mode(
className: "comment",
begin: "\\(\\*",
end: "\\*\\)",
contains: [
PHRASAL_WORDS_MODE,
Mode(
className: "doctag",
begin: "(?:TODO|FIXME|NOTE|BUG|XXX):",
relevance: 0)
],
relevance: 10),
'~contains~0': Mode(
className: "comment",
begin: "{",
end: "}",
contains: [
PHRASAL_WORDS_MODE,
Mode(
className: "doctag",
begin: "(?:TODO|FIXME|NOTE|BUG|XXX):",
relevance: 0)
],
relevance: 0),
},
case_insensitive: true,
lexemes: "\\.?\\w+",
keywords:
"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",
illegal: "(\"|\\\$[G-Zg-z]|\\/\\*|</|=>|->)",
contains: [
Mode(ref: '~contains~0'),
Mode(ref: '~contains~1'),
C_LINE_COMMENT_MODE,
Mode(ref: '~contains~3'),
Mode(ref: '~contains~4'),
NUMBER_MODE,
Mode(ref: '~contains~6'),
Mode(
className: "class",
begin: "=\\bclass\\b",
end: "end;",
keywords:
"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",
contains: [
Mode(ref: '~contains~3'),
Mode(ref: '~contains~4'),
Mode(ref: '~contains~0'),
Mode(ref: '~contains~1'),
C_LINE_COMMENT_MODE,
Mode(ref: '~contains~6')
])
]);