use sva_ast::ByteSpan;
#[derive(Clone, Debug, Default, PartialEq)]
pub struct Arguments {
pub node: String,
pub calls: Vec<Called>,
pub chosen: Vec<Chosen>,
}
#[derive(Clone, Debug, PartialEq)]
pub struct Called {
pub name: String,
pub at: ByteSpan,
pub arguments: Vec<Argument>,
}
#[derive(Clone, Debug, PartialEq)]
pub struct Argument {
pub name: String,
pub value: f64,
pub written: bool,
}
#[derive(Clone, Debug, PartialEq)]
pub struct Chosen {
pub name: String,
pub at: ByteSpan,
pub operands: Vec<f64>,
pub chosen: usize,
}