compose-idents 0.3.0

A Rust macro for generating new identifiers (names of variables, functions, traits, etc) by concatenating one or more arbitrary parts and applying other manipulations.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::ast::AliasValue;
use crate::core::Environment;
use crate::error::Error;
use crate::eval::{Context, Eval, Evaluated};

impl Eval for AliasValue {
    fn eval(&self, environment: &Environment, context: &mut Context) -> Result<Evaluated, Error> {
        self.expr().eval(environment, context)
    }
}