lisp top-level property
Mode
lisp
final
Implementation
final lisp = Mode(
refs: {
'~contains~7': Mode(begin: "\\(\\s*", end: "\\)", contains: [
Mode(className: "name", variants: [
Mode(
begin:
"[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*"),
Mode(begin: "\\|[^]*?\\|")
]),
Mode(endsWithParent: true, relevance: 0, contains: [
Mode(ref: '~contains~5'),
Mode(ref: '~contains~6'),
Mode(ref: '~contains~7'),
Mode(ref: '~contains~2'),
Mode(ref: '~contains~0'),
Mode(ref: '~contains~3'),
Mode(ref: '~contains~4'),
Mode(ref: '~contains~5~contains~2'),
Mode(ref: '~contains~5~contains~3'),
Mode(begin: "\\|[^]*?\\|"),
Mode(ref: '~contains~5~contains~4~contains~4')
])
]),
'~contains~6': Mode(variants: [
Mode(
begin:
"'[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*"),
Mode(
begin:
"#'[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*(::[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*)*")
]),
'~contains~5~contains~4~contains~4': Mode(
begin:
"[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*",
relevance: 0),
'~contains~5~contains~3': Mode(
className: "symbol",
begin:
"[:&][a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*"),
'~contains~5~contains~2': Mode(begin: "\\*", end: "\\*"),
'~contains~5': Mode(contains: [
Mode(ref: '~contains~0'),
Mode(ref: '~contains~3'),
Mode(ref: '~contains~5~contains~2'),
Mode(ref: '~contains~5~contains~3'),
Mode(begin: "\\(", end: "\\)", contains: [
Mode(self: true),
Mode(ref: '~contains~2'),
Mode(ref: '~contains~3'),
Mode(ref: '~contains~0'),
Mode(ref: '~contains~5~contains~4~contains~4')
]),
Mode(ref: '~contains~5~contains~4~contains~4')
], variants: [
Mode(begin: "['`]\\(", end: "\\)"),
Mode(begin: "\\(quote ", end: "\\)", keywords: {"name": "quote"}),
Mode(begin: "'\\|[^]*?\\|")
]),
'~contains~4': Mode(
className: "comment",
begin: ";",
end: "\$",
contains: [
PHRASAL_WORDS_MODE,
Mode(
className: "doctag",
begin: "(?:TODO|FIXME|NOTE|BUG|XXX):",
relevance: 0)
],
relevance: 0),
'~contains~3': Mode(
className: "string",
begin: "\"",
end: "\"",
illegal: null,
contains: [BACKSLASH_ESCAPE]),
'~contains~2': Mode(className: "literal", begin: "\\b(t{1}|nil)\\b"),
'~contains~0': Mode(className: "number", variants: [
Mode(
begin:
"(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",
relevance: 0),
Mode(begin: "#(b|B)[0-1]+(/[0-1]+)?"),
Mode(begin: "#(o|O)[0-7]+(/[0-7]+)?"),
Mode(begin: "#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"),
Mode(
begin:
"#(c|C)\\((\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)? +(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",
end: "\\)")
]),
},
illegal: "\\S",
contains: [
Mode(ref: '~contains~0'),
Mode(className: "meta", begin: "^#!", end: "\$"),
Mode(ref: '~contains~2'),
Mode(ref: '~contains~3'),
Mode(ref: '~contains~4'),
Mode(ref: '~contains~5'),
Mode(ref: '~contains~6'),
Mode(ref: '~contains~7'),
Mode(ref: '~contains~5~contains~4~contains~4')
]);