microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
alex/merge-mines-changes

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

compiler/qsc/src/lib.rs

68lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4pub mod codegen;
5pub mod compile;
6pub mod error;
7pub mod incremental;
8pub mod interpret;
9pub mod location;
10pub mod packages;
11pub mod target;
12
13pub use qsc_formatter::formatter;
14
15pub use qsc_frontend::compile::{CompileUnit, PackageStore, SourceContents, SourceMap, SourceName};
16
17pub mod resolve {
18 pub use qsc_frontend::resolve::{path_as_field_accessor, Local, LocalKind, Locals, Res};
19}
20
21pub mod fir {
22 pub use qsc_fir::{fir::*, *};
23}
24
25pub mod hir {
26 pub use qsc_hir::{hir::*, *};
27}
28
29pub mod ast {
30 pub use qsc_ast::{ast::*, *};
31}
32
33pub mod project {
34 pub use qsc_project::{
35 DirEntry, EntryType, Error, FileSystem, Manifest, ManifestDescriptor, PackageCache,
36 PackageGraphSources,
37 };
38}
39
40pub use qsc_passes::PackageType;
41
42pub mod completion {
43 pub use qsc_frontend::Prediction;
44}
45pub use qsc_data_structures::{
46 language_features::LanguageFeatures, namespaces::*, span::Span, target::TargetCapabilityFlags,
47};
48
49pub use qsc_passes::{lower_hir_to_fir, PassContext};
50
51pub mod line_column {
52 pub use qsc_data_structures::line_column::{Encoding, Position, Range};
53}
54
55pub use qsc_eval::{
56 backend::{Backend, SparseSim},
57 state::{fmt_basis_state_label, fmt_complex, format_state_id, get_latex, get_phase},
58};
59
60pub mod linter {
61 pub use qsc_linter::{run_lints, LintConfig, LintKind, LintLevel};
62}
63
64pub use qsc_doc_gen::{display, generate_docs};
65
66pub mod circuit {
67 pub use qsc_circuit::{operations::*, Circuit, Operation};
68}
69