#![cfg_attr(
not(feature = "typescript"),
expect(
dead_code,
reason = "composite-flow types are exercised by the TypeScript analyzer only"
)
)]
pub(crate) mod ast;
pub(crate) mod builder;
pub(crate) mod guard;
pub(crate) mod types;
#[cfg(test)]
mod tests;
pub use types::*;
#[cfg(feature = "typescript")]
pub fn build_composite_flow_candidates(
tools: &[ToolFlowInput],
sources: &[SourceUnit<'_>],
) -> Vec<CompositeFlowCandidate> {
builder::build(tools, sources)
}
#[cfg(not(feature = "typescript"))]
pub fn build_composite_flow_candidates(
_tools: &[ToolFlowInput],
_sources: &[SourceUnit<'_>],
) -> Vec<CompositeFlowCandidate> {
Vec::new()
}