From 4353844880beb34ca027ea27991d808fc92c7a3a Mon Sep 17 00:00:00 2001 From: Peter Judge Date: Sun, 26 Apr 2026 15:09:38 -0400 Subject: [PATCH] Change colons used for property/method/attribute calls to punctuation.accessor.abl scopes --- .gitignore | 3 +- README.md | 15 ++- abl.tmLanguage.json | 116 ++++++++---------- index.mjs | 30 ++--- spec/blocks/block-labels.spec.js | 2 +- spec/blocks/block-options.spec.js | 6 +- spec/comments/vscode-abl-issue#127.spec.js | 4 +- spec/create-widgets/create-window.spec.js | 2 +- .../double-colon-access.spec.js | 4 +- spec/define-buffer/create-buffer.spec.js | 4 +- spec/define-variable/var-statement.spec.js | 2 +- spec/do/do-blocks.spec.js | 2 +- spec/do/stop-after.spec.js | 4 +- spec/function-call/nested-functions.spec.js | 4 +- spec/function-call/pass-table.spec.js | 10 +- spec/function-call/set-size.spec.js | 5 +- .../vscode-abl-issue#166.spec.js | 2 +- spec/input-output/input-from.spec.js | 2 +- spec/input-output/output-to.spec.js | 2 +- .../abl-method-attribute-call.spec.js | 8 +- .../connected-method.spec.js | 2 +- ...datset-table-attribute-method-call.spec.js | 6 +- .../get-set-method-name.spec.js | 8 +- .../method-call.spec.js | 24 ++-- .../nested-property-call.spec.js | 4 +- spec/misc-statements/case-statement.spec.js | 6 +- spec/misc-statements/copy-lob.spec.js | 2 +- spec/misc-statements/def-in-name.spec.js | 3 +- spec/misc-statements/do-in-name.spec.js | 4 +- spec/misc-statements/event-subscribe.spec.js | 64 +++++----- spec/misc-statements/if-then.spec.js | 22 ++-- spec/misc-statements/return-statement.spec.js | 2 +- spec/misc-statements/system-handles.spec.js | 10 +- spec/numbers/scientific-notation.spec.js | 2 +- .../safe-navigation-operator.spec.js | 22 ++-- .../preprocessor-functions.spec.js | 4 +- spec/run-statement/run-statement.spec.js | 8 +- spec/strings/translation-attribute.spec.js | 8 +- spec/type-name/argument.spec.js | 4 +- spec/type-name/define-property.spec.js | 2 +- .../define-variable-property.spec.js | 2 +- spec/type-name/type-name.spec.js | 8 +- 42 files changed, 218 insertions(+), 226 deletions(-) diff --git a/.gitignore b/.gitignore index 17e7f72..ed96f5c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ kwlist.txt grammar.json node_modules -npm-debug.log \ No newline at end of file +npm-debug.log +debug-* diff --git a/README.md b/README.md index 345031a..cba22fe 100644 --- a/README.md +++ b/README.md @@ -72,9 +72,9 @@ The ABL-specific scopes produced by the ABL grammar listed in the table below. T |comment.line.double-slash.abl | Everything in a `//` comment, incl. slashes | |comment.preprocessor.analyze-suspend.abl | `&analyze-suspend`, `&analyze-resume` | |constant.character.escape.abl | `~` and the next char | -|constant.language.abl | `today`, `now`, `true`, `false`, `yes`, `no`, `?` (unknown value) | +|constant.language.abl | `true`, `false`, `yes`, `no`, `?` (unknown value) | |constant.language.source.abl | `99/99/9999` (or similar) when used as a format clause | -|constant.numeric.source.abl | 0x00-0xFF, 0-9, scientific notation | +|constant.numeric.source.abl | `0x00`-`0xFF`, `0`-`9`, scientific notation | |entity.name.function.abl | Method call, property call, method name, property name, handle attributes, handle methods, event names | |entity.name.function.preprocessor.abl | Preprocessor names, including built-ins like `opsys` and `process-architecture` | |entity.name.include.abl | Include file names | @@ -85,23 +85,22 @@ The ABL-specific scopes produced by the ABL grammar listed in the table below. T |entity.name.type.abl | Class/interface/enum names | |entity.name.type.generic.abl | Generic type names | |entity.other.attribute-name.abl | Annotation attribute names | -|keyword.control.directive.conditional.abl | `&if` , `&else`, `&elsif` `&end` | +|keyword.control.directive.conditional.abl | `&if` , `&else`, `&elseif`, `&end` | |keyword.control.directive.define.abl | `&scoped-define`, `&global-define`, `&undefine` | |keyword.operator.source.abl | `contains`, `begins`, `matches`, `eq`, `le`, `lt`, `ge`, `gt`, `ne`, `<=`, `<>`, `>=`, `=`, `+`, `-`, `/`, `<`, `>`, `*`, `+=`, `-=`, `/=`, `*=`, `?:` | |keyword.other.abl | Any ABL keyword (incl those covered by other scopes like `support.function.abl` and `entity.name.function.abl`) | -|punctuation.accessor.abl | `::` used to reference buffer field names or dataset buffer names| +|punctuation.accessor.abl | `:` when used for method, property and attribute access. `::` when used to reference buffer field names or dataset buffer names| |punctuation.definition.bracket.square.begin.abl | `[` used for array arguments | |punctuation.definition.bracket.square.end.abl | `]` used for array arguments | |punctuation.definition.generic.begin.abl | `<` used for generic type arguments | |punctuation.definition.generic.end.abl | `>` used for generic type arguments | |punctuation.definition.preprocessor.abl | Leading `&` of referenced preprocessor and directives | -|punctuation.definition.string.begin.abl | Start of a quoted string | -|punctuation.definition.string.end.abl | End of a quoted string | +|punctuation.definition.string.begin.abl | Starting `"` or `'` of a quoted string | +|punctuation.definition.string.end.abl | Closing `"` or `'` of a quoted string | |punctuation.section.abl | `{` and `}` | |punctuation.separator.comma.abl | `,` | |punctuation.separator.continuation | `~` at the end of a line (preprocessor) | |punctuation.separator.period.abl | `.` | -|punctuation.separator.colon.abl | `:` | |punctuation.terminator.abl | `.` and `:` | |storage.data.database.abl | Statically-defined database names, e.g.in the `create alias` statement | |storage.data.dataset.abl | Statically-defined dataset names, data-relation names | @@ -111,7 +110,7 @@ The ABL-specific scopes produced by the ABL grammar listed in the table below. T |storage.type.function.abl | `defined` keyword and preprocessor directives like `&message` | |string.quoted.double.abl | String in `"` quotes | |string.quoted.single.abl | String in `'` quotes | -|support.function.abl | `opsys`, `proversion`, ABL functions (eg `base64-encode`). Note that `TRANSACTION` in a `FOR EACH` statement will be scoped this way | +|support.function.abl | `opsys`, `proversion`, ABL functions (eg `base64-encode`). Includes functions like `today` that have no or optional parameters. Note that `transaction` in a `for each` statement will be scoped this way | |support.other.abl | Translation attributes `:L`, `:R`, `:T`, `:C`, `:U` | |support.other.argument.abl | `&` arguments in includes | |variable.language.abl | ABL system handles (eg `session` or `this-object`) | diff --git a/abl.tmLanguage.json b/abl.tmLanguage.json index ca3c7a0..64aad96 100644 --- a/abl.tmLanguage.json +++ b/abl.tmLanguage.json @@ -1105,7 +1105,7 @@ } ] }, - "get-query" :{ + "get-query": { "begin": "(?i)\\b(get)\\s+(first|next|prev|last|current)\\b", "beginCaptures": { "1": { @@ -2717,14 +2717,6 @@ } } }, - "double-colon-field-name": { - "match": "\\s*::([a-zA-Z_\\-#$%]+)\\s*", - "captures": { - "1": { - "name": "storage.data.table.abl" - } - } - }, "for-table": { "match": "(?i)\\s*(for)\\s+((temp-table)\\s+)?([a-zA-Z_\\-#$%]+)\\s*", "captures": { @@ -3013,7 +3005,7 @@ "name": "keyword.operator.source.abl" }, "3": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "4": { "name": "entity.name.function.abl" @@ -3037,7 +3029,7 @@ "name": "entity.name.type.abl" }, "3": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" } } }, @@ -3052,7 +3044,7 @@ "name": "punctuation.separator.comma.abl" }, "4": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" } } }, @@ -3705,14 +3697,14 @@ } ] }, - "dynamic-buffer-field-access" : { + "dynamic-buffer-field-access": { "match": "(::)([a-zA-Z_][a-zA-Z0-9#$\\-_%&]*)", "captures": { "1": { "name": "punctuation.accessor.abl" }, "2": { - "name":"storage.data.table.abl" + "name": "storage.data.table.abl" } } }, @@ -3724,7 +3716,7 @@ "name": "entity.name.type.abl" }, "4": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "7": { "name": "entity.name.function.abl" @@ -3746,7 +3738,7 @@ "name": "keyword.operator.source.abl" }, "3": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "4": { "name": "entity.name.function.abl" @@ -3883,7 +3875,7 @@ "include": "#variable-name" }, { - "include": "#double-colon-field-name" + "include": "#dynamic-buffer-field-access" } ] }, @@ -4162,7 +4154,7 @@ "name": "variable.language.abl" }, "2": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" } } }, @@ -4189,7 +4181,7 @@ "match": "(:)", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" } } }, @@ -4733,7 +4725,7 @@ }, "keywords-S": { "comment": "The keyword must not have a trailing variable character (one of #$-_%&)", - "match": "(?i)\\b(s(?:ave|ave-as|ax-attributes|ax-complete?|ax-comple|ax-parser-error|ax-reader|ax-running|ax-uninitialized|ax-write-begin|ax-write-complete|ax-write-content|ax-write-element|ax-write-error|ax-write-idle|ax-write-tag|ax-writer|ax-xml|chema|creen|creen-io|croll|croll-bars|croll-horizontal|croll-left|croll-mode|croll-notify|croll-right|croll-vertical|crollable|crollbar-drag|crolled-row-position?|crolled-row-positi?|crolled-row-posi?|crolling|earch-self|earch-target|ection|ecurity-policy|eek|elect|elect-extend|elect-on-join|elect-repositioned-row|elected-items|election|election-extend|election-list|elf|end|ensitive|eparate-connection|eparators|erializable|erialize-hidden|erialize-name|erver|erver-socket|ession|et|et-attr-call-type|et-byte-order|et-cell-focus|et-contents|et-db-logging|et-event-manager-option|et-option|et-pointer-value?|et-pointer-val|et-state|ettings|hare-lock?|hare-lo?|hare-?|hared|hort|how-in-taskbar?|how-in-taskb?|how-stats?|ide-labels?|ide-labe?|ignature|ilent|imple|ingle|ingle-character|ingle-run|ingleton|ize|ize-chars?|ize-cha?|ize-c|ize-pixels?|ize-pixe?|ize-pi?|kip|kip-group-duplicates|kip-schema-check|lider|mallint|oap-fault|oap-header|oap-header-entryref|ocket|ome|ource|ource-procedure|pace|ql|tart|tart-box-selection|tart-extend-box-selection|tart-mem-check|tart-move|tart-resize|tart-row-resize|tart-search|tarting|tatic|tatus|tatus-area|tatus-area-msg|tdcall|tomp-detection|tomp-frequency|top|top-after|top-display|top-mem-check|tored-procedure?|tored-procedu?|tored-proce?|tream|tream-handle|tream-io|tring-xref|ub-average?|ub-avera?|ub-ave|ub-count|ub-maximum?|ub-maxim?|ub-max|ub-menu|ub-menu-help|ub-minimum?|ub-minim?|ub-min|ub-total|ubscribe|ubstring?|ubstri?|um|ummary|uper|uspend|ystem-dialog|ystem-help))\\b(?![#$\\-_%&])", + "match": "(?i)\\b(s(?:ave|ave-as|ax-attributes|ax-complete?|ax-comple|ax-parser-error|ax-reader|ax-running|ax-uninitialized|ax-write-begin|ax-write-complete|ax-write-content|ax-write-element|ax-write-error|ax-write-idle|ax-write-tag|ax-writer|ax-xml|chema|creen|creen-io|croll|croll-bars|croll-horizontal|croll-left|croll-mode|croll-notify|croll-right|croll-vertical|crollable|crollbar-drag|crolled-row-position?|crolled-row-positi?|crolled-row-posi?|crolling|earch-self|earch-target|ection|ecurity-policy|eek|elect|elect-extend|elect-on-join|elect-repositioned-row|elected-items|election|election-extend|election-list|elf|end|ensitive|eparate-connection|eparators|erializable|erialize-hidden|erialize-name|erver|erver-socket|ession|et|et-attr-call-type|et-byte-order|et-cell-focus|et-contents|et-db-logging|et-event-manager-option|et-option|et-pointer-value?|et-pointer-val|et-state|ettings|hare-lock?|hare-lo?|hare-?|hared|hort|how-in-taskbar?|how-in-taskb?|how-stats?|ide-labels?|ide-labe?|ignature|ilent|imple|ingle|ingle-character|ingle-run|ingleton|ize|ize-chars?|ize-cha?|ize-c|ize-pixels?|ize-pixe?|ize-pi?|kip-group-duplicates|kip-schema-check|lider|mallint|oap-fault|oap-header|oap-header-entryref|ocket|ome|ource|ource-procedure|pace|ql|tart|tart-box-selection|tart-extend-box-selection|tart-mem-check|tart-move|tart-resize|tart-row-resize|tart-search|tarting|tatic|tatus|tatus-area|tatus-area-msg|tdcall|tomp-detection|tomp-frequency|top|top-after|top-display|top-mem-check|tored-procedure?|tored-procedu?|tored-proce?|tream|tream-handle|tream-io|tring-xref|ub-average?|ub-avera?|ub-ave|ub-count|ub-maximum?|ub-maxim?|ub-max|ub-menu|ub-menu-help|ub-minimum?|ub-minim?|ub-min|ub-total|ubscribe|ubstring?|ubstri?|um|ummary|uper|uspend|ystem-dialog|ystem-help))\\b(?![#$\\-_%&])", "captures": { "1": { "name": "keyword.other.abl" @@ -4874,7 +4866,7 @@ "match": "(?i)(:)(a(?:ccelerator|ctive|ctor|dm-data|fter-buffer|fter-rowid|fter-table|llow-column-searching|llow-prev-deserialization|lways-on-top|mbiguous?|mbiguo?|mbig|ppl-alert-boxes?|ppl-alert-box?|ppl-alert-b?|ppl-alert|ppl-context-id|ppserver-info|ppserver-password|ppserver-userid|sync-request-count|sync-request-handle|synchronous|ttached-pairlist|ttr-space?|ttr-spa?|ttr-s?|ttr|ttribute-names|udit-event-context|uto-completion?|uto-completi?|uto-comple?|uto-comp|uto-delete|uto-delete-xml|uto-end-key|uto-go|uto-indent?|uto-inde?|uto-resize|uto-return?|uto-retu?|uto-synchronize|uto-validate?|uto-valida?|uto-vali?|uto-zap?|uto-z|vailable-formats|vailable?|vailab?|vail))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4885,7 +4877,7 @@ "match": "(?i)(:)(b(?:ackground?|ackgrou?|ackgr?|ack|ase-ade|asic-logging|atch-mode|atch-size|efore-buffer|efore-rowid|efore-table|gcolor?|gcol?|gc|lank|lock-iteration-display|order-bottom-chars?|order-bottom-cha?|order-bottom-c|order-bottom-pixels?|order-bottom-pixe?|order-bottom-pi?|order-left-chars?|order-left-cha?|order-left-c|order-left-pixels?|order-left-pixe?|order-left-pi?|order-right-chars?|order-right-cha?|order-right-c|order-right-pixels?|order-right-pixe?|order-right-pi?|order-top-chars?|order-top-cha?|order-top-c|order-top-pixels?|order-top-pixe?|order-top-pi?|ox|ox-selectable?|ox-selectab?|ox-select|uffer-chars|uffer-field|uffer-group-id|uffer-group-name|uffer-handle|uffer-lines|uffer-name?|uffer-na?|uffer-partition-id|uffer-tenant-id|uffer-tenant-name|ytes-read|ytes-written))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4896,7 +4888,7 @@ "match": "(?i)(:)(c(?:ache|all-name|all-type|an-create?|an-crea|an-delete?|an-dele|an-do-domain-support|an-read|an-write?|ancel-button|ancelled|areful-paint|ase-sensitive?|ase-sensiti?|ase-sensi?|ase-sen|entered?|enter|harset|hecked|hild-buffer|hild-num|lass-type|lient-connection-id|lient-tty|lient-type|lient-workstation|ode|odepage|olumn-bgcolor?|olumn-bgcol?|olumn-bgc|olumn-dcolor|olumn-fgcolor?|olumn-fgcol?|olumn-fgc|olumn-font|olumn-label?|olumn-lab|olumn-movable|olumn-pfcolor?|olumn-pfcol?|olumn-pfc|olumn-read-only|olumn-resizable|olumn-scrolling?|olumn-scrolli?|olumn-scrol?|olumn-scr?|olumns?|om-handle|omplete|onfig-name|ontext-help|ontext-help-file|ontext-help-id|ontrol-box|onvert-3d-colors?|onvert-3d-colo?|onvert-3d-co?|onvert-3d-?|overage|pcase|pcoll|pinternal?|pintern?|pinte?|plog|pprint|prcodein|prcodeout|pstream|pterm|rc-value?|rc-val|urrent-changed|urrent-column|urrent-environment?|urrent-environme?|urrent-environ?|urrent-envir?|urrent-env|urrent-iteration|urrent-request-info|urrent-response-info|urrent-result-row|urrent-row-modified|urrent-window|ursor-char|ursor-line|ursor-offset))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4907,7 +4899,7 @@ "match": "(?i)(:)(d(?:ata-entry-return?|ata-entry-retu?|ata-source|ata-source-complete-map|ata-source-modified|ata-source-rowid|ata-type?|ata-ty?|ataset|ate-format?|ate-form?|ate-fo?|b-context|b-list|b-references|bname|color|de-error|de-id?|de-item|de-name|de-topic|eblank|ebug-alert|ecimals|efault|efault-buffer-handle|efault-button?|efault-butt?|efault-commit|efault-string|efault-value|elimiter|escription?|escripti?|irectory|isable-auto-zap|isplay-timezone|isplay-type?|isplay-ty?|omain-description|omain-name|omain-type|own|rag-enabled|rop-target|ynamic))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4918,7 +4910,7 @@ "match": "(?i)(:)(e(?:dge-chars?|dge-cha?|dge-c|dge-pixels?|dge-pixe?|dge-pi?|dit-can-paste|dit-can-undo|mpty|nabled|ncoding|ncryption-salt|nd-user-prompt|ntity-expansion-limit|ntry-types-list|rror|rror-column?|rror-colu?|rror-object|rror-object-detail|rror-row|rror-stack-trace|rror-string|vent-group-id|vent-handler|vent-handler-object|vent-procedure|vent-procedure-context|vent-type?|vent-ty?|xclusive-id|xecution-log|xit-code|xpand|xpandable|xtent))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4929,7 +4921,7 @@ "match": "(?i)(:)(f(?:gcolor?|gcol?|gc|ile-create-date?|ile-create-da?|ile-create-time?|ile-create-ti?|ile-mod-date?|ile-mod-da?|ile-mod-time?|ile-mod-ti?|ile-name|ile-offset?|ile-offs?|ile-size|ile-type|ill-mode|ill-where-string|illed|irst-async-request?|irst-async-reque?|irst-async-req?|irst-async-r?|irst-async|irst-buffer|irst-child|irst-column|irst-data-source|irst-dataset|irst-form|irst-object|irst-procedure?|irst-procedu?|irst-proce?|irst-query|irst-server-socket|irst-server?|irst-serv|irst-socket|irst-tab-item?|irst-tab-it?|it-last-column|lat-button|ocused-row|ocused-row-selected|ont|oreground?|oregrou?|oregr?|ore|oreign-key-hidden|orm-input|orm-long-input|ormatted?|ormat?|orm|orward-only|ragment?|rame-col|rame-name|rame-row|rame-spacing?|rame-spaci?|rame-spa|rame-x|rame-y|rame?|requency|ull-height-chars?|ull-height-cha?|ull-height-c|ull-height-pixels?|ull-height-pixe?|ull-height-pi?|ull-pathname?|ull-pathna?|ull-width-chars?|ull-width-cha?|ull-width-c?|ull-width|ull-width-pixels?|ull-width-pixe?|ull-width-pi?|unction))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4940,7 +4932,7 @@ "match": "(?i)(:)(gr(?:aphic-edge?|aphic-ed?|id-factor-horizontal?|id-factor-horizont?|id-factor-horizo?|id-factor-hori?|id-factor-ho?|id-factor-vertical?|id-factor-vertic?|id-factor-vert?|id-factor-ve?|id-snap|id-unit-height-chars?|id-unit-height-cha?|id-unit-height-c|id-unit-height-pixels?|id-unit-height-pixe?|id-unit-height-pi?|id-unit-width-chars?|id-unit-width-cha?|id-unit-width-c|id-unit-width-pixels?|id-unit-width-pixe?|id-unit-width-pi?|id-visible|oup-box))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4951,7 +4943,7 @@ "match": "(?i)(:)(h(?:andler??|as-lobs|as-records|eight-chars?|eight-cha?|eight-c|eight-pixels?|eight-pixe?|eight-pi?|elp|idden|orizontal?|orizont?|orizo?|ori|tml-charset|tml-end-of-line|tml-end-of-page|tml-frame-begin|tml-frame-end|tml-header-begin|tml-header-end|tml-title-begin|tml-title-end|wnd))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4962,7 +4954,7 @@ "match": "(?i)(:)(i(?:cfparameter?|cfparamet?|cfparam|con|gnore-current-modified?|gnore-current-modifi?|gnore-current-modi?|mage|mage-down|mage-insensitive|mage-up|mmediate-display|n-handle|ndex|ndex-information?|ndex-informati?|ndex-informa?|ndex-infor?|nherit-bgcolor?|nherit-bgcol?|nherit-bgc|nherit-fgcolor?|nherit-fgcol?|nherit-fgc|nitial|nner-chars|nner-lines|nput-value|nstantiating-procedure|nternal-entries|s-class?|s-json|s-multi-tenant|s-open|s-parameter-set|s-partitioned?|s-xml|tems-per-row))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4973,7 +4965,7 @@ "match": "(?i)(:)(ke(?:ep-connection-open|ep-frame-z-order?|ep-frame-z-ord?|ep-frame-z-o?|ep-frame-z|ep-security-cache|ys??))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4984,7 +4976,7 @@ "match": "(?i)(:)(l(?:abel|abel-bgcolor?|abel-bgcol?|abel-bgc|abel-dcolor?|abel-dcol?|abel-dc|abel-fgcolor?|abel-fgcol?|abel-fgc|abel-font|abels|abels-have-colons|anguages?|arge|arge-to-small|ast-async-request?|ast-async-reque?|ast-async-req?|ast-async-r?|ast-async|ast-batch|ast-child|ast-form|ast-object|ast-procedure?|ast-procedu?|ast-proce|ast-server-socket|ast-server?|ast-serv|ast-socket|ast-tab-item?|ast-tab-it?|ength|ibrary|ibrary-calling-convention|ine|ist-item-pairs|ist-items|istings|iteral-question|ocal-host|ocal-name|ocal-port|ocal-version-info|ocator-column-number|ocator-line-number|ocator-public-id|ocator-system-id|ocator-type|ocked|og-entry-types|og-threshold|ogfile-name|ogging-level|ogin-expiration-timestamp|ogin-host|ogin-state))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -4995,7 +4987,7 @@ "match": "(?i)(:)(m(?:andatory|anual-highlight|ax-button|ax-chars|ax-data-guess|ax-height-chars?|ax-height-cha?|ax-height-c|ax-height-pixels?|ax-height-pixe?|ax-height-pi?|ax-value?|ax-val|ax-width-chars?|ax-width-cha?|ax-width-c|ax-width-pixels?|ax-width-pixe?|ax-width-pi?|aximum-level|enu-bar|enu-key?|enu-k|enu-mouse?|enu-mou?|enu-m|erge-by-field|essage-area|essage-area-font|in-button|in-column-width-chars?|in-column-width-cha?|in-column-width-c|in-column-width-pixels?|in-column-width-pixe?|in-column-width-pi?|in-height-chars?|in-height-cha?|in-height-c|in-height-pixels?|in-height-pixe?|in-height-pi?|in-schema-marshall?|in-value?|in-val|in-width-chars?|in-width-cha?|in-width-c|in-width-pixels?|in-width-pixe?|in-width-pi?|odified|ouse-pointer?|ouse-point?|ouse-poi?|ouse-p|ovable|ulti-compile|ultiple|ultitasking-interval|ust-understand))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5006,7 +4998,7 @@ "match": "(?i)(:)(n(?:ame|amespace-prefix|amespace-uri|eeds-appserver-prompt|eeds-prompt|ested|ew|ew-row|ext-column?|ext-colu?|ext-rowid|ext-sibling|ext-tab-item?|o-current-value|o-empty-space|o-focus|o-schema-marshall?|o-validate?|o-valida?|o-vali?|ode-value|onamespace-schema-location|um-buffers|um-buttons?|um-butto?|um-but|um-child-relations|um-children|um-columns?|um-colum?|um-col|um-dropped-files|um-entries|um-fields|um-formats|um-header-entries|um-items|um-iterations|um-lines|um-locked-columns?|um-locked-colum?|um-locked-col|um-log-files|um-messages|um-parameters|um-references|um-relations|um-replaced?|um-replac?|um-repl|um-results|um-selected-rows|um-selected-widgets|um-source-buffers|um-tabs|um-to-retain|um-top-buffers|um-visible-columns?|um-visible-colum?|um-visible-col|umeric-decimal-point?|umeric-decimal-poi?|umeric-decimal-p?|umeric-decimal?|umeric-decim?|umeric-dec|umeric-format?|umeric-form?|umeric-fo?|umeric-separator?|umeric-separat?|umeric-separ?|umeric-sep))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5017,7 +5009,7 @@ "match": "(?i)(:)(o(?:n-frame-border?|n-frame-bord?|n-frame-bo?|n-frame-?|ptions|rdinal|rigin-handle|rigin-rowid|verlay|wner|wner-document))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5028,7 +5020,7 @@ "match": "(?i)(:)(p(?:age-bottom?|age-bott?|age-top|arameter?|aramet?|aram|arent|arent-buffer|arent-fields-after|arent-fields-before|arent-id-relation|arent-relation?|arent-relati?|arent-rela?|arse-status|assword-field|athname|be-hash-algorithm?|be-hash-algorit?|be-hash-algor?|be-hash-alg|be-key-rounds|ersistent-cache-disabled|ersistent-procedure|ersistent?|ersiste?|fcolor?|fcol?|fc|ixels-per-column?|ixels-per-colu?|ixels-per-row|opup-menu?|opup-me?|opup-only?|opup-on?|osition|refer-dataset|repare-string|repared|rev-column?|rev-colu?|rev-sibling|rev-tab-item?|rev-tab-it?|rimary|rimary-passphrase|rinter-control-handle|rinter-hdc|rinter-name|rinter-port|rivate-data?|rivate-da?|rocedure-name|rocedure-type|rofiling|rogress-source?|rogress-sour?|rogress-so?|roxy|roxy-password|roxy-userid|ublic-id|ublished-events))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5039,7 +5031,7 @@ "match": "(?i)(:)(qu(?:alified-user-id|ery|ery-off-end|it))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5050,7 +5042,7 @@ "match": "(?i)(:)(r(?:adio-buttons|ead-only|ecid|ecord-length?|ecord-leng?|ecursive|efreshable|ejected|elation-fields?|elation-fiel?|elation-fi|elations-active|emote|emote-host|emote-port|eposition|equest-info|esizable?|esizab?|esize|esponse-info|estart-row|estart-rowid|etain-shape?|etain-sha?|etain-s|eturn-inserted?|eturn-insert?|eturn-inse?|eturn-value-data-type|eturn-value-dll-type|eturn-value?|eturn-val|oles??|ounded|ow|ow-height-chars?|ow-height-cha?|ow-height-c|ow-height-pixels?|ow-height-pixe?|ow-height-pi?|ow-markers?|ow-marke?|ow-mar?|ow-resizable|ow-state|owid))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5061,7 +5053,7 @@ "match": "(?i)(:)(s(?:ave-where-string|chema-change|chema-location|chema-marshal|chema-path|creen-lines|creen-value?|creen-val|croll-bars|crollable|crollbar-horizontal?|crollbar-horizont?|crollbar-horizo?|crollbar-hori?|crollbar-ho?|crollbar-vertical?|crollbar-vertic?|crollbar-vert?|crollbar-ve?|eal-timestamp|electable|elected|election-end|election-start|election-text|ensitive|eparator-fgcolor?|eparator-fgcol?|eparator-fgc|eparators|erialize-hidden|erialize-name|erver|erver-connection-bound-request?|erver-connection-bound-reque?|erver-connection-bound-req?|erver-connection-bound?|erver-connection-bou?|erver-connection-context?|erver-connection-conte?|erver-connection-con?|erver-connection-id|erver-operating-mode|ession-end|ession-id|how-in-taskbar?|how-in-taskb?|ide-label-handle?|ide-label-hand?|ide-label-ha?|ide-labels|ignature-value|ingle-run|ingleton|kip-deleted-record?|kip-deleted-reco?|mall-icon|mall-title|oap-fault-actor|oap-fault-code|oap-fault-detail|oap-fault-misunderstood-header|oap-fault-node|oap-fault-role|oap-fault-string|oap-fault-subcode|oap-version|ort|ort-ascending|ort-number|sl-server-name|tandalone|tartup-parameters|tate-detail|tatistics|tatus-area|tatus-area-font|top|top-object|topped?|tream|tretch-to-fit|trict|trict-entity-resolution|ubtype|uper-procedures?|uper-procedur?|uper-proced?|uper-proc|uppress-namespace-processing|uppress-warnings-list|uppress-warnings?|uppress-warnin?|uppress-warn?|uppress-wa?|ymmetric-encryption-aad|ymmetric-encryption-algorithm|ymmetric-encryption-iv|ymmetric-encryption-key|ymmetric-support|ystem-alert-boxes?|ystem-alert-box?|ystem-alert-b?|ystem-alert|ystem-id))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5072,7 +5064,7 @@ "match": "(?i)(:)(t(?:ab-position|ab-stop|able|able-crc-list|able-handle|able-list|able-number?|able-numb?|emp-directory?|emp-directo?|emp-direc?|emp-dir|ext-selected|hread-safe|hree-d|ic-marks|ime-source|imezone|itle|itle-bgcolor?|itle-bgcol?|itle-bgc|itle-dcolor?|itle-dcol?|itle-dc|itle-fgcolor?|itle-fgcol?|itle-fgc|itle-font?|itle-fo|oggle-box|ooltips??|op-nav-query|op-only|race-filter|racing|racking-changes|rans-init-procedure?|rans-init-procedu?|rans-init-proce?|ransaction?|ransacti?|ransparent?|ranspare?|ype))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5083,7 +5075,7 @@ "match": "(?i)(:)(u(?:ndo|ndo-throw-scope|nique-id|nique-match|rl|rl-password|rl-userid|ser-id))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5094,7 +5086,7 @@ "match": "(?i)(:)(v(?:6display|alidate-expression?|alidate-message|alidate-xml|alidation-enabled|alue|ersion|iew-as|iew-first-column-on-reopen|irtual-height-chars?|irtual-height-cha?|irtual-height-c|irtual-height-pixels?|irtual-height-pixe?|irtual-height-pi?|irtual-width-chars?|irtual-width-cha?|irtual-width-c|irtual-width-pixels?|irtual-width-pixe?|irtual-width-pi?|isible))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5105,7 +5097,7 @@ "match": "(?i)(:)(w(?:arning|c-admin-app|here-string|idget-enter?|idget-ent?|idget-e|idget-id|idget-leave?|idget-lea?|idget-l|idth-chars?|idth-cha?|idth-c|idth-pixels?|idth-pixe?|idth-pi?|indow|indow-state?|indow-sta|indow-system?|indow-syst?|ord-wrap|ork-area-height-pixels?|ork-area-height-pixe?|ork-area-height-pi?|ork-area-width-pixels?|ork-area-width-pixe?|ork-area-width-pi?|ork-area-x|ork-area-y|rite-status))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5116,7 +5108,7 @@ "match": "(?i)(:)(x(?:|-document|code-session-key|ml-data-type|ml-entity-expansion-limit|ml-node-name|ml-node-type|ml-schema-path?|ml-strict-entity-resolution|ml-suppress-namespace-processing))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5127,7 +5119,7 @@ "match": "(?i)(:)(y(?:|ear-offset))\\b(?![#$\\-_%&])", "captures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "entity.name.function.abl" @@ -5196,7 +5188,7 @@ "begin": "(?i)(:)(a(?:ccept-changes|ccept-row-changes|dd-buffer|dd-calc-column?|dd-calc-colu?|dd-columns-from|dd-events-procedure?|dd-events-procedu?|dd-events-proce?|dd-fields-from|dd-first|dd-header-entry|dd-index-field|dd-last|dd-like-column?|dd-like-colu?|dd-like-field|dd-like-index|dd-new-field|dd-new-index|dd-parent-id-relation|dd-relation?|dd-relati?|dd-rela?|dd-schema-location|dd-source-buffer|dd-super-procedure?|dd-super-procedu?|dd-super-proce?|ppend-child|pply-callback|ttach-data-source|uthentication-failed))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5218,7 +5210,7 @@ "begin": "(?i)(:)(b(?:egin-event-group|uffer-compare?|uffer-compa?|uffer-copy|uffer-create|uffer-delete|uffer-export|uffer-export-fields|uffer-field|uffer-import|uffer-import-fields|uffer-release?|uffer-validate|uffer-value))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5240,7 +5232,7 @@ "begin": "(?i)(:)(c(?:ancel-break|ancel-requests|ancel-requests-after|lear|lear-appl-context|lear-log|lear-selection?|lear-selecti?|lear-sort-arrows?|lone-node|lose-log|onnect|onnected|onvert-to-offset?|onvert-to-offs|opy-dataset|opy-sax-attributes|opy-temp-table|reate-like|reate-like-sequential|reate-node|reate-node-namespace|reate-result-list-entry|urrent-query))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5262,7 +5254,7 @@ "begin": "(?i)(:)(d(?:ebug?|eclare-namespace|elete|elete-char|elete-current-row|elete-header-entry|elete-line|elete-node|elete-result-list-entry|elete-selected-rows??|eselect-focused-row|eselect-rows|eselect-selected-row|etach-data-source|isable|isable-connections|isable-dump-triggers|isable-load-triggers|isconnect?|isconne?|iscon|isplay-message|ump-logging-now))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5284,7 +5276,7 @@ "begin": "(?i)(:)(e(?:dit-clear|dit-copy|dit-cut|dit-paste|dit-undo|mpty-dataset|mpty-temp-table|nable|nable-connections|ncode-domain-access-code|ncrypt-audit-mac-key|nd-document|nd-element|nd-event-group|nd-file-drop|ntry|xport|xport-principal))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5306,7 +5298,7 @@ "begin": "(?i)(:)(f(?:etch-selected-row|ill|ind-by-rowid|ind-current|ind-first|ind-last|ind-unique|irst-of))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5328,7 +5320,7 @@ "begin": "(?i)(:)(get-(?:attribute|attribute-node|binary-data|blue-value?|blue-val?|blue-v?|blue|browse-column?|browse-colu?|buffer-handle|bytes-available|callback-proc-context|callback-proc-name|cgi-list|cgi-long-value|cgi-value|changes|child|child-relation?|child-relati?|child-rela?|client|column|config-value|current?|curre?|dataset-buffer|document-element|dropped-file|dynamic|error-column|error-row|file-name|file-offset?|first?|green-value?|green-val?|green-v?|green|header-entry?|index-by-namespace-name|index-by-qname|iteration|last|localname-by-index|message|message-type|next|node|number|parent|prev|printers|property|qname-by-index|red-value?|red-val?|red-v?|red|relation?|relati?|rela?|repositioned-row|rgb-value?|rgb-val?|rgb-v?|rgb|row|safe-user|selected-widget?|selected-widg?|selected-wi?|selected-?|serialized|signature|socket-option|source-buffer|tab-item|text-height-chars?|text-height-cha?|text-height-c|text-height-pixels?|text-height-pixe?|text-height-pi?|text-width-chars?|text-width-cha?|text-width-c|text-width-pixels?|text-width-pixe?|text-width-pi?|top-buffer|type-by-index|type-by-namespace-name|type-by-qname|uri-by-index|value-by-index|value-by-namespace-name|value-by-qname|wait-state?|wait-sta?|wait-s?|wait))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5350,7 +5342,7 @@ "begin": "(?i)(:)(i(?:mport-node|mport-principal|ncrement-exclusive-id|ndex-information?|ndex-informati?|ndex-informa?|ndex-infor?|nitialize|nitialize-document-type|nitiate|nsert|nsert-attribute|nsert-backtab?|nsert-backt?|nsert-bac?|nsert-b|nsert-before|nsert-file|nsert-row|nsert-string|nsert-tab?|nsert-t|nvoke|s-row-selected|s-selected))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5372,7 +5364,7 @@ "begin": "(?i)(:)(l(?:ast-of|ist-property-names|oad|oad-domains|oad-icon|oad-image|oad-image-down|oad-image-insensitive|oad-image-up|oad-mouse-pointer?|oad-mouse-point?|oad-mouse-poi?|oad-mouse-p|oad-small-icon|ock-registration|og-audit-event|ogout|ongchar-to-node-value|ookup))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5394,7 +5386,7 @@ "begin": "(?i)(:)(m(?:ark-new|ark-row-state|emptr-to-node-value|erge-changes|erge-row-changes|ove-after-tab-item?|ove-after-tab-it?|ove-after-tab-?|ove-after-ta?|ove-after-?|ove-before-tab-item?|ove-before-tab-it?|ove-before-tab-?|ove-before-ta?|ove-before-?|ove-befor|ove-column?|ove-colu?|ove-to-bottom?|ove-to-bott?|ove-to-bo?|ove-to-eof|ove-to-top?|ove-to-t))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5416,7 +5408,7 @@ "begin": "(?i)(:)(no(?:de-value-to-longchar|de-value-to-memptr|rmalize))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5438,7 +5430,7 @@ "begin": "(?i)(:)(query-(?:close|open|prepare))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5460,7 +5452,7 @@ "begin": "(?i)(:)(r(?:aw-transfer|ead|ead-file|ead-json|ead-xml|ead-xmlschema|efresh|efresh-audit-policy|egister-domain|eject-changes|eject-row-changes|emove-attribute|emove-child|emove-events-procedure?|emove-events-procedu?|emove-events-proce?|emove-super-procedure?|emove-super-procedu?|emove-super-proce?|eplace|eplace-child|eplace-selection-text|eposition-to-row|eposition-to-rowid|eset))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5482,7 +5474,7 @@ "begin": "(?i)(:)(s(?:ave|ave-file|ave-row-changes|ax-parse|ax-parse-first|ax-parse-next|croll-to-current-row|croll-to-item?|croll-to-it?|croll-to-selected-row|eal|earch|elect-all|elect-focused-row|elect-next-row|elect-prev-row|elect-row|erialize-row|et-actor|et-appl-context|et-attribute|et-attribute-node|et-blue-value?|et-blue-val?|et-blue-v?|et-blue|et-break|et-buffers|et-callback|et-callback-procedure|et-client|et-commit|et-connect-procedure|et-dynamic|et-green-value?|et-green-val?|et-green-v?|et-green|et-input-source|et-must-understand|et-node|et-numeric-format?|et-numeric-form|et-output-destination|et-parameter|et-property|et-read-response-procedure|et-red-value?|et-red-val?|et-red-v?|et-red|et-repositioned-row|et-rgb-value?|et-rgb-val?|et-rgb-v?|et-rgb|et-role|et-rollback|et-safe-user|et-selection|et-serialized|et-socket-option|et-sort-arrow|et-wait-state?|et-wait-sta?|et-wait-s?|et-wait|tart-document|tart-element|top-parsing|tring-value|ynchronize))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5504,7 +5496,7 @@ "begin": "(?i)(:)(te(?:mp-table-prepare?|nant-id|nant-name))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5526,7 +5518,7 @@ "begin": "(?i)(:)(u(?:pdate-attribute|rl-decode|rl-encode|ser-data))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5548,7 +5540,7 @@ "begin": "(?i)(:)(validate(?:|-domain-access-code|-seal))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" @@ -5570,7 +5562,7 @@ "begin": "(?i)(:)(write(?:|-cdata|-characters|-comment|-data|-data-element|-empty-element|-entity-ref|-external-dtd|-fragment|-json|-message|-processing-instruction|-xml|-xmlschema))\\s*(?=\\()", "beginCaptures": { "1": { - "name": "punctuation.separator.colon.abl" + "name": "punctuation.accessor.abl" }, "2": { "name": "support.function.abl" diff --git a/index.mjs b/index.mjs index c868c03..941c1d8 100644 --- a/index.mjs +++ b/index.mjs @@ -186,6 +186,13 @@ noParameterFunctions.push('today'); noParameterFunctions.push('transaction'); noParameterFunctions.push('userid'); +// turn noParameterFunctions into an alphabetically-sorted array +let noParameterFunctionBlocks = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]; +for (var zz = 0; zz < noParameterFunctions.length; zz++) { + let charIdx = noParameterFunctions[zz].charCodeAt(0) - 97; + noParameterFunctionBlocks[charIdx].push(noParameterFunctions[zz]); +} + let alsoKeywords = []; alsoKeywords.push('get-collation'); //plural version as key @@ -343,7 +350,8 @@ function addToBlock(charIdx, fullKw, minKw, kwRegex) { if (!attributeBlocks[charIdx].includes(fullKw) && !methodBlocks[charIdx].includes(fullKw) && !functionBlocks[charIdx].includes(fullKw) && - !keywordBlocks[charIdx].includes(fullKw)) { + !keywordBlocks[charIdx].includes(fullKw) && + !noParameterFunctionBlocks[charIdx].includes(fullKw)) { keywordBlocks[charIdx].push(fullKw); } @@ -405,7 +413,7 @@ lineReaderFunctions.on('close', () => { match: "(?i)(:)(" + replaceKeywordsWithRegex(attributeBlocks[zz]) + ")\\b(?![#$\\-_%&])", captures: { 1: { - name: "punctuation.separator.colon.abl" + name: "punctuation.accessor.abl" }, 2: { name: "entity.name.function.abl" @@ -426,7 +434,7 @@ lineReaderFunctions.on('close', () => { begin: "(?i)(:)(" + replaceKeywordsWithRegex(methodBlocks[zz]) + ")\\s*(?=\\()", beginCaptures: { 1: { - name: "punctuation.separator.colon.abl" + name: "punctuation.accessor.abl" }, 2: { name: "support.function.abl" @@ -449,13 +457,6 @@ lineReaderFunctions.on('close', () => { result['abl-functions'] = { patterns: [] } - // turn noParameterFunctions into an alphabetically-sorted array - let noParameterFunctionBlocks = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]; - for (var zz = 0; zz < noParameterFunctions.length; zz++) { - let charIdx = noParameterFunctions[zz].charCodeAt(0) - 97; - noParameterFunctionBlocks[charIdx].push(noParameterFunctions[zz]); - } - for (var zz = 0; zz < 26; zz++) { if (functionBlocks[zz].length > 0) { @@ -465,9 +466,9 @@ lineReaderFunctions.on('close', () => { { begin: "(?i)\\s*(" + replaceKeywordsWithRegex(functionBlocks[zz]) + ")\\s*(?=\\()", beginCaptures: { - 1: { - name: "support.function.abl" - } + 1: { + name: "support.function.abl" + } }, end: "(\\))", endCaptures: { @@ -502,7 +503,8 @@ lineReaderFunctions.on('close', () => { result['abl-functions'].patterns.push({ comment: "ABL functions that can be called without parentheses. Some functions have optional arguments, some are never called with parens", - patterns: npfb}); + patterns: npfb + }); fs.writeFileSync(output, JSON.stringify(result, undefined, 4)); }) diff --git a/spec/blocks/block-labels.spec.js b/spec/blocks/block-labels.spec.js index 0d11801..6f229ea 100644 --- a/spec/blocks/block-labels.spec.js +++ b/spec/blocks/block-labels.spec.js @@ -188,7 +188,7 @@ describe('', () => { { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl"] }, // ' ' { "startIndex": 31, "endIndex": 40, "scopes": ["source.abl", "variable.other.abl"] }, // 'UIMessage' - { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 41, "endIndex": 62, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'canFindFirstUIMessage' { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 63, "endIndex": 64, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' diff --git a/spec/blocks/block-options.spec.js b/spec/blocks/block-options.spec.js index a8bd9b9..aafe8d1 100644 --- a/spec/blocks/block-options.spec.js +++ b/spec/blocks/block-options.spec.js @@ -115,7 +115,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "keyword.other.abl"] }, // 'if' { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl"] }, // ' ' { "startIndex": 3, "endIndex": 22, "scopes": ["source.abl", "variable.other.abl"] }, // 'oValidationMessages' - { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 23, "endIndex": 30, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'IsEmpty' { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' @@ -150,9 +150,9 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 48, "scopes": ["source.abl"] }, // ' ' { "startIndex": 48, "endIndex": 72, "scopes": ["source.abl", "variable.other.abl"] }, // 'SalesforceObjectTypeEnum' - { "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 73, "endIndex": 80, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Account' - { "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 81, "endIndex": 89, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ToString' { "startIndex": 89, "endIndex": 90, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 90, "endIndex": 91, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' diff --git a/spec/comments/vscode-abl-issue#127.spec.js b/spec/comments/vscode-abl-issue#127.spec.js index d6ad351..15b69fe 100644 --- a/spec/comments/vscode-abl-issue#127.spec.js +++ b/spec/comments/vscode-abl-issue#127.spec.js @@ -47,7 +47,7 @@ describe('', () => { { "startIndex": 6, "endIndex": 8, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'if' { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl"] }, // ' ' { "startIndex": 9, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.define.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.define.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 29, "scopes": ["source.abl", "meta.define.abl", "entity.name.function.abl"] }, // 'Encoding' { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' ' { "startIndex": 30, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "keyword.operator.source.abl"] }, // 'eq' @@ -80,7 +80,7 @@ describe('', () => { { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ',' { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 46, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "meta.function.arguments.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 58, "endIndex": 66, "scopes": ["source.abl", "meta.define.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'Encoding' { "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 67, "endIndex": 68, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.' diff --git a/spec/create-widgets/create-window.spec.js b/spec/create-widgets/create-window.spec.js index a61c0a0..ac29592 100644 --- a/spec/create-widgets/create-window.spec.js +++ b/spec/create-widgets/create-window.spec.js @@ -29,7 +29,7 @@ ELSE {&WINDOW-NAME} = CURRENT-WINDOW.`; { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "keyword.other.abl"] }, // 'IF' { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl"] }, // ' ' { "startIndex": 3, "endIndex": 10, "scopes": ["source.abl", "variable.language.abl"] }, // 'SESSION' - { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 11, "endIndex": 23, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'DISPLAY-TYPE' { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl"] }, // ' ' { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' diff --git a/spec/db-table-and-field/double-colon-access.spec.js b/spec/db-table-and-field/double-colon-access.spec.js index 1e79089..407cd09 100644 --- a/spec/db-table-and-field/double-colon-access.spec.js +++ b/spec/db-table-and-field/double-colon-access.spec.js @@ -53,7 +53,7 @@ describe('', () => { { "startIndex": 3, "endIndex": 14, "scopes": ["source.abl", "support.function.abl"] }, // 'num-entries' { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 15, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'vBufferHandle' - { "startIndex": 28, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // '::' + { "startIndex": 28, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // '::' { "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ControlList' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl"] }, // ' ' @@ -90,7 +90,7 @@ end. `; { "startIndex": 17, "endIndex": 28, "scopes": ["source.abl", "meta.block.abl", "support.function.abl"] }, // 'num-entries' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.block.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 29, "endIndex": 42, "scopes": ["source.abl", "meta.block.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'vBufferHandle' - { "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.block.abl", "meta.function.arguments.abl"] }, // '::' + { "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.block.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // '::' { "startIndex": 44, "endIndex": 55, "scopes": ["source.abl", "meta.block.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ControlList' { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.block.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':' diff --git a/spec/define-buffer/create-buffer.spec.js b/spec/define-buffer/create-buffer.spec.js index 5671808..e12ad92 100644 --- a/spec/define-buffer/create-buffer.spec.js +++ b/spec/define-buffer/create-buffer.spec.js @@ -42,7 +42,7 @@ describe('', () => { { "startIndex": 12, "endIndex": 18, "scopes": ["source.abl", "keyword.other.abl"] }, // 'BUFFER' { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl"] }, // ' ' { "startIndex": 19, "endIndex": 22, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'tt1' - { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 23, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'HANDLE' { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.terminator.abl"] }, // '.' { "startIndex": 30, "endIndex": 37, "scopes": ["source.abl"] }, // ' ' @@ -97,7 +97,7 @@ describe('', () => { { "startIndex": 12, "endIndex": 22, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TEMP-TABLE' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' ' { "startIndex": 23, "endIndex": 26, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'tt1' - { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 27, "endIndex": 33, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'HANDLE' { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "punctuation.terminator.abl"] }, // '.' { "startIndex": 34, "endIndex": 37, "scopes": ["source.abl"] }, // ' ' diff --git a/spec/define-variable/var-statement.spec.js b/spec/define-variable/var-statement.spec.js index 4eb2f92..8652e68 100644 --- a/spec/define-variable/var-statement.spec.js +++ b/spec/define-variable/var-statement.spec.js @@ -325,7 +325,7 @@ describe('', () => { { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl"] }, // ' ' { "startIndex": 29, "endIndex": 41, "scopes": ["source.abl", "variable.other.abl"] }, // 'mBackingList' - { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 42, "endIndex": 49, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'IndexOf' { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 50, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'pItem' diff --git a/spec/do/do-blocks.spec.js b/spec/do/do-blocks.spec.js index 0770a04..3fbada2 100644 --- a/spec/do/do-blocks.spec.js +++ b/spec/do/do-blocks.spec.js @@ -235,7 +235,7 @@ end.`; { "startIndex": 10, "endIndex": 12, "scopes": ["source.abl", "meta.block.abl", "keyword.other.abl"] }, // 'to' { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.block.abl"] }, // ' ' { "startIndex": 13, "endIndex": 19, "scopes": ["source.abl", "meta.block.abl", "variable.other.abl"] }, // 'objRef' - { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 20, "endIndex": 42, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'MethodCalledNumEntries' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 43, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'vList' diff --git a/spec/do/stop-after.spec.js b/spec/do/stop-after.spec.js index 9b50f82..9ff8009 100644 --- a/spec/do/stop-after.spec.js +++ b/spec/do/stop-after.spec.js @@ -42,7 +42,7 @@ end.`; { "startIndex": 3, "endIndex": 13, "scopes": ["source.abl", "meta.block.abl", "keyword.other.abl"] }, // 'stop-after' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.block.abl"] }, // ' ' { "startIndex": 14, "endIndex": 25, "scopes": ["source.abl", "meta.block.abl", "variable.other.abl"] }, // 'poParameter' - { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 26, "endIndex": 35, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'StopAfter' { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':' ], @@ -64,7 +64,7 @@ end.`; [ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' ' { "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "variable.language.abl"] }, // 'super' - { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 10, "endIndex": 12, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Fn' { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' diff --git a/spec/function-call/nested-functions.spec.js b/spec/function-call/nested-functions.spec.js index 78a8d7e..0546146 100644 --- a/spec/function-call/nested-functions.spec.js +++ b/spec/function-call/nested-functions.spec.js @@ -54,7 +54,7 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 17, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.type.abl"] }, // 'Consultingwerk.Const' - { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 38, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'CRLF' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -77,7 +77,7 @@ describe('', () => { { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl"] }, // ' ' { "startIndex": 20, "endIndex": 31, "scopes": ["source.abl", "variable.other.abl"] }, // 'QueryHelper' - { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 32, "endIndex": 57, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'InsertExpressionForBuffer' { "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 58, "endIndex": 66, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cDbQuery' diff --git a/spec/function-call/pass-table.spec.js b/spec/function-call/pass-table.spec.js index eb800a3..844a7fe 100644 --- a/spec/function-call/pass-table.spec.js +++ b/spec/function-call/pass-table.spec.js @@ -46,7 +46,7 @@ describe('', () => { { "startIndex": 15, "endIndex": 22, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'dataset' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 23, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.dataset.abl"] }, // 'dsCustomer' - { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 34, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'handle' { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' @@ -61,13 +61,13 @@ describe('', () => { { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'buffer' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' ' { "startIndex": 7, "endIndex": 17, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'ttCustomer' - { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 18, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'buffer-copy' { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 30, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'buffer' { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 37, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'Customer' - { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 46, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'handle' { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -87,7 +87,7 @@ describe('', () => { { "startIndex": 14, "endIndex": 20, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'buffer' { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 21, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'Customer' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'handle' { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -107,7 +107,7 @@ describe('', () => { { "startIndex": 14, "endIndex": 24, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'temp-table' { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 25, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttCustomer' - { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 36, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'handle' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' diff --git a/spec/function-call/set-size.spec.js b/spec/function-call/set-size.spec.js index 9b8cb72..3dd8f19 100644 --- a/spec/function-call/set-size.spec.js +++ b/spec/function-call/set-size.spec.js @@ -23,7 +23,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'set-size' { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 9, "endIndex": 15, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'objref' - { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 16, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'Value' { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' ' @@ -42,7 +42,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'set-size' { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 9, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.abl"] }, // 'package.sub.type' - { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 26, "endIndex": 31, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'Value' { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' ' @@ -53,4 +53,3 @@ describe('', () => { ]; shared.itShouldMatchExpectedScopes(statement, expectedTokens); }) - diff --git a/spec/function-definition/vscode-abl-issue#166.spec.js b/spec/function-definition/vscode-abl-issue#166.spec.js index e05f44c..c1d9cb8 100644 --- a/spec/function-definition/vscode-abl-issue#166.spec.js +++ b/spec/function-definition/vscode-abl-issue#166.spec.js @@ -437,7 +437,7 @@ describe('', () => { { "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.define.function.abl", "keyword.other.abl"] }, // 'IN' { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.define.function.abl"] }, // ' ' { "startIndex": 52, "endIndex": 58, "scopes": ["source.abl", "meta.define.function.abl", "variable.other.abl"] }, // 'obJRef' - { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.define.function.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.define.function.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 59, "endIndex": 67, "scopes": ["source.abl", "meta.define.function.abl", "entity.name.function.abl"] }, // 'Property' { "startIndex": 67, "endIndex": 69, "scopes": ["source.abl", "meta.define.function.abl"] }, // ' ' { "startIndex": 69, "endIndex": 70, "scopes": ["source.abl", "meta.define.function.abl", "punctuation.terminator.abl"] } // '.' diff --git a/spec/input-output/input-from.spec.js b/spec/input-output/input-from.spec.js index e45d0c6..45d2bba 100644 --- a/spec/input-output/input-from.spec.js +++ b/spec/input-output/input-from.spec.js @@ -364,7 +364,7 @@ describe('', () => { { "startIndex": 16, "endIndex": 22, "scopes": ["source.abl", "keyword.other.abl"] }, // 'SOURCE' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' ' { "startIndex": 23, "endIndex": 30, "scopes": ["source.abl", "variable.language.abl"] }, // 'SESSION' - { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 31, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'CHARSET' { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl"] }, // ' ' { "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TARGET' diff --git a/spec/input-output/output-to.spec.js b/spec/input-output/output-to.spec.js index 343600c..57d513a 100644 --- a/spec/input-output/output-to.spec.js +++ b/spec/input-output/output-to.spec.js @@ -364,7 +364,7 @@ describe('', () => { { "startIndex": 16, "endIndex": 22, "scopes": ["source.abl", "keyword.other.abl"] }, // 'SOURCE' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' ' { "startIndex": 23, "endIndex": 30, "scopes": ["source.abl", "variable.language.abl"] }, // 'SESSION' - { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 31, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'CHARSET' { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl"] }, // ' ' { "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TARGET' diff --git a/spec/method-attribute-property-call/abl-method-attribute-call.spec.js b/spec/method-attribute-property-call/abl-method-attribute-call.spec.js index 283c28c..61d527e 100644 --- a/spec/method-attribute-property-call/abl-method-attribute-call.spec.js +++ b/spec/method-attribute-property-call/abl-method-attribute-call.spec.js @@ -12,9 +12,9 @@ SessionManager:ContextDataset:WRITE-XML ( "longchar":U, ], [ { "startIndex": 0, "endIndex": 14, "scopes": ["source.abl", "variable.other.abl"] }, // 'SessionManager' - { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 15, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ContextDataset' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'WRITE-XML' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl"] }, // ' ' { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' @@ -60,9 +60,9 @@ SessionManager:ContextDataset:READ-XML ( "longchar":U, ], [ { "startIndex": 0, "endIndex": 14, "scopes": ["source.abl", "variable.other.abl"] }, // 'SessionManager' - { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 15, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ContextDataset' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'READ-XML' { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl"] }, // ' ' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' diff --git a/spec/method-attribute-property-call/connected-method.spec.js b/spec/method-attribute-property-call/connected-method.spec.js index 36606c2..3932609 100644 --- a/spec/method-attribute-property-call/connected-method.spec.js +++ b/spec/method-attribute-property-call/connected-method.spec.js @@ -15,7 +15,7 @@ hSrv:connect('-URL http://localhost:1234/apsv').`; ], [ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "variable.other.abl"] }, // 'hSrv' - { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 5, "endIndex": 12, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'connect' { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // ''' diff --git a/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js b/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js index 89ecfa2..3ad9744 100644 --- a/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js +++ b/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js @@ -10,7 +10,7 @@ buffer eEmployee:apply-callback("BEFORE-ROW-FILL":U).`; { "startIndex": 0, "endIndex": 7, "scopes": ["source.abl", "keyword.other.abl"] }, // 'dataset' { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl"] }, // ' ' { "startIndex": 8, "endIndex": 18, "scopes": ["source.abl", "storage.data.dataset.abl"] }, // 'dsEmployee' - { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 19, "endIndex": 33, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'apply-callback' { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' @@ -24,7 +24,7 @@ buffer eEmployee:apply-callback("BEFORE-ROW-FILL":U).`; { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'buffer' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' ' { "startIndex": 7, "endIndex": 16, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'eEmployee' - { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 17, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'apply-callback' { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' @@ -38,7 +38,7 @@ buffer eEmployee:apply-callback("BEFORE-ROW-FILL":U).`; { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'buffer' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' ' { "startIndex": 7, "endIndex": 16, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'eEmployee' - { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 17, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'apply-callback' { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' diff --git a/spec/method-attribute-property-call/get-set-method-name.spec.js b/spec/method-attribute-property-call/get-set-method-name.spec.js index a34d951..02fb635 100644 --- a/spec/method-attribute-property-call/get-set-method-name.spec.js +++ b/spec/method-attribute-property-call/get-set-method-name.spec.js @@ -38,7 +38,7 @@ if type-of(pProxyReq, IHttpRequest) then { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function-call.abl"] }, // ' ' { "startIndex": 44, "endIndex": 54, "scopes": ["source.abl", "meta.function-call.abl", "meta.function-call.abl", "entity.name.type.abl"] }, // 'IAdaptable' { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')' - { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 56, "endIndex": 66, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'GetAdapter' { "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 67, "endIndex": 76, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "support.function.abl"] }, // 'get-class' @@ -83,7 +83,7 @@ if type-of(pProxyReq, IHttpRequest) then { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' ' { "startIndex": 39, "endIndex": 51, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.abl"] }, // 'IHttpRequest' { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')' - { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 53, "endIndex": 56, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Set' { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 57, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'now' @@ -109,12 +109,12 @@ describe('', () => { { "startIndex": 20, "endIndex": 24, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'cast' { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 25, "endIndex": 47, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.abl"] }, // 'Ccs.Common.Application' - { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 48, "endIndex": 62, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] } // 'ServiceManager' ], [ { "startIndex": 0, "endIndex": 50, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' ' - { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 51, "endIndex": 61, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'getService' { "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 62, "endIndex": 71, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "support.function.abl"] }, // 'get-class' diff --git a/spec/method-attribute-property-call/method-call.spec.js b/spec/method-attribute-property-call/method-call.spec.js index 60aeb6c..986cdee 100644 --- a/spec/method-attribute-property-call/method-call.spec.js +++ b/spec/method-attribute-property-call/method-call.spec.js @@ -17,7 +17,7 @@ describe('', () => { { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"] }, // ' ' { "startIndex": 18, "endIndex": 29, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 60, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'GenerateInvokeMethodProperties' { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl"] }, // ' ' { "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' @@ -131,7 +131,7 @@ end.`; [ { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' ' { "startIndex": 2, "endIndex": 30, "scopes": ["source.abl", "variable.other.abl"] }, // 'oAccessRequestBusinessEntity' - { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 31, "endIndex": 42, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'SaveChanges' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 43, "endIndex": 50, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'DATASET' @@ -143,7 +143,7 @@ end.`; [ { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' ' { "startIndex": 2, "endIndex": 7, "scopes": ["source.abl", "variable.other.abl"] }, // 'oARBE' - { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 8, "endIndex": 19, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'SaveChanges' { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 20, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'DATASET' @@ -155,13 +155,13 @@ end.`; [ { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' ' { "startIndex": 2, "endIndex": 15, "scopes": ["source.abl", "variable.other.abl"] }, // 'DatasetHelper' - { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 16, "endIndex": 34, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ThrowDatasetErrors' { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 35, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'DATASET' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 43, "endIndex": 58, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.dataset.abl"] }, // 'dsAccessRequest' - { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 59, "endIndex": 65, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'HANDLE' { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -184,13 +184,13 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "keyword.other.abl"] }, // 'if' { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl"] }, // ' ' { "startIndex": 3, "endIndex": 22, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'Progress.Lang.Class' - { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 23, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'GetClass' { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl"] }, // ' ' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 33, "endIndex": 45, "scopes": ["source.abl", "variable.other.abl"] }, // 'pcEntityName' { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' - { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 47, "endIndex": 50, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'IsA' { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl"] }, // ' ' { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' @@ -206,13 +206,13 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor [ { "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 1, "endIndex": 20, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'Progress.Lang.Class' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'GetClass' { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl"] }, // ' ' { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 31, "endIndex": 43, "scopes": ["source.abl", "variable.other.abl"] }, // 'pcEntityName' { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' - { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 45, "endIndex": 48, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'IsA' { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl"] }, // ' ' { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' @@ -227,14 +227,14 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor ], [ { "startIndex": 0, "endIndex": 19, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'Progress.Lang.Class' - { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 20, "endIndex": 28, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'GetClass' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl"] }, // ' ' { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 30, "endIndex": 42, "scopes": ["source.abl", "variable.other.abl"] }, // 'pcEntityName' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl"] }, // ' ' - { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 45, "endIndex": 48, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'IsA' { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl"] }, // ' ' { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' @@ -255,7 +255,7 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor [ { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' ' { "startIndex": 2, "endIndex": 23, "scopes": ["source.abl", "variable.other.abl"] }, // 'poRestResourceService' - { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 24, "endIndex": 54, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'RegisterBusinessTaskRestMethod' { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl"] }, // ' ' { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' diff --git a/spec/method-attribute-property-call/nested-property-call.spec.js b/spec/method-attribute-property-call/nested-property-call.spec.js index 13d7d65..2735c6c 100644 --- a/spec/method-attribute-property-call/nested-property-call.spec.js +++ b/spec/method-attribute-property-call/nested-property-call.spec.js @@ -7,9 +7,9 @@ describe('', () => { { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "support.function.abl"] }, // 'quoter' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 7, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'poPaymentLogParameter' - { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 29, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'LockTransactionPaymentParameter' - { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 61, "endIndex": 70, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'RequestID' { "startIndex": 70, "endIndex": 71, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' diff --git a/spec/misc-statements/case-statement.spec.js b/spec/misc-statements/case-statement.spec.js index 17e7288..fa156c9 100644 --- a/spec/misc-statements/case-statement.spec.js +++ b/spec/misc-statements/case-statement.spec.js @@ -24,7 +24,7 @@ end case.`; { "startIndex": 9, "endIndex": 13, "scopes": ["source.abl", "keyword.other.abl"] }, // 'then' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl"] }, // ' ' { "startIndex": 14, "endIndex": 20, "scopes": ["source.abl", "variable.other.abl"] }, // 'Assert' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Equals' { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' @@ -45,7 +45,7 @@ end case.`; { "startIndex": 9, "endIndex": 13, "scopes": ["source.abl", "keyword.other.abl"] }, // 'then' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl"] }, // ' ' { "startIndex": 14, "endIndex": 20, "scopes": ["source.abl", "variable.other.abl"] }, // 'Assert' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Equals' { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' @@ -66,7 +66,7 @@ end case.`; { "startIndex": 9, "endIndex": 13, "scopes": ["source.abl", "keyword.other.abl"] }, // 'then' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl"] }, // ' ' { "startIndex": 14, "endIndex": 20, "scopes": ["source.abl", "variable.other.abl"] }, // 'Assert' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Equals' { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' diff --git a/spec/misc-statements/copy-lob.spec.js b/spec/misc-statements/copy-lob.spec.js index 9fe4c1b..6dd4dcc 100644 --- a/spec/misc-statements/copy-lob.spec.js +++ b/spec/misc-statements/copy-lob.spec.js @@ -125,7 +125,7 @@ describe('', () => { { "startIndex": 11, "endIndex": 13, "scopes": ["source.abl", "keyword.other.abl"] }, // 'at' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl"] }, // ' ' { "startIndex": 14, "endIndex": 24, "scopes": ["source.abl", "variable.other.abl"] }, // 'oSomething' - { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 25, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] } // 'Length' ], [ diff --git a/spec/misc-statements/def-in-name.spec.js b/spec/misc-statements/def-in-name.spec.js index 25daea7..f200aad 100644 --- a/spec/misc-statements/def-in-name.spec.js +++ b/spec/misc-statements/def-in-name.spec.js @@ -11,10 +11,9 @@ describe('', () => { { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' ' { "startIndex": 23, "endIndex": 34, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 35, "endIndex": 54, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'DefaultCookieDomain' { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' ]; shared.itShouldMatchExpectedScopes(statement, expectedTokens); }) - diff --git a/spec/misc-statements/do-in-name.spec.js b/spec/misc-statements/do-in-name.spec.js index 34aa727..691b017 100644 --- a/spec/misc-statements/do-in-name.spec.js +++ b/spec/misc-statements/do-in-name.spec.js @@ -11,7 +11,7 @@ describe('', () => { { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl"] }, // ' ' { "startIndex": 16, "endIndex": 27, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 28, "endIndex": 47, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'DefaultCookieDomain' { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' ]; @@ -76,7 +76,7 @@ describe('', () => { { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl"] }, // ' ' { "startIndex": 21, "endIndex": 30, "scopes": ["source.abl", "variable.other.abl"] }, // 'thisWorks' - { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 31, "endIndex": 36, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Today' { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.brace.round.js"] } // ')' diff --git a/spec/misc-statements/event-subscribe.spec.js b/spec/misc-statements/event-subscribe.spec.js index 0c41d1a..c80be44 100644 --- a/spec/misc-statements/event-subscribe.spec.js +++ b/spec/misc-statements/event-subscribe.spec.js @@ -21,9 +21,9 @@ end method.`; [ { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' ' { "startIndex": 2, "endIndex": 13, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 14, "endIndex": 26, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' - { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 27, "endIndex": 36, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 37, "endIndex": 56, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventNameHandler' @@ -44,9 +44,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Subscribe(hProc , ipName).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 40, "endIndex": 45, "scopes": ["source.abl", "variable.other.abl"] }, // 'hProc' @@ -64,9 +64,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Subscribe(hProc , "ipName").`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 40, "endIndex": 45, "scopes": ["source.abl", "variable.other.abl"] }, // 'hProc' @@ -86,9 +86,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Subscribe(NewTempTableAddedHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 40, "endIndex": 64, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAddedHandler' @@ -102,9 +102,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Subscribe('NewTempTableAddedHandler':u ).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // ''' @@ -122,13 +122,13 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Subscribe(objRef:NewTempTableAddedHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 40, "endIndex": 46, "scopes": ["source.abl", "variable.other.abl"] }, // 'objRef' - { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 47, "endIndex": 71, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAddedHandler' { "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -140,13 +140,13 @@ describe('', () => { let statement = `oRef:NewTempTableAdded:Subscribe(Package.Sub.Class:NewTempTableAddedHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "variable.other.abl"] }, // 'oRef' - { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 5, "endIndex": 22, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 23, "endIndex": 32, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 33, "endIndex": 50, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'Package.Sub.Class' - { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 51, "endIndex": 75, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAddedHandler' { "startIndex": 75, "endIndex": 76, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -174,9 +174,9 @@ end method.`; [ { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' ' { "startIndex": 2, "endIndex": 13, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 14, "endIndex": 26, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' - { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 27, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'UnSubscribe' { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 39, "endIndex": 58, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventNameHandler' @@ -197,9 +197,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Unsubscribe(hProc , ipName).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Unsubscribe' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 42, "endIndex": 47, "scopes": ["source.abl", "variable.other.abl"] }, // 'hProc' @@ -217,9 +217,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Unsubscribe(hProc , "ipName").`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Unsubscribe' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 42, "endIndex": 47, "scopes": ["source.abl", "variable.other.abl"] }, // 'hProc' @@ -239,9 +239,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Unsubscribe(NewTempTableAddedHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Unsubscribe' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 42, "endIndex": 66, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAddedHandler' @@ -255,9 +255,9 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Unsubscribe('NewTempTableAddedHandler':u ).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Unsubscribe' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // ''' @@ -275,13 +275,13 @@ describe('', () => { let statement = `oController:NewTempTableAdded:Unsubscribe(objRef:NewTempTableAddedHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Unsubscribe' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 42, "endIndex": 48, "scopes": ["source.abl", "variable.other.abl"] }, // 'objRef' - { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 49, "endIndex": 73, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAddedHandler' { "startIndex": 73, "endIndex": 74, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 74, "endIndex": 75, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -293,13 +293,13 @@ describe('', () => { let statement = `oRef:NewTempTableAdded:Unsubscribe(Package.Sub.Class:NewTempTableAddedHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "variable.other.abl"] }, // 'oRef' - { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 5, "endIndex": 22, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAdded' - { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 23, "endIndex": 34, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Unsubscribe' { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 35, "endIndex": 52, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'Package.Sub.Class' - { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 53, "endIndex": 77, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewTempTableAddedHandler' { "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' diff --git a/spec/misc-statements/if-then.spec.js b/spec/misc-statements/if-then.spec.js index ef35345..539c4ba 100644 --- a/spec/misc-statements/if-then.spec.js +++ b/spec/misc-statements/if-then.spec.js @@ -28,13 +28,13 @@ describe('', () => { { "startIndex": 10, "endIndex": 12, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '<=' { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl"] }, // ' ' { "startIndex": 13, "endIndex": 28, "scopes": ["source.abl", "variable.other.abl"] }, // 'connectResponse' - { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 29, "endIndex": 39, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'StatusCode' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl"] }, // ' ' { "startIndex": 40, "endIndex": 43, "scopes": ["source.abl", "keyword.other.abl"] }, // 'and' { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl"] }, // ' ' { "startIndex": 44, "endIndex": 59, "scopes": ["source.abl", "variable.other.abl"] }, // 'connectResponse' - { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 60, "endIndex": 70, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'StatusCode' { "startIndex": 70, "endIndex": 71, "scopes": ["source.abl"] }, // ' ' { "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '<' @@ -65,13 +65,13 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl"] }, // ' ' { "startIndex": 6, "endIndex": 17, "scopes": ["source.abl", "variable.other.abl"] }, // 'moSocketLib' - { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 18, "endIndex": 26, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'StartTls' { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 27, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'baseRequest' - { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 39, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'URI' - { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 43, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'Host' { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -93,7 +93,7 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 10, "scopes": ["source.abl"] }, // ' ' { "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "variable.other.abl"] }, // 'Logger' - { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 17, "endIndex": 22, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Error' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 23, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'substitute' @@ -104,9 +104,9 @@ describe('', () => { { "startIndex": 70, "endIndex": 71, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ',' { "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 72, "endIndex": 83, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'baseRequest' - { "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 84, "endIndex": 87, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'URI' - { "startIndex": 87, "endIndex": 88, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 87, "endIndex": 88, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 88, "endIndex": 96, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'ToString' { "startIndex": 96, "endIndex": 97, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 97, "endIndex": 98, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')' @@ -177,7 +177,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "keyword.other.abl"] }, // 'if' { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl"] }, // ' ' { "startIndex": 3, "endIndex": 14, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 15, "endIndex": 25, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'MethodName' { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl"] }, // ' ' { "startIndex": 26, "endIndex": 28, "scopes": ["source.abl", "comment.block.source.abl"] }, // '/*' @@ -198,7 +198,7 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' ' { "startIndex": 4, "endIndex": 12, "scopes": ["source.abl", "variable.other.abl"] }, // 'hDataset' - { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 13, "endIndex": 26, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'EMPTY-DATASET' { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' @@ -417,7 +417,7 @@ END.`; { "startIndex": 2, "endIndex": 4, "scopes": ["source.abl", "keyword.other.abl"] }, // 'IF' { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl"] }, // ' ' { "startIndex": 5, "endIndex": 23, "scopes": ["source.abl", "variable.other.abl"] }, // 'ApplicationContext' - { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 24, "endIndex": 37, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'DebugMessages' { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl"] }, // ' ' { "startIndex": 38, "endIndex": 42, "scopes": ["source.abl", "keyword.other.abl"] } // 'THEN' diff --git a/spec/misc-statements/return-statement.spec.js b/spec/misc-statements/return-statement.spec.js index 4c7e182..c854460 100644 --- a/spec/misc-statements/return-statement.spec.js +++ b/spec/misc-statements/return-statement.spec.js @@ -45,7 +45,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "support.function.abl"] }, // 'RETURN' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' ' { "startIndex": 7, "endIndex": 14, "scopes": ["source.abl", "variable.language.abl"] }, // 'session' - { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 15, "endIndex": 24, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'exit-code' { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' ]; diff --git a/spec/misc-statements/system-handles.spec.js b/spec/misc-statements/system-handles.spec.js index 2783e24..f0008e6 100644 --- a/spec/misc-statements/system-handles.spec.js +++ b/spec/misc-statements/system-handles.spec.js @@ -22,7 +22,7 @@ describe('', () => { { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' ' { "startIndex": 10, "endIndex": 24, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-procedure' - { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 25, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'first-sibling' { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' ]; @@ -80,7 +80,7 @@ describe('', () => { let statement = `objRef:Add(this-object).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "variable.other.abl"] }, // 'objRef' - { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 7, "endIndex": 10, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Add' { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.language.abl"] }, // 'this-object' @@ -94,11 +94,11 @@ describe('', () => { let statement = `objRef:Add(file-info:handle).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "variable.other.abl"] }, // 'objRef' - { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 7, "endIndex": 10, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Add' { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 11, "endIndex": 20, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.language.abl"] }, // 'file-info' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'handle' { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' @@ -110,7 +110,7 @@ describe('', () => { let statement = `TRANSaction:set-ROLLBACK ( ).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.language.abl"] }, // 'TRANSaction' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 24, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'set-ROLLBACK' { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl"] }, // ' ' { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' diff --git a/spec/numbers/scientific-notation.spec.js b/spec/numbers/scientific-notation.spec.js index fa4f557..4fcc8ec 100644 --- a/spec/numbers/scientific-notation.spec.js +++ b/spec/numbers/scientific-notation.spec.js @@ -195,7 +195,7 @@ describe('', () => { let statement = `jsondata:Add("somevalue", 123e+5 ).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 8, "scopes": ["source.abl", "variable.other.abl"] }, // 'jsondata' - { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 9, "endIndex": 12, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Add' { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' diff --git a/spec/operators/safe-navigation-operator.spec.js b/spec/operators/safe-navigation-operator.spec.js index 345f804..e7d840a 100644 --- a/spec/operators/safe-navigation-operator.spec.js +++ b/spec/operators/safe-navigation-operator.spec.js @@ -7,7 +7,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' { "startIndex": 11, "endIndex": 13, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 13, "endIndex": 25, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' - { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 26, "endIndex": 35, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 36, "endIndex": 55, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventNameHandler' @@ -38,7 +38,7 @@ describe('', () => { let statement = `oController:NewEventName?:Subscribe(NewEventNameHandler).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 24, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' { "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 26, "endIndex": 35, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Subscribe' @@ -54,7 +54,7 @@ describe('', () => { let statement = `oController:NewEventName?:AThing(oVariable).`; let expectedTokens = [ { "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "variable.other.abl"] }, // 'oController' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 24, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' { "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 26, "endIndex": 32, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'AThing' @@ -72,7 +72,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 7, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message' { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl"] }, // ' ' { "startIndex": 8, "endIndex": 19, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 20, "endIndex": 32, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' { "startIndex": 32, "endIndex": 34, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 34, "endIndex": 46, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'PropertySays' @@ -87,7 +87,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'assign' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' ' { "startIndex": 7, "endIndex": 18, "scopes": ["source.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 19, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'NewEventName' { "startIndex": 31, "endIndex": 33, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 33, "endIndex": 45, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'PropertySays' @@ -123,11 +123,11 @@ describe('', () => { { "startIndex": 0, "endIndex": 7, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message' { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl"] }, // ' ' { "startIndex": 8, "endIndex": 15, "scopes": ["source.abl", "variable.language.abl"] }, // 'session' - { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 16, "endIndex": 36, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'current-request-info' { "startIndex": 36, "endIndex": 38, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 38, "endIndex": 49, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'AdapterType' - { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 50, "endIndex": 58, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ToString' { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.brace.round.js"] } // ')' @@ -145,7 +145,7 @@ describe('', () => { { "startIndex": 17, "endIndex": 37, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'current-request-info' { "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '?:' { "startIndex": 39, "endIndex": 50, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'AdapterType' - { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 51, "endIndex": 59, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ToString' { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.brace.round.js"] } // ')' @@ -164,7 +164,7 @@ describe('', () => { { "startIndex": 6, "endIndex": 13, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'aMethod' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' - { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 16, "endIndex": 22, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'aField' { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' ' { "startIndex": 23, "endIndex": 59, "scopes": ["source.abl", "comment.line.double-slash.abl"] } // '// Evaluates to null if a[x] == null' @@ -179,7 +179,7 @@ describe('', () => { { "startIndex": 1, "endIndex": 2, "scopes": ["source.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.begin.abl"] }, // '[' { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl", "meta.array.literal.abl", "variable.other.abl"] }, // 'x' { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.end.abl"] }, // ']' - { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 5, "endIndex": 12, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'aMethod' { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' @@ -231,7 +231,7 @@ describe('', () => { { "startIndex": 0, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'type-OF' { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 8, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'obj' - { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 12, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'meth' { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')' diff --git a/spec/preprocesors/preprocessor-functions.spec.js b/spec/preprocesors/preprocessor-functions.spec.js index 257ef0c..b95646d 100644 --- a/spec/preprocesors/preprocessor-functions.spec.js +++ b/spec/preprocesors/preprocessor-functions.spec.js @@ -27,7 +27,7 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 68, "scopes": ["source.abl"] }, // ' ' { "startIndex": 68, "endIndex": 81, "scopes": ["source.abl", "variable.other.abl"] }, // 'TokenResolver' - { "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 82, "endIndex": 89, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Resolve' { "startIndex": 89, "endIndex": 90, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 90, "endIndex": 91, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' @@ -47,7 +47,7 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 68, "scopes": ["source.abl"] }, // ' ' { "startIndex": 68, "endIndex": 81, "scopes": ["source.abl", "variable.other.abl"] }, // 'TokenResolver' - { "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 82, "endIndex": 89, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Resolve' { "startIndex": 89, "endIndex": 90, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 90, "endIndex": 91, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' diff --git a/spec/run-statement/run-statement.spec.js b/spec/run-statement/run-statement.spec.js index 01216f0..89e60ca 100644 --- a/spec/run-statement/run-statement.spec.js +++ b/spec/run-statement/run-statement.spec.js @@ -360,7 +360,7 @@ describe('', () => { { "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE' { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 10, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.language.abl"] }, // 'THIS-OBJECT' - { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 22, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'ServiceInterfacePath' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.operator.source.abl"] }, // '+' @@ -616,7 +616,7 @@ describe('', () => { { "startIndex": 4, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'ON' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' ' { "startIndex": 7, "endIndex": 14, "scopes": ["source.abl", "variable.language.abl"] }, // 'SESSION' - { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 15, "endIndex": 21, "scopes": ["source.abl", "entity.name.function.abl"] } // 'HANDLE' ], [ @@ -721,7 +721,7 @@ describe('', () => { { "startIndex": 29, "endIndex": 31, "scopes": ["source.abl", "keyword.other.abl"] }, // 'on' { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl"] }, // ' ' { "startIndex": 32, "endIndex": 34, "scopes": ["source.abl", "variable.other.abl"] }, // 'oT' - { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 35, "endIndex": 41, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'GetHdl' { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' @@ -837,7 +837,7 @@ describe('', () => { { "startIndex": 26, "endIndex": 32, "scopes": ["source.abl", "support.function.abl"] }, // 'string' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 33, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'event-handler-name' - { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 52, "endIndex": 58, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'Method' { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' diff --git a/spec/strings/translation-attribute.spec.js b/spec/strings/translation-attribute.spec.js index dacfb5f..ea8ee2d 100644 --- a/spec/strings/translation-attribute.spec.js +++ b/spec/strings/translation-attribute.spec.js @@ -13,7 +13,7 @@ describe('', () => { { "startIndex": 3, "endIndex": 15, "scopes": ["source.abl", "support.function.abl"] }, // 'valid-object' { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 16, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'oEventArgs' - { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'ResponseBody' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"] }, // ' ' @@ -24,7 +24,7 @@ describe('', () => { { "startIndex": 4, "endIndex": 10, "scopes": ["source.abl", "keyword.other.abl"] }, // 'assign' { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl"] }, // ' ' { "startIndex": 11, "endIndex": 20, "scopes": ["source.abl", "variable.other.abl"] }, // 'oResponse' - { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 21, "endIndex": 32, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ContentType' { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' ' { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' @@ -37,13 +37,13 @@ describe('', () => { [ { "startIndex": 0, "endIndex": 12, "scopes": ["source.abl"] }, // ' ' { "startIndex": 12, "endIndex": 21, "scopes": ["source.abl", "variable.other.abl"] }, // 'oResponse' - { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 22, "endIndex": 28, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Entity' { "startIndex": 28, "endIndex": 34, "scopes": ["source.abl"] }, // ' ' { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '=' { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl"] }, // ' ' { "startIndex": 36, "endIndex": 46, "scopes": ["source.abl", "variable.other.abl"] }, // 'oEventArgs' - { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ResponseBody' { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.' ] diff --git a/spec/type-name/argument.spec.js b/spec/type-name/argument.spec.js index 82ea019..688dcdf 100644 --- a/spec/type-name/argument.spec.js +++ b/spec/type-name/argument.spec.js @@ -14,7 +14,7 @@ describe('', () => { { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ',' { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' ' { "startIndex": 15, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.type.abl"] }, // 'foo.bar.baz' - { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 27, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'Property' { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 36, "endIndex": 38, "scopes": ["source.abl"] } // ' ' @@ -87,7 +87,7 @@ describe('', () => { { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' ' { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q' - { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 9, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'Prop' { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ',' { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' ' diff --git a/spec/type-name/define-property.spec.js b/spec/type-name/define-property.spec.js index a709ff7..377934d 100644 --- a/spec/type-name/define-property.spec.js +++ b/spec/type-name/define-property.spec.js @@ -41,7 +41,7 @@ describe('', () => { { "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "meta.define.abl", "support.function.abl"] }, // 'return' { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl"] }, // ' ' { "startIndex": 12, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 24, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl", "entity.name.function.abl"] }, // 'AThing' { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.' ], diff --git a/spec/type-name/define-variable-property.spec.js b/spec/type-name/define-variable-property.spec.js index ec87f88..910b51f 100644 --- a/spec/type-name/define-variable-property.spec.js +++ b/spec/type-name/define-variable-property.spec.js @@ -182,7 +182,7 @@ describe('', () => { { "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "meta.define.abl", "support.function.abl"] }, // 'return' { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl"] }, // ' ' { "startIndex": 12, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl", "variable.language.abl"] }, // 'this-object' - { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 24, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl", "entity.name.function.abl"] }, // 'AThing' { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.' ], diff --git a/spec/type-name/type-name.spec.js b/spec/type-name/type-name.spec.js index fa6b71e..d8eb6f2 100644 --- a/spec/type-name/type-name.spec.js +++ b/spec/type-name/type-name.spec.js @@ -788,9 +788,9 @@ describe('', () => { let expectedTokens = [ [ { "startIndex": 0, "endIndex": 14, "scopes": ["source.abl", "variable.other.abl"] }, // 'SessionManager' - { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 15, "endIndex": 29, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'ContestDataset' - { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 30, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'READ-XML' { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"' @@ -838,7 +838,7 @@ describe('', () => { { "startIndex": 30, "endIndex": 33, "scopes": ["source.abl", "keyword.other.abl"] }, // 'AND' { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl"] }, // ' ' { "startIndex": 34, "endIndex": 47, "scopes": ["source.abl", "variable.other.abl"] }, // 'CharacterType' - { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 48, "endIndex": 61, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'IsNUllOrEmpty' { "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.brace.round.js"] }, // '(' { "startIndex": 62, "endIndex": 84, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'eBusinessEntity.BEName' @@ -870,7 +870,7 @@ describe('', () => { { "startIndex": 68, "endIndex": 69, "scopes": ["source.abl", "punctuation.separator.comma.abl"] }, // ',' { "startIndex": 69, "endIndex": 71, "scopes": ["source.abl"] }, // ' ' { "startIndex": 71, "endIndex": 95, "scopes": ["source.abl", "variable.other.abl"] }, // 'ClassNameNotEntertedEnum' - { "startIndex": 95, "endIndex": 96, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':' + { "startIndex": 95, "endIndex": 96, "scopes": ["source.abl", "punctuation.accessor.abl"] }, // ':' { "startIndex": 96, "endIndex": 110, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'BusinessEntity' { "startIndex": 110, "endIndex": 111, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')' { "startIndex": 111, "endIndex": 112, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'