(s: impl ToString)
| 102 | } |
| 103 | |
| 104 | pub fn string(s: impl ToString) -> Self { |
| 105 | Self::String(s.to_string()) |
| 106 | } |
| 107 | |
| 108 | pub fn builtin(name: impl ToString, body: fn(&Vec<Value>, &mut Environment) -> Result<Value, Error>) -> Self { |
| 109 | Self::Builtin(name.to_string(), body) |
nothing calls this directly
no outgoing calls
no test coverage detected