flix top-level property
Implementation
final flix = Mode(refs: {}, keywords: {
"literal": "true false",
"keyword":
"case class def else enum if impl import in lat rel index let match namespace switch type yield with"
}, contains: [
C_LINE_COMMENT_MODE,
C_BLOCK_COMMENT_MODE,
Mode(className: "string", begin: "'(.|\\\\[xXuU][a-zA-Z0-9]+)'"),
Mode(className: "string", variants: [Mode(begin: "\"", end: "\"")]),
Mode(
className: "function",
beginKeywords: "def",
end: "[:={\\[(\\n;]",
excludeEnd: true,
contains: [
Mode(
className: "title",
begin:
"[^0-9\\n\\t \"'(),.`{}\\[\\]:;][^\\n\\t \"'(),.`{}\\[\\]:;]+|[^0-9\\n\\t \"'(),.`{}\\[\\]:;=]")
]),
C_NUMBER_MODE
]);