slint/internal/compiler
Olivier Goffart 60e7d54e67 Compiler better test coverage in case of error and fix panics
The compile_syntax_node was used by the syntax_test in case of error
to still cover the coverage, but commit e3908cfce6
made this function a noop when there is an error already.

The LSP does try to build an object tree even though there are error in
order to have the most information even in that case, so we must ensure
that it doesn't panic left and right.

This commit also fix some of these panics.
2024-06-11 19:22:59 +02:00
..
generator Fix @children in a PopupWindow 2024-06-10 22:18:06 +02:00
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
llr DatePicker: Logic in C++ 2024-06-06 09:03:50 +02:00
parser Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
parser-test-macro Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
passes Compiler better test coverage in case of error and fix panics 2024-06-11 19:22:59 +02:00
tests Fix compiler crash with invalid code 2024-06-11 19:22:59 +02:00
widgets Add missing accessible-action-default for Switch 2024-06-06 01:15:05 -07:00
build.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
builtin_macros.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
builtins.slint Implemented resizing for non-decorated winit windows (#5026) 2024-06-06 11:17:05 +02:00
Cargo.toml janitor: Use more workspace dependencies 2024-06-04 14:58:29 +02:00
diagnostics.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
embedded_resources.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
expression_tree.rs date_time: simplification and cleanups 2024-06-06 09:03:50 +02:00
fileaccess.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
generator.rs Make element debug information configurable 2024-06-05 01:29:58 -07:00
langtype.rs WIP: Add find_by_element_type_name 2024-06-05 01:29:58 -07:00
layout.rs Add a warning if a PopupWindow is in a layout 2024-06-04 13:31:36 +02:00
lexer.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lib.rs Compiler better test coverage in case of error and fix panics 2024-06-11 19:22:59 +02:00
literals.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
llr.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
load_builtins.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
lookup.rs date_time: simplification and cleanups 2024-06-06 09:03:50 +02:00
namedreference.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
object_tree.rs Compiler better test coverage in case of error and fix panics 2024-06-11 19:22:59 +02:00
parser.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
passes.rs Fix @children in a PopupWindow 2024-06-10 22:18:06 +02:00
pathutils.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
typeloader.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
typeregister.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.