Adrien Friggeri
|
01bf431261
|
fix(wasm): correct childrenFromFieldXXX method signatures
These do not expect a `cursor` parameter
|
2024-04-16 13:48:53 -04:00 |
|
Amaan Qureshi
|
5c2f80ebb0
|
fix(bindings/wasm): fix Parser.getIncludedRanges()
|
2024-03-12 02:29:35 -04:00 |
|
Amaan Qureshi
|
728793a160
|
feat(wasm)!: keep API in-line with upstream and start aligning with node
|
2024-03-10 03:02:17 -04:00 |
|
Boris Verkhovskiy
|
c070c92722
|
refactor(wasm)!: make current*, is*, and has* methods properties
|
2024-03-08 00:27:06 -05:00 |
|
Daumantas Kavolis
|
1f52f2f1dc
|
Symbols without aliases should be used for lookahead
|
2023-08-02 00:02:33 +03:00 |
|
Daumantas Kavolis
|
c47e217e73
|
API extensions
|
2023-08-02 00:02:33 +03:00 |
|
Max Brunsfeld
|
0e26fbe5e6
|
Merge pull request #1367 from jrieken/moduleInit
Allow to pass Module object to init-function
|
2021-08-30 09:32:43 -07:00 |
|
Johannes Rieken
|
e7a8e73bbf
|
fixes and additions to tree-sitter-web.d.ts
|
2021-08-30 14:47:47 +02:00 |
|
Johannes Rieken
|
12d727fd49
|
mix init options in the Module-global
|
2021-08-30 14:16:41 +02:00 |
|
hvithrafn
|
752372ee09
|
Add several bindings for Language
|
2021-02-01 13:01:10 -07:00 |
|
hvithrafn
|
c994adbf61
|
Modify Language.load to accept bytes directly
|
2021-01-25 02:06:47 -07:00 |
|
Max Brunsfeld
|
5139d81e54
|
Merge pull request #622 from skovhus/patch-1
TypeScript: Correct SyntaxNode isNamed type
|
2020-11-03 10:34:27 -08:00 |
|
Stafford Brunk
|
2f897b4d73
|
Change QueryResult to be QueryCapture and QueryMatch
matches/captures return 2 different types of object so this change corrects the return types
|
2020-11-03 08:20:20 -07:00 |
|
Stafford Brunk
|
a7a6139e70
|
Add additional Query API typedefs based on Elm Language Server's overrides
|
2020-10-30 10:20:12 -06:00 |
|
Stafford Brunk
|
505695040d
|
Update TS definitions to support the Query API
|
2020-10-30 06:58:13 -06:00 |
|
Kenneth Skovhus
|
02196f8ae9
|
Correct SyntaxNode isNamed type
|
2020-05-17 20:33:53 +02:00 |
|
George Fraser
|
1346929e66
|
Parser.Language.load takes a path (#471)
|
2019-10-23 08:53:15 -07:00 |
|
Ika
|
979b46e297
|
fix(web-tree-sitter): add missing types
|
2019-10-04 20:16:13 +08:00 |
|
Max Brunsfeld
|
82fab90c0b
|
web: Add bindings for remaining field APIs
|
2019-09-04 09:30:36 -07:00 |
|
Max Brunsfeld
|
9848ceb3e2
|
wasm: Fix infinite loop in Node.text when tree and text are out-of-sync
|
2019-07-31 13:55:15 -07:00 |
|
Stafford Brunk
|
ce10b53fe3
|
Add missing currentFieldName() to TreeCursor
|
2019-07-23 06:47:44 -06:00 |
|
Stafford Brunk
|
d686d24563
|
Add missing delete() to TreeCursor
|
2019-07-23 06:47:44 -06:00 |
|
Stafford Brunk
|
e5ee59c051
|
Correct currentNode on TreeCursor
It's a method not a getter in this implementation
|
2019-07-23 06:47:44 -06:00 |
|
Max Brunsfeld
|
5289e009c1
|
wasm: Add descendantsOfType to typescript interface
|
2019-07-17 08:59:14 -07:00 |
|
Stafford Brunk
|
6340c820c1
|
Add missing copy() and getLanguage() calls to Tree web types
|
2019-07-16 20:42:57 -06:00 |
|
Stafford Brunk
|
3953cb317f
|
Add delete() to Parser and Tree web types
|
2019-07-16 20:39:57 -06:00 |
|
George Fraser
|
0fe67dc8b4
|
Dedent
|
2019-05-28 23:01:41 +01:00 |
|
George Fraser
|
a0d0ba9709
|
Add type definitions
This is based on https://github.com/tree-sitter/node-tree-sitter/blob/master/tree-sitter.d.ts with slight modifications because web-tree-sitter has a slightly different interface than node-tree-sitter
|
2019-05-27 15:08:29 +01:00 |
|