rscel 1.0.8

Cel interpreter in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::macros::dispatch;

pub use methods::dispatch as repeat;

#[dispatch]
mod methods {
    use crate::CelValue;

    fn repeat(this: String, n: i64) -> String {
        this.repeat(n as usize)
    }

    fn repeat(this: String, n: u64) -> String {
        this.repeat(n as usize)
    }
}