Builtin function boilerplate

This commit is contained in:
ConnorSkees 2020-02-02 18:05:36 -05:00
parent 4263fd2532
commit 1c4ad8a7fa
7 changed files with 6 additions and 0 deletions

0
src/builtin/list.rs Normal file
View File

0
src/builtin/map.rs Normal file
View File

0
src/builtin/math.rs Normal file
View File

0
src/builtin/meta.rs Normal file
View File

View File

@ -5,6 +5,12 @@ use crate::args::CallArgs;
use crate::value::Value;
mod color;
mod list;
mod map;
mod math;
mod meta;
mod selector;
mod string;
pub(crate) type Builtin = Box<dyn Fn(&CallArgs) -> Option<Value> + Send + Sync>;

0
src/builtin/selector.rs Normal file
View File

0
src/builtin/string.rs Normal file
View File