| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- {
- "case_insensitive": true,
- "keywords": {
- "keyword": "div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",
- "literal": "false true"
- },
- "illegal": "\\\/\\*",
- "contains": [
- {
- "className": "string",
- "begin": "'",
- "end": "'",
- "contains": [
- {
- "begin": "''"
- }
- ]
- },
- {
- "className": "string",
- "begin": "(#\\d+)+"
- },
- {
- "className": "number",
- "begin": "\\b\\d+(\\.\\d+)?(DT|D|T)",
- "relevance": 0
- },
- {
- "className": "string",
- "begin": "\"",
- "end": "\""
- },
- {
- "className": "number",
- "begin": "\\b\\d+(\\.\\d+)?",
- "relevance": 0
- },
- {
- "className": "class",
- "begin": "OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",
- "returnBegin": true,
- "contains": [
- {
- "className": "title",
- "begin": "[a-zA-Z]\\w*",
- "relevance": 0
- },
- {
- "className": "function",
- "beginKeywords": "procedure",
- "end": "[:;]",
- "keywords": "procedure|10",
- "contains": [
- {
- "$ref": "#contains.5.contains.0"
- },
- {
- "className": "params",
- "begin": "\\(",
- "end": "\\)",
- "keywords": "div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",
- "contains": [
- {
- "$ref": "#contains.0"
- },
- {
- "$ref": "#contains.1"
- }
- ]
- },
- {
- "className": "comment",
- "begin": "\/\/",
- "end": "$",
- "contains": [
- {
- "begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
- },
- {
- "className": "doctag",
- "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
- "relevance": 0
- }
- ]
- },
- {
- "className": "comment",
- "begin": "\\{",
- "end": "\\}",
- "contains": [
- {
- "$ref": "#contains.5.contains.1.contains.2.contains.0"
- },
- {
- "className": "doctag",
- "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
- "relevance": 0
- }
- ],
- "relevance": 0
- },
- {
- "className": "comment",
- "begin": "\\(\\*",
- "end": "\\*\\)",
- "contains": [
- {
- "$ref": "#contains.5.contains.1.contains.2.contains.0"
- },
- {
- "className": "doctag",
- "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
- "relevance": 0
- }
- ],
- "relevance": 10
- }
- ]
- }
- ]
- },
- {
- "$ref": "#contains.5.contains.1"
- }
- ]
- }
|