Yuya Nishihara
9fa49ff331
regenerate
2024-02-02 22:16:55 +07:00
Yuya Nishihara
f0b7903080
merge with dev
2024-02-02 22:15:54 +07:00
Yuya Nishihara
56e49d4560
bump tree-sitter-typescript to 0.20.5
...
Also switched to version number to follow the upstream decision. We still
specify the exact version because our grammar depends heavily on the upstream
implementation detail.
Closes #7
2024-02-02 21:55:54 +07:00
Yuya Nishihara
bd9b752534
add test of multi-line string literal
2024-02-02 21:52:51 +07:00
Yuya Nishihara
65a11be26d
define our set of reserved identifiers to get around "new {}" conflicts
2024-02-02 21:52:51 +07:00
Yuya Nishihara
e14039d559
extend reserved identifiers test to include various property name positions
2024-02-02 18:52:25 +07:00
Evan Richter
d106c979ee
add smali language support
2024-02-01 15:41:14 +07:00
Evan Richter
6ae210999c
Add 'vendored_parsers/tree-sitter-smali/' from commit '5ae51e15c4d1ac93cba6127caf3d1f0a072c140c'
...
git-subtree-dir: vendored_parsers/tree-sitter-smali
git-subtree-mainline: 77c641748f
git-subtree-split: 5ae51e15c4
2024-02-01 14:35:46 +07:00
Wilfred Hughes
77c641748f
0.55 is released
2024-02-01 08:26:52 +07:00
Amaan Qureshi
7db8390a16
0.20.5
2024-01-31 21:03:46 +07:00
Amaan Qureshi
ab41b8c89a
chore: generate
2024-01-31 21:03:16 +07:00
Amaan Qureshi
e281f36ee4
feat: add readonly to reserved identifiers
2024-01-31 21:02:02 +07:00
Amaan Qureshi
c96c095f60
chore: update tests
2024-01-31 21:02:02 +07:00
Amaan Qureshi
1da16a789c
chore: update javascript grammar
2024-01-31 20:58:02 +07:00
Amaan Qureshi
148910e774
fix: format scanner and don't bother parsing during error recovery
2024-01-31 20:57:10 +07:00
Amaan Qureshi
6d84193ae2
0.20.3
2024-01-31 20:50:13 +07:00
Amaan Qureshi
0f3ea7d323
chore: generate
2024-01-31 20:50:13 +07:00
Amaan Qureshi
fbe6e74b48
fix: windows newline escapes
2024-01-31 20:50:13 +07:00
Amaan Qureshi
07e77af2cf
chore: don't greedily parse automatic semis if an `=` is present
2024-01-31 20:50:13 +07:00
Mark Skelton
b454f16298
feat: add support for import attributes
2024-01-31 20:50:13 +07:00
Julian Rosse
1280c10eee
feat: add field names to nested_identifier rule
2024-01-31 20:50:13 +07:00
Calum Smith
b16c69a70b
feat: support HTML entities in JSX text/attributes
...
JSX text and attributes support HTML character references (a.k.a.
entities), and don't support ECMAScript string escape sequences.
Although the [spec] calls it "historical" and threatens to change it,
it _is_ in the spec, and the spec is pretty stable at this point.
In changing this, I landed back on an idea that @maxbrunsfeld suggested
in a [PR review] some time ago: having separate `string` and
`jsx_string` nodes, and aliasing `jsx_string` to `string` for consumers'
convenience. At that time, having two different node types was deemed
unnecessary, but this adds a second, more substantive difference between
the two, so I've brought the idea back, and stopped allowing invalid
newlines in JS string literals, which is invalid in both JS and TS.
[spec]: https://facebook.github.io/jsx/#sec-jsx-string-characters
[PR review]: https://github.com/tree-sitter/tree-sitter-javascript/pull/140#discussion_r503399344
2024-01-31 20:50:13 +07:00
Amaan Qureshi
eb6b845dee
0.20.4
2024-01-31 10:42:05 +07:00
Amaan Qureshi
80d92e6900
chore: add and apply eslint formatting
2024-01-31 10:39:38 +07:00
Amaan Qureshi
3e9eadc546
chore: update manifests, actions and docs
2024-01-31 10:39:38 +07:00
Amaan Qureshi
8ea2f2e83b
chore: generate
2024-01-31 10:39:38 +07:00
Amaan Qureshi
ad02034a1c
chore(deps): use tree-sitter-javascript@0.20.2
2024-01-31 10:39:38 +07:00
Amaan Qureshi
6d567ef05d
chore(script): update repos
2024-01-31 10:39:38 +07:00
Amaan Qureshi
e1320febcc
feat: allow an override modifier in abstract method signatures
2024-01-31 10:39:38 +07:00
Amaan Qureshi
b5f38c773c
feat: allow new as a reserved keyword
2024-01-31 10:39:38 +07:00
Amaan Qureshi
9639934418
chore: allow semis anywhere in class bodies
2024-01-31 10:39:38 +07:00
Amaan Qureshi
d59b29d600
chore: tidying
2024-01-31 10:39:38 +07:00
Amaan Qureshi
d63fbd4be8
chore: allow import in call expressions like js
2024-01-31 10:39:38 +07:00
Amaan Qureshi
8106351fbf
fix: allow type queries in type annotations and type arguments in
...
special scenarios
2024-01-31 10:39:38 +07:00
Amaan Qureshi
a4d30322c6
chore: update tests
2024-01-31 10:39:38 +07:00
Amaan Qureshi
52f79e4c1d
fix: port javascript scanner changes
2024-01-31 10:39:38 +07:00
Amaan Qureshi
afd733999d
chore: formatting
2024-01-31 10:39:38 +07:00
Amaan Qureshi
07f4633ea7
fix: allow `const` as a primary type
2024-01-31 10:39:38 +07:00
Amaan Qureshi
80a8a7d387
feat: support `using`
2024-01-31 10:39:38 +07:00
Amaan Qureshi
ee9b195011
fix: `declare` can be before or after accessbility modifiers
2024-01-31 10:39:38 +07:00
Amaan Qureshi
bb252d7481
fix: allow certain type queries in type annotations
2024-01-31 10:39:38 +07:00
Amaan Qureshi
9e0ce8e82e
fix: move decorators inside public field definitions
2024-01-31 10:39:38 +07:00
Amaan Qureshi
40ddc0d5ce
fix: allow object as a reserved identifier
2024-01-31 10:39:38 +07:00
Amaan Qureshi
90ebdcdb2e
fix: javascript uses || now
2024-01-31 10:39:38 +07:00
Amaan Qureshi
d6ff2db347
fix: plus signs in certain contexts were missing
2024-01-31 10:39:38 +07:00
Amaan Qureshi
de7b843796
chore: remove unnecessary conflicts
2024-01-31 10:39:38 +07:00
Amaan Qureshi
c2c2260195
0.20.2
2024-01-31 05:07:05 +07:00
Amaan Qureshi
8804e711fd
chore: format scanner
2024-01-31 05:07:05 +07:00
Amaan Qureshi
248303dac1
fix: include parser.h locally
2024-01-31 04:52:05 +07:00
Amaan Qureshi
bbb7f68ff3
fix: update test
2024-01-31 04:52:05 +07:00