valkyrie-ast 0.1.4

Strong typed abstract syntax tree of valkyrie language
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

/// `f"string %d %s %f"`
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct StringFormatter {
    pub items: Vec<u32>,
    /// The range of the node
    pub span: Range<u32>,
}