Alex Ford
|
0dad1a4779
|
use a case-split for diagnostic severity levels
|
2021-05-12 16:38:37 +01:00 |
|
Alex Ford
|
c38453305f
|
add diagnostics table to dbscheme
|
2021-05-06 22:58:01 +01:00 |
|
Nick Rolfe
|
f691ec9e2a
|
Remove overrides of getParent[Index]
|
2021-03-08 18:25:37 +00:00 |
|
Nick Rolfe
|
9b96bc32cc
|
Add ast_node_parent relation
|
2021-03-08 18:25:37 +00:00 |
|
Nick Rolfe
|
672148e5b4
|
Add support for multiple statements in interpolations
|
2021-02-23 15:36:14 +00:00 |
|
Nick Rolfe
|
3978d6387e
|
Update tree-sitter-ruby revision used
|
2021-02-16 16:49:59 +00:00 |
|
Nick Rolfe
|
f56f81f555
|
Add and expand AST classes for literals
|
2021-02-16 15:41:05 +00:00 |
|
Nick Rolfe
|
04ad1f805a
|
Update rust auto-formatting for 1.50
|
2021-02-16 11:47:24 +00:00 |
|
Nick Rolfe
|
443a992a90
|
Add AST classes for classes and modules
|
2021-02-01 14:23:41 +00:00 |
|
Nick Rolfe
|
2e8d154f2b
|
Add AST classes and tests for method calls
|
2021-01-20 18:34:25 +00:00 |
|
Nick Rolfe
|
7c503120ae
|
Add AST library for control expressions (conditionals and loops)
|
2021-01-05 16:08:33 +00:00 |
|
Arthur Baars
|
d4874641a3
|
Revert "Add duplicate code tables to dbscheme"
This reverts commit 4c699fcb32.
|
2020-12-21 10:45:59 +01:00 |
|
Nick Rolfe
|
d1a9572b0e
|
Merge remote-tracking branch 'origin/main' into kinds
|
2020-12-16 17:55:20 +00:00 |
|
Nick Rolfe
|
f5282edfc1
|
Simplifications based on PR feedback
|
2020-12-16 17:54:40 +00:00 |
|
Nick Rolfe
|
aa0c1491a6
|
Update tree-sitter-ruby to pick up improvements to calls
|
2020-12-16 10:13:45 +00:00 |
|
Nick Rolfe
|
3f5eab04b5
|
Create disjoint db types for different operators
|
2020-12-15 15:22:33 +00:00 |
|
Nick Rolfe
|
6bacac7598
|
Bump tree-sitter-ruby revision to get operator_assignment field
|
2020-12-08 18:28:54 +00:00 |
|
Nick Rolfe
|
3145b3dde7
|
Rename describeQlClass to getAPrimaryQlClass
|
2020-12-08 11:09:18 +00:00 |
|
Arthur Baars
|
044d14c8b4
|
Use private imports in generated code
|
2020-12-07 15:14:34 +01:00 |
|
Arthur Baars
|
4c699fcb32
|
Add duplicate code tables to dbscheme
|
2020-12-07 13:06:26 +01:00 |
|
Arthur Baars
|
dd3f94a3e2
|
Update tree-sitter grammar
|
2020-12-03 18:50:47 +01:00 |
|
Nick Rolfe
|
d7c1231020
|
Bump to latest tree-sitter-ruby revision
|
2020-12-02 16:11:07 +00:00 |
|
Tom Hvitved
|
a370cd8bdf
|
Move Generated.qll to ast/internal/TreeSitter.qll
|
2020-12-01 20:53:41 +01:00 |
|
Nick Rolfe
|
c598dc6b5c
|
Initial work on user-facing AST library
|
2020-11-26 13:45:45 +00:00 |
|
Arthur Baars
|
083672744e
|
Remove @file from @astnode
|
2020-11-25 17:37:58 +01:00 |
|
Arthur Baars
|
00015b0022
|
Add #keyset[parent, parent_index]
|
2020-11-25 13:48:25 +01:00 |
|
Arthur Baars
|
89953fd87c
|
Add parent_index field to @astnode
|
2020-11-25 13:48:25 +01:00 |
|
Arthur Baars
|
b72db8b6f1
|
Add parent field to AstNode
|
2020-11-25 13:48:25 +01:00 |
|
Nick Rolfe
|
f612e05b34
|
Pin tree-sitter-ruby revision
|
2020-11-24 19:22:30 +00:00 |
|
Tom Hvitved
|
8132c4cafb
|
Update generator/src/ql.rs
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2020-11-23 16:12:31 +01:00 |
|
Tom Hvitved
|
d0257dda36
|
Add unique wrapper to AstNode::getParent()
|
2020-11-23 15:23:21 +01:00 |
|
Arthur Baars
|
6bd476ff30
|
Add AstNode::getParent
|
2020-11-23 09:58:31 +01:00 |
|
Nick Rolfe
|
ad61f7a0a6
|
Use references instead of owned strings in generator
|
2020-11-16 17:54:16 +00:00 |
|
Nick Rolfe
|
bbe7c70d34
|
more refactoring of names
|
2020-11-16 17:54:16 +00:00 |
|
Nick Rolfe
|
83a0e5fea6
|
Refactor to move naming decisions to shared library
|
2020-11-16 17:54:14 +00:00 |
|
Arthur Baars
|
043c3fd2eb
|
Simplify generated QL classes
|
2020-11-13 12:59:22 +01:00 |
|
Nick Rolfe
|
6f72ba106e
|
Get latest fixes from tree-sitter-ruby repo
|
2020-11-06 17:15:22 +00:00 |
|
Arthur Baars
|
222af90790
|
Deduplicate and sort union members
|
2020-11-05 18:50:12 +01:00 |
|
Nick Rolfe
|
510621f018
|
Don't add 'Token' prefix to token subclass names
|
2020-11-05 16:21:33 +00:00 |
|
Nick Rolfe
|
4bda204118
|
Add classes for token kinds
|
2020-11-05 13:06:46 +00:00 |
|
Arthur Baars
|
180df8a63d
|
Make classes non-abstract
|
2020-11-04 18:18:45 +01:00 |
|
Nick Rolfe
|
69b1d7c0dc
|
Make union-wrapping classes abstract to fix results for toString/describeQlClass
|
2020-11-04 16:01:51 +00:00 |
|
Arthur Baars
|
86aa05e3cb
|
Address comments
|
2020-11-04 14:49:47 +01:00 |
|
Arthur Baars
|
96423d2e8e
|
Remove describeQlClass from union types
The descriptions of the underlying types are more interesting.
|
2020-11-04 13:35:24 +01:00 |
|
Arthur Baars
|
053c9f60a4
|
Store tokens in a separate table
|
2020-11-04 13:35:24 +01:00 |
|
Nick Rolfe
|
41dcb19cd5
|
Implement basic printAst query
|
2020-11-03 13:47:54 +00:00 |
|
Arthur Baars
|
25205a09a3
|
Update tree-sitter-ruby
|
2020-11-03 10:06:59 +01:00 |
|
Arthur Baars
|
f94b5ae412
|
Update QL code generator
|
2020-10-31 14:03:26 +01:00 |
|
Nick Rolfe
|
0a754334cf
|
Don't generate the QL File class
|
2020-10-30 13:41:27 +00:00 |
|
Nick Rolfe
|
d47bd32b58
|
Now that we also generate conjunctions, use parentheses in disjunctions
|
2020-10-30 10:34:42 +00:00 |
|