Simon Binder
|
ed03bff4c2
|
Recognize boolean and datetime column in moor
|
2019-10-05 21:24:41 +02:00 |
Simon Binder
|
ef1dd8d2c5
|
Scan \r as whitespace (#170)
|
2019-10-04 22:21:17 +02:00 |
Simon Binder
|
1ba687696f
|
Plugin: Navigation support for table references
|
2019-09-28 23:15:23 +02:00 |
Simon Binder
|
b9f934c1d4
|
Report information about where a column was declared
|
2019-09-28 22:01:28 +02:00 |
Simon Binder
|
ab787b82be
|
Use existing parser code for auto-complete
This works very well when the user is typing at the end of a statement, but won't provide accurate results when editing in the middle.
|
2019-09-27 22:06:14 +02:00 |
Simon Binder
|
a6cfc5fdd8
|
Better types for nested expressions, more 2.0 docs
|
2019-09-26 22:46:19 +02:00 |
Simon Binder
|
c4f321748a
|
Prepare release for sqlparser 0.3.0
|
2019-09-25 20:19:39 +02:00 |
Simon Binder
|
2a782a010e
|
Resolve types of columns in compound select statements
|
2019-09-25 19:46:39 +02:00 |
Simon Binder
|
f6a5009380
|
Report errors when ORDER or LIMIT is used in compound stmt
|
2019-09-25 18:08:24 +02:00 |
Simon Binder
|
0cbac2ee37
|
Parse compound select statements
|
2019-09-25 14:58:44 +02:00 |
Simon Binder
|
d9c2b5f342
|
Parse JOIN and INDEXED as identifiers when appropriate
|
2019-09-25 11:37:03 +02:00 |
Simon Binder
|
bf6d60b170
|
Fix column parser not accepting columns without type
|
2019-09-24 22:45:18 +02:00 |
Simon Binder
|
ba21a594af
|
Fix autocomplete and suggestions in the analyzer plugin
|
2019-09-24 20:50:23 +02:00 |
Simon Binder
|
1bdfa0289b
|
Make the parser set a span on each AST node.
|
2019-09-18 21:36:25 +02:00 |
Simon Binder
|
1bd856e9c5
|
Fix scanner crashing when the last line contains a comment
|
2019-09-18 20:53:49 +02:00 |
Simon Binder
|
7121bac866
|
More work on the analyzer plugin
- finish migration to refactored generator
- document how to use the analysis plugin
- better error reporting without redundant messages
|
2019-09-18 20:48:44 +02:00 |
Simon Binder
|
00b2956b35
|
Allow data class names to be overridden in sql
Closes #147
|
2019-09-17 15:23:24 +02:00 |
Simon Binder
|
746b8401ec
|
Scan comments in sql
|
2019-09-16 22:33:36 +02:00 |
Simon Binder
|
5f2d5d3258
|
Parse <expression> IN (<select-stmt>) again
|
2019-09-15 21:41:32 +02:00 |
Simon Binder
|
25ceda3505
|
Report lints about invalid Dart Templates in SQL
|
2019-09-15 11:59:47 +02:00 |
Simon Binder
|
3abfbd5963
|
Don't parse tuples as expressions
|
2019-09-15 11:19:32 +02:00 |
Simon Binder
|
c95a3badb2
|
Infer types for dart placeholder expressions
Also, infer where clauses to have a bool type
|
2019-09-14 22:44:20 +02:00 |
Simon Binder
|
349b245089
|
Write implementation for Dart placeholders
|
2019-09-14 16:42:24 +02:00 |
Simon Binder
|
bf7c9feddf
|
Write parameter declarations for Dart placeholders
|
2019-09-14 12:26:58 +02:00 |
Simon Binder
|
f171098789
|
Parse Dart placeholders based on their context
|
2019-09-14 11:44:15 +02:00 |
Simon Binder
|
7a8191fe7e
|
Fix moor queries not expanding array vars properly
|
2019-09-14 09:27:36 +02:00 |
Simon Binder
|
4c250c8f40
|
Parse dart template expressions and limit clauses
|
2019-09-13 23:08:29 +02:00 |
Simon Binder
|
44a2319bba
|
Improve variable tokenization for easier parsing logic
|
2019-09-13 22:48:55 +02:00 |
Simon Binder
|
6a0716daaf
|
Handle import statements and declared queries in .moor
|
2019-09-12 19:51:15 +02:00 |
Simon Binder
|
a5cecd3ba6
|
Support moor file AST in the plugin
|
2019-09-09 20:34:14 +02:00 |
Simon Binder
|
1b7721a98f
|
Plugin: Import assists for column nullability
|
2019-09-08 21:36:26 +02:00 |
Simon Binder
|
e807822f3f
|
Make plugin operate on the new MoorFile AST node
|
2019-09-08 10:29:59 +02:00 |
Simon Binder
|
7354b56712
|
Merge branch 'develop' into analyzer-plugin
# Conflicts:
# moor_generator/lib/src/analyzer/moor/parser.dart
# sqlparser/lib/src/engine/sql_engine.dart
|
2019-09-07 23:05:36 +02:00 |
Simon Binder
|
a62c076c4c
|
Suggest CREATE TABLE statements in moor files
|
2019-09-07 22:49:23 +02:00 |
Simon Binder
|
ee9b413e5d
|
Start experimenting with auto-completion features
|
2019-09-07 22:18:45 +02:00 |
Simon Binder
|
35e5bdb317
|
Introduce new top-level ast node for moor files
|
2019-09-07 21:33:56 +02:00 |
Simon Binder
|
1ed1e3ba94
|
Parse declared statements in moor files
|
2019-09-07 20:26:51 +02:00 |
Simon Binder
|
8268867369
|
Fix analyzer errors, re-run build_runner
|
2019-09-07 20:01:33 +02:00 |
Simon Binder
|
1fcc6facee
|
Implement basic functionality of the analyzer plugin
|
2019-09-07 18:49:11 +02:00 |
Simon Binder
|
b550afd68f
|
Merge branch 'develop' into analyzer-plugin
# Conflicts:
# moor_generator/lib/src/parser/moor/moor_analyzer.dart
|
2019-09-07 11:31:34 +02:00 |
Simon Binder
|
6ccaad866b
|
Parse import statements in moor files
|
2019-09-05 10:52:33 +02:00 |
Simon Binder
|
ba772ef07f
|
Better error handling when parsing multiple sql statements
|
2019-09-03 21:24:59 +02:00 |
Simon Binder
|
fcdbc309b7
|
Fix resolver not finding window expressions
|
2019-08-30 19:36:23 +02:00 |
Simon Binder
|
4af370f0cb
|
Tests: Verify that an executor is open when used.
|
2019-08-30 19:32:44 +02:00 |
Simon Binder
|
876db0671e
|
Provide lints on insert statements that will fail
|
2019-08-29 21:09:20 +02:00 |
Simon Binder
|
241baed0c3
|
Generate query implementations for insert statements
|
2019-08-29 16:27:55 +02:00 |
Simon Binder
|
dd8b4ab03a
|
Infer types for insert statements
|
2019-08-29 15:32:45 +02:00 |
Simon Binder
|
2f8dc6d68e
|
Parse insert statements
|
2019-08-29 15:04:39 +02:00 |
Simon Binder
|
5d2149d727
|
Parse MAPPED BY constraints for moor files
|
2019-08-27 12:33:48 +02:00 |
Simon Binder
|
aa13aad276
|
Introduce moor-specific tokens for type converters
|
2019-08-27 12:15:32 +02:00 |