fluidattacks-blends-domain 0.6.1

Blends functional core: pure AST graph to syntax graph (no_std)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The set of graphs produced for one source file.
//!
//! One field per graph layer, each independently present or absent. The
//! `syntax` field fills language by language as dispatchers land; `stack`
//! joins with the stack layer.

use crate::ast::AstGraph;
use crate::syntax::SyntaxGraph;

#[derive(Clone, PartialEq, Eq, Debug, Default)]
pub struct GraphSet {
    pub ast: Option<AstGraph>,
    pub syntax: Option<SyntaxGraph>,
    // pub stack: Option<StackGraph>,    // added with the stack layer
}