slint/internal/compiler/tests/syntax
Olivier Goffart ee9f730a6d Parser: Don't parse everything as a component
The old parser always try first to find `Foo :=` from the old syntax so it
would error saying it expect an identifier or `:=`
But if we don't find a component, don't try to parse it as a component too early
This way we get better error and better auto-completions
2023-04-17 07:58:18 +02:00
..
accessibility First stage of cleaning up the export handling of the slint root component (#2095) 2023-01-23 15:19:49 +01:00
analysis Make Empty not fill the parent by default 2023-03-24 11:15:05 +01:00
basic Parser: don't have the whitespace as part of an expression 2023-04-14 17:46:19 +02:00
callbacks First stage of cleaning up the export handling of the slint root component (#2095) 2023-01-23 15:19:49 +01:00
elements compiler: turn a warning into an error 2023-03-20 19:13:10 +01:00
exports Warn about components that are neither used nor exported 2023-01-26 15:52:40 +01:00
focus First stage of cleaning up the export handling of the slint root component (#2095) 2023-01-23 15:19:49 +01:00
functions Warn about components that are neither used nor exported 2023-01-26 15:52:40 +01:00
imports parser: don't parse error on empty import statement 2023-04-17 07:58:18 +02:00
layout First stage of cleaning up the export handling of the slint root component (#2095) 2023-01-23 15:19:49 +01:00
lookup Parser: don't have the whitespace as part of an expression 2023-04-14 17:46:19 +02:00
new_syntax Make the old syntax a warning 2023-02-14 12:38:39 +01:00
parse_error Parser: Don't parse everything as a component 2023-04-17 07:58:18 +02:00