fluidattacks_blends_domain/graph_set.rs
1//! The set of graphs produced for one source file.
2//!
3//! One field per graph layer, each independently present or absent. The
4//! `syntax` field fills language by language as dispatchers land; `stack`
5//! joins with the stack layer.
6
7use crate::ast::AstGraph;
8use crate::syntax::SyntaxGraph;
9
10#[derive(Clone, PartialEq, Eq, Debug, Default)]
11pub struct GraphSet {
12 pub ast: Option<AstGraph>,
13 pub syntax: Option<SyntaxGraph>,
14 // pub stack: Option<StackGraph>, // added with the stack layer
15}