Anders Schack-Mulligen
69cf373f21
QL: Refactor
2021-10-14 13:06:41 +02:00
Mathias Vorreiter Pedersen
d4b9c36343
QL: Merge branch 'main' into missing-noinline
2021-10-14 11:08:05 +01:00
Mathias Vorreiter Pedersen
c9bfd85c0d
QL: QL: Model QL annotations.
2021-10-14 10:59:25 +01:00
Mathias Vorreiter Pedersen
1762b4fb91
QL: Merge branch 'main' into mathiasvp/superfluous-exists
2021-10-14 09:49:40 +01:00
Erik Krogh Kristensen
4958b8ba0d
QL: autoformat
2021-10-13 20:26:40 +02:00
Mathias Vorreiter Pedersen
d7f08703af
QL: QL: Add some more model classes that represent builtin QL classes.
2021-10-13 17:24:27 +01:00
Erik Krogh Kristensen
b31f705ffc
QL: resolve calls to db relations
2021-10-13 17:03:24 +02:00
Erik Krogh Kristensen
bc74af7307
QL: resolve imports across qlpacks
2021-10-13 16:20:07 +02:00
Erik Krogh Kristensen
236989f6fd
QL: add pretty AST for YAML and a QLPack utility class
2021-10-13 15:35:14 +02:00
Mathias Vorreiter Pedersen
d1721d0bcd
QL: Merge pull request #69 from github/erik-krogh/perf
...
fix two bad join orders
2021-10-13 12:53:12 +01:00
Erik Krogh Kristensen
15679dfec6
QL: autoformat
2021-10-13 13:34:47 +02:00
Erik Krogh Kristensen
09862b9fe7
QL: cache getClassPredicate
2021-10-13 13:26:37 +02:00
Taus
30040680ec
QL: "Parse" YAML without errors
2021-10-13 11:24:26 +00:00
Erik Krogh Kristensen
932f00b43e
QL: fix two bad join orders
2021-10-13 13:20:41 +02:00
Anders Schack-Mulligen
3ed7f9664c
QL: Merge pull request #55 from github/mathiasvp/prefix-or-suffix-in-comparison
...
New query: Find uses of '.prefix' or '.suffix' when comparing against string literals
2021-10-13 12:45:12 +02:00
Mathias Vorreiter Pedersen
df20f84ae2
QL: QL: Respond to PR comments.
2021-10-13 09:57:05 +00:00
Mathias Vorreiter Pedersen
b4d710d58f
QL: QL: Respond to PR reviews.
2021-10-13 09:28:02 +00:00
Taus
352c50c2e5
QL: Merge pull request #37 from github/toUnicodeBuildin
...
add `toUnicode` as a build-in
2021-10-13 10:13:05 +02:00
Taus
4694ab4773
QL: Support instanceof
...
Stills needs to be hooked up correctly to the AST.
2021-10-12 17:40:29 +00:00
Erik Krogh Kristensen
b385dfd5a8
QL: add toUnicode as a build-in
2021-06-22 12:07:47 +00:00
Taus
2515fc0ebc
QL: Add exclusions to Module consistency test
2021-06-19 12:41:16 +00:00
Taus
7a117caaea
QL: Autoformat
2021-06-19 12:36:10 +00:00
Taus
fb8f549d93
QL: Exclude a few more paths from tests
2021-06-19 11:54:50 +00:00
Taus
76b55c4a5a
QL: Split up Aggregate properly
...
Previously, we had `Aggregate` and `ExprAggregate` as separate classes,
the latter of which representing aggregates that contain only an
expression.
This was a problem for the `rank` aggregate, as it inherited from
`Aggregate`, but _could_ also contain just an expression (even if this
is rather rare).
To fix this, I renamed `Aggregate` to `FullAggregate` (to make the
division clearer), and added a new type `Aggregate` that represents the
union of these two types. Now `Rank` can inherit from the new class
`Aggregate` and everything is dandy.
2021-06-19 11:50:50 +00:00
Taus
75a959389c
QL: Update to latest generator
...
Includes better QLDoc generation and better escaping in the generated
files (the latter has changed the dbscheme, so rebuilding databases will
be required).
2021-06-01 16:43:11 +00:00
Taus
ada77a3c8b
QL: Merge branch 'main' into dbscheme-and-qlpack-support
2021-05-31 10:50:39 +02:00
Erik Krogh Kristensen
f2f6d34f21
QL: improve performance of module resolution
2021-05-31 08:06:49 +00:00
Erik Krogh Kristensen
3ee642868d
QL: improve performance of type resolution
2021-05-31 07:51:11 +00:00
Erik Krogh Kristensen
12627d19fa
QL: improve scope resolution performance
2021-05-31 07:46:51 +00:00
Erik Krogh Kristensen
e47c4ff2ad
QL: spaces in folder/file names are underscores in import names
2021-05-30 21:36:01 +00:00
Erik Krogh Kristensen
1aa7cbb918
QL: use qlpack existence to determine the root for imports
2021-05-30 21:30:11 +00:00
Taus
2bbf1e37fc
QL: Add support for dbscheme and qlpack.yml
...
Currently the the YAML "parser" fails for some legacy files, but the
actual files appear to be parsed correctly.
2021-05-30 17:38:26 +00:00
Erik Krogh Kristensen
01e420fd02
QL: Merge branch 'main' into qldoc-nodes
2021-05-30 15:51:29 +00:00
Erik Krogh Kristensen
f1aa5ef804
QL: change multipleResolveCall to ignore aliases
2021-05-29 19:30:40 +00:00
Erik Krogh Kristensen
5b1bab0921
QL: fix the arity of predicate aliases
2021-05-29 19:23:58 +00:00
Erik Krogh Kristensen
c78bae69c8
QL: add super calls to the callgraph
2021-05-29 19:23:58 +00:00
Erik Krogh Kristensen
aceab25d9b
QL: add super nodes
2021-05-29 19:23:58 +00:00
Taus
7d597782b8
QL: Autogenerate QLDoc for TreeSitter.qll
2021-05-28 21:06:51 +00:00
Taus
51fbee69c2
QL: Add AST nodes for QLDoc
2021-05-28 17:11:02 +00:00
Tom Hvitved
ce13360f9b
QL: Cache some predicates
2021-05-28 15:20:55 +02:00
Tom Hvitved
27d0af917a
QL: Merge pull request #27 from github/newtype-call
...
Resolve `newtype` constructor calls
2021-05-28 15:14:52 +02:00
Erik Krogh Kristensen
7e69931455
QL: Merge pull request #25 from github/cleanup
...
cleanup
2021-05-28 15:07:16 +02:00
Tom Hvitved
22cd2844d3
QL: Resolve newtype constructor calls
2021-05-28 15:06:37 +02:00
Erik Krogh Kristensen
e456098a35
QL: cleanup
2021-05-28 12:50:33 +00:00
Taus
e62e72edfd
QL: Reuse defined predicate arity
2021-05-28 12:40:45 +00:00
Joe Farebrother
87e39c7f23
QL: Support builtin predicates
2021-05-28 12:57:36 +01:00
Tom Hvitved
99a3a09033
QL: Resolve calls
2021-05-28 13:39:21 +02:00
Tom Hvitved
bac0e02fae
QL: Only generate AsExprs when there is an as keyword
2021-05-28 12:12:34 +02:00
Tom Hvitved
3e87a05de8
QL: More variable resolution
2021-05-28 11:05:46 +02:00
Joe Farebrother
d4d7c6de64
QL: Resolution of inherited members
2021-05-28 11:00:01 +02:00