Paolo Tranquilli
|
3eaee1249c
|
Merge pull request #17464 from geoffw0/loc
Rust: Add lines-of-code queries
|
2024-09-16 16:47:12 +02:00 |
|
Paolo Tranquilli
|
64f77051bd
|
Rust: commit forgotten new files
|
2024-09-16 16:02:59 +02:00 |
|
Paolo Tranquilli
|
a4399a184a
|
Rust: introduce Unextracted and Missing "marker" classes
|
2024-09-16 15:49:37 +02:00 |
|
Tom Hvitved
|
8d68bdf4d6
|
Codegen: Fix return type of getResolveStep and resolve
|
2024-09-16 14:19:29 +02:00 |
|
Tom Hvitved
|
683ecc39d8
|
Rust: Adjust some generated Impl files
|
2024-09-16 13:39:57 +02:00 |
|
Tom Hvitved
|
4dd3059f16
|
Rust: Run code generator
|
2024-09-16 13:39:55 +02:00 |
|
Simon Friis Vindum
|
04aa7b471b
|
Rust: Add support in CFG for various simple AST nodes
|
2024-09-16 13:22:15 +02:00 |
|
Simon Friis Vindum
|
c62c397cda
|
Merge branch 'main' into rust-improve-cfg
|
2024-09-16 10:34:15 +02:00 |
|
Arthur Baars
|
762bf87663
|
Merge branch 'main' into loc
|
2024-09-16 09:50:48 +02:00 |
|
Geoffrey White
|
551c4e83f4
|
Rust: Improve getNumberOfLinesOfCode (in particular, it will now include the closing of blocks { } ).
|
2024-09-13 18:23:11 +01:00 |
|
Geoffrey White
|
0d5c25b400
|
Rust: Repair getNumberOfLinesOfCode.
|
2024-09-13 18:19:01 +01:00 |
|
Arthur Baars
|
90537f9132
|
Fix other QL code
This reverts commit 5c02fb4a2e.
|
2024-09-13 18:47:10 +02:00 |
|
Arthur Baars
|
3fdc49c4cb
|
Rename Literal, Type, and BinExpr
|
2024-09-13 18:33:55 +02:00 |
|
Arthur Baars
|
661a4e07be
|
Merge remote-tracking branch 'upstream/main' into aibaars/rust-doc-tests
|
2024-09-13 17:31:38 +02:00 |
|
Simon Friis Vindum
|
afa4e79756
|
Rust: Add support for more AST nodes to CFG contruction
|
2024-09-13 16:22:18 +02:00 |
|
Simon Friis Vindum
|
9061536cca
|
Rust: Make logical operator pre order nodes and eliminate impossible paths in CFG
|
2024-09-13 16:14:33 +02:00 |
|
Arthur Baars
|
d73d90dba2
|
Avoid use of plain 'None' in tests
For some reason the parser resolves the ambiguity between None as a PathPat or IdentPat
differently on the Action runners vs local machine.
|
2024-09-13 12:48:58 +02:00 |
|
Simon Friis Vindum
|
61aad2ec68
|
Rust: Sort CFG trees and add scope for closures
|
2024-09-13 11:57:31 +02:00 |
|
Simon Friis Vindum
|
1a85dfd9ce
|
Rust: Loops propagate CFG return completions but captures continue and break
|
2024-09-13 11:51:16 +02:00 |
|
Arthur Baars
|
e68229892e
|
Add some more QL docs
|
2024-09-13 11:48:36 +02:00 |
|
Arthur Baars
|
5c02fb4a2e
|
Fix CFG library
|
2024-09-13 11:41:21 +02:00 |
|
Simon Friis Vindum
|
b979df61ea
|
Rust: Handle functions correctly through scope in CFG
|
2024-09-13 11:40:26 +02:00 |
|
Arthur Baars
|
d99c2031ac
|
Workaround nameclash in dbscheme generator
|
2024-09-13 11:07:02 +02:00 |
|
Arthur Baars
|
fa9cfc1104
|
Regenerate code
|
2024-09-13 10:52:43 +02:00 |
|
Arthur Baars
|
197fb04184
|
Improve docs
|
2024-09-13 10:16:34 +02:00 |
|
Arthur Baars
|
c825ae4eab
|
Add some examples for some of the unimplemented nodes
|
2024-09-12 22:18:02 +02:00 |
|
Arthur Baars
|
7572546efa
|
Improve handling of unimplemented nodes
|
2024-09-12 22:17:39 +02:00 |
|
Arthur Baars
|
69761a2942
|
Rust: AST: add docs with examples for qltest
|
2024-09-12 19:54:37 +02:00 |
|
Arthur Baars
|
2a88086544
|
Rust: AST: add docs with examples for qltest
|
2024-09-12 17:58:15 +02:00 |
|
Simon Friis Vindum
|
f73680ba21
|
Rust: Handle short-circuiting logical binary operators
|
2024-09-12 17:30:05 +02:00 |
|
Paolo Tranquilli
|
0b850a2dff
|
Rust: add missing doc
|
2024-09-12 16:51:52 +02:00 |
|
Simon Friis Vindum
|
c821ec21bb
|
Rust: CFG edge for return in functions
|
2024-09-12 16:25:43 +02:00 |
|
Paolo Tranquilli
|
beb27bf5e3
|
Rust: fix QL compilation and schema includes ordering
|
2024-09-12 15:05:30 +02:00 |
|
Simon Friis Vindum
|
e1f2fa8c7e
|
Rust: Support break and continue in loops
|
2024-09-12 14:07:43 +02:00 |
|
Paolo Tranquilli
|
b4b680775c
|
Rust: integrate into standard files+location library
|
2024-09-12 13:17:10 +02:00 |
|
Simon Friis Vindum
|
3dc517c82b
|
Rust: Handle absence of else branch in if expression in CFG
|
2024-09-12 10:35:00 +02:00 |
|
Simon Friis Vindum
|
67a06cb772
|
Rust: Support loop in CFG
|
2024-09-12 09:29:19 +02:00 |
|
Simon Friis Vindum
|
857edb791c
|
Rust: Fix control flow tree for function and block expression
|
2024-09-11 11:18:56 +02:00 |
|
Simon Friis Vindum
|
809d040528
|
Make more classes private and final
|
2024-09-11 09:37:39 +02:00 |
|
Simon Friis Vindum
|
6d972bea2c
|
Rust: Add a few control flow tree classes
|
2024-09-11 09:08:54 +02:00 |
|
Simon Friis Vindum
|
91d5171d90
|
Add base setup for control flow graph construction
|
2024-09-11 09:08:53 +02:00 |
|
Arthur Baars
|
a5d1d9e167
|
Make implementation more complete
Use Unimplemented to mark AstNodes that need implementing
|
2024-09-10 14:13:05 +02:00 |
|
Arthur Baars
|
b2451c6667
|
Improve schema
|
2024-09-10 12:26:54 +02:00 |
|
Arthur Baars
|
42b1112be6
|
Rust: add default Element::toString
|
2024-09-09 15:05:04 +02:00 |
|
Arthur Baars
|
20ca8801e6
|
Revert "Rust: PrintAstNode: tolerate elements without toString"
This reverts commit 85e51bf0ec.
|
2024-09-09 15:01:32 +02:00 |
|
Arthur Baars
|
86215b4f02
|
Rename IfLet to IfStmt
|
2024-09-09 13:33:17 +02:00 |
|
Arthur Baars
|
85e51bf0ec
|
Rust: PrintAstNode: tolerate elements without toString
|
2024-09-09 13:29:49 +02:00 |
|
Arthur Baars
|
b40476423b
|
Rust: schema.py add '| child' markers
|
2024-09-09 13:29:45 +02:00 |
|
Paolo Tranquilli
|
10a23c0843
|
Merge branch 'rust-experiment' into redsun82/rust-doctest-gen
|
2024-09-09 12:20:55 +02:00 |
|
Arthur Baars
|
1a9b2329f4
|
Add SlicePat::{slice, suffix}
|
2024-09-06 19:27:35 +02:00 |
|