template_yaml 0.1.1

A YAML templating engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, Clone)]
pub enum Expr {
    String(String),
    Ident(String),
    Num(i64),
    Bool(bool),
    Array(Vec<Box<Expr>>),
    Map(Vec<(Box<Expr>, Box<Expr>)>),
    TermRef((Box<Expr>, Box<Expr>)),
    Op(Box<Expr>, Opcode, Box<Expr>),
}

#[derive(Debug, Clone)]
pub enum Opcode {
    Plus,
}