Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Taus 2cdec47585 QL: Make the JSON parser a bit more robust
Updates the grammar to allow trailing commas in objects and arrays.

Also bumps the file size limit to 10MB.
2023-02-22 13:45:47 +00:00
Taus cf734919b9 QL: Fix bad string grammar
What was there before made it so that you couldn't actually extract the
contents of a string.
2023-02-21 20:20:58 +00:00
Taus b5ebd1a0fd QL: Add JSON (+C/L) extraction 2023-02-21 12:59:30 +00:00
Taus db748fae6b QL: Integrate blame parser into extractor 2023-02-17 13:22:18 +00:00
dependabot[bot] 597c71011e
Bump tracing-subscriber from 0.3.15 to 0.3.16 in /ql
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.15...tracing-subscriber-0.3.16)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 13:09:13 +00:00
erik-krogh 5a4fe71529
Revert "update clap to 3.0 in QL-for-QL"
This reverts commit d072ed969e.
2023-01-17 12:38:30 +01:00
erik-krogh d072ed969e
update clap to 3.0 in QL-for-QL 2023-01-16 12:34:56 +01:00
erik-krogh 2ff23a6fc0
make top TreeSitter.qll comment into a qldoc 2022-12-20 11:39:06 +01:00
erik-krogh 232952519a
support signature parameters in QL-for-QL 2022-08-16 13:36:05 +02:00
erik-krogh c652f3e3dd
update grammar after https://github.com/tree-sitter/tree-sitter-ql/pull/17 has been merged 2022-08-15 14:10:10 +02:00
Erik Krogh Kristensen c97001ede7
add support for module instantiations in import statements. Rework the import resolution logic to reuse the logic from ModuleExpr 2022-08-11 12:31:53 +02:00
Erik Krogh Kristensen 641c6b0300
re-generate bindings in the other grammars 2022-08-11 12:31:52 +02:00
Erik Krogh Kristensen 82beca6787
change the tree-sitter version constaint to ">= 0.20, < 0.21" throughout the grammars 2022-08-11 12:31:52 +02:00
Erik Krogh Kristensen 98f49e08b6
re-generate bindings in tree-sitter-ql 2022-08-11 12:31:52 +02:00
Erik Krogh Kristensen 774ae0e5da
pin the version of tree-sitter-ql-dbscheme / tree-sitter-ql 2022-08-11 12:31:52 +02:00
Erik Krogh Kristensen 1e3306d341
synchronize the version of tree-sitter-ql-yaml across the Cargo.toml files 2022-08-11 12:31:52 +02:00
Taus 395414c3cf
Update generator 2022-08-11 12:31:52 +02:00
Taus 495576c438
Use upstream `tree-sitter-ql`
This gets rid of all of the `dbscheme` and YAML bits. These will be
added in later commits. (Doing it all in one go made for an unreadable
diff.)

Also modifies `create-extractor-path.sh` to automatically install
`gh codeql` if there is no CodeQL CLI available for autoformatting.
2022-08-11 12:31:52 +02:00
Erik Krogh Kristensen 744e2db152 fix the parser to allow lower-case module names 2022-06-16 22:55:10 +02:00
Erik Krogh Kristensen adc1466cab save the name of an instantiated module 2022-06-16 22:55:10 +02:00
Taus 73a807c7e8 QL: Allow module applications to the right of `::` 2022-06-15 16:18:30 +00:00
Taus 5d306c9c22 QL: Refactor `SignatureExpr` 2022-06-14 09:59:00 +00:00
Taus ba6a4c6399 QL: Use more precise type for `getImplements` 2022-06-13 16:06:05 +00:00
Taus 5a214afdb8 QL: Use more precise type for `getParameter` 2022-06-13 15:53:47 +00:00
Taus 81e41106e7 QL: Add fields for `signatureExpr` 2022-06-13 15:47:56 +00:00
Taus 8c46846b82 Add fields to `ModuleParam` children 2022-06-13 14:27:03 +00:00
Taus 0b8656e625 Rename `Application` to `Instantiation` 2022-06-13 14:25:55 +00:00
Taus a08be0d9b9 QL: Add parser support for parameterised modules 2022-06-13 13:52:26 +00:00
Nick Rolfe fa16ff9ffc QL for QL: make `node` column `unique` 2022-02-08 09:59:11 +00:00
Nick Rolfe 3ee109731a QL for QL: sync changes from Ruby
In particular, update the dbscheme to put location columns in a single
table.
2022-02-07 17:44:40 +00:00
Taus 8845529548 QL: Support trailing comma in set literals
See

725395405e

for the grammar changes and corresponding test.
2022-01-03 15:48:24 +00:00
Nick Rolfe e6c60ebd41 QL for QL: add autobuilder that respects LGTM_INDEX_FILTERS 2021-12-17 16:05:21 +00:00
Erik Krogh Kristensen d06ac78e4d QL: move files and folder, except dotfiles, into a ql subfolder 2021-12-14 14:34:53 +01:00