Crate i_slint_compiler

Source
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§

CompilerConfiguration
CompilationConfiguration allows configuring different aspects of the compiler.

Enums§

ComponentSelection
EmbedResourcesKind
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.