Expand description
§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.
Modules§
- builtin_
macros - This module contains the implementation of the builtin macros. They are just transformations that convert into some more complicated expression tree
- diagnostics
- embedded_
resources - expression_
tree - fileaccess
- generator
- The module responsible for the code generation.
- langtype
- layout
- Datastructures used to represent layouts in the compiler
- lexer
- This module contains the code for the lexer.
- literals
- llr
- The Low Level Representation module
- lookup
- Helper to do lookup in expressions
- namedreference
- This module contains the
NamedReference
and its helper - object_
tree - This module contains the intermediate representation of the code in the form of an object tree
- parser
- The Slint Language Parser
- passes
- pathutils
- Reimplement some Path handling code: The one in
std
is not available when running in WASM! - typeloader
- typeregister
Structs§
- Compiler
Configuration - CompilationConfiguration allows configuring different aspects of the compiler.
Enums§
- Component
Selection - Embed
Resources Kind - Specify how the resources are embedded by the compiler
Functions§
- compile_
syntax_ node - load_
root_ file - Pass a file to the compiler and process it fully, applying all the necessary compilation passes.
- load_
root_ file_ with_ raw_ type_ loader - Pass a file to the compiler and process it fully, applying all the
necessary compilation passes, just like
load_root_file
.