File tree Expand file tree Collapse file tree
languages/objectscript_udl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11id = " objectscript"
22name = " InterSystems ObjectScript"
3- version = " 1.3 .0"
3+ version = " 1.4 .0"
44schema_version = 1
55authors = [" Dave McCaldon <davem@intersystems.com>" ," Hannah Kimura <hannah.kimura@intersystems.com>" ]
66description = " InterSystems IRIS ObjectScript Extension"
77repository = " https://github.com/intersystems/zed-objectscript"
88
99[grammars .objectscript_udl ]
1010repository = " https://github.com/intersystems/tree-sitter-objectscript"
11- commit = " bd68f926f0b3451421be3b60387d0dce901aebe7 "
11+ commit = " 7aa01969d0fea2e75dc69f2be2244b13d8269d6f "
1212path = " udl"
1313
1414[grammars .objectscript_core ]
1515repository = " https://github.com/intersystems/tree-sitter-objectscript"
16- commit = " bd68f926f0b3451421be3b60387d0dce901aebe7 "
16+ commit = " 7aa01969d0fea2e75dc69f2be2244b13d8269d6f "
1717path = " core"
1818
1919[grammars .objectscript ]
2020repository = " https://github.com/intersystems/tree-sitter-objectscript"
21- commit = " bd68f926f0b3451421be3b60387d0dce901aebe7 "
21+ commit = " 7aa01969d0fea2e75dc69f2be2244b13d8269d6f "
2222path = " objectscript"
2323
2424[grammars .xml ]
Original file line number Diff line number Diff line change 2222(objectscript_identifier) @variable
2323
2424(method_arg) @variable.parameter
25- ; I didn't include ( or ) in this, because they are often grouped
25+ ; I didn't include '(' or ')' in this, because they are often grouped
2626; as part of a sequence that gets turned into a single token, so they
2727; don't get matched, and one ends up getting colored differently than the other.
2828[
5050 "/"
5151 "/"
5252 "$$"
53+ "--"
54+ ";"
55+ "//"
56+ "#;"
57+ "##;"
58+ "$"
5359] @punctuation
5460
5561[
6874 "="
6975 ">"
7076 ">="
71- "@"
77+ "@"
7278 "*"
7379 "**"
7480 "'"
7581 "'!"
7682 "'?"
77- "!"
83+ "!"
7884 "?"
7985] @operator
8086
8389(json_number_literal) @number
8490(json_null_literal) @string
8591(bracket) @punctuation.bracket
86-
87- ;; inherits: objectscript_expr
8892(locktype) @variable
8993
9094(macro_arg) @variable
@@ -113,16 +117,6 @@ keyword: (_) @keyword
113117
114118(tag) @tag
115119
116- [
117- "--"
118- ";"
119- "//"
120- "#;"
121- "##;"
122- "$"
123- ] @punctuation
124-
125- ;; inherits: objectscript_core
126120; ------------------ UDL -------------------
127121
128122[
Original file line number Diff line number Diff line change 3434
3535
3636
37- ; UDL injections
37+ ; UDL grammar injections
3838;; Keywords, one of type language = "python", none of type codemode
3939; External method body injection based on [ Language = ... ]
4040(method_definition
You can’t perform that action at this time.
0 commit comments