microcad_lang/syntax/
mod.rs

1// Copyright © 2024-2025 The µcad authors <info@ucad.xyz>
2// SPDX-License-Identifier: AGPL-3.0-or-later
3
4//! µcad syntax elements.
5//!
6//! Every element in the µcad language are parsed into definitions in this module.
7
8pub mod assignment;
9pub mod attribute;
10pub mod body;
11pub mod call;
12pub mod doc_block;
13pub mod expression;
14pub mod format_string;
15pub mod function;
16pub mod identifier;
17pub mod init_definition;
18pub mod literal;
19pub mod module;
20pub mod parameter;
21pub mod qualifier;
22pub mod source_file;
23pub mod statement;
24pub mod type_annotation;
25pub mod r#use;
26pub mod visibility;
27pub mod workbench;
28
29pub use assignment::*;
30pub use attribute::*;
31pub use body::*;
32pub use call::*;
33pub use doc_block::*;
34pub use expression::*;
35pub use format_string::*;
36pub use function::*;
37pub use identifier::*;
38pub use init_definition::*;
39pub use literal::*;
40pub use module::*;
41pub use parameter::*;
42pub use qualifier::*;
43pub use r#use::*;
44pub use source_file::*;
45pub use statement::*;
46pub use type_annotation::*;
47pub use visibility::*;
48pub use workbench::*;
49
50use crate::tree_display::*;