From 1c4ad8a7fa8e70b23b1296bd5a2c871a808adf5f Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sun, 2 Feb 2020 18:05:36 -0500 Subject: [PATCH] Builtin function boilerplate --- src/builtin/list.rs | 0 src/builtin/map.rs | 0 src/builtin/math.rs | 0 src/builtin/meta.rs | 0 src/builtin/mod.rs | 6 ++++++ src/builtin/selector.rs | 0 src/builtin/string.rs | 0 7 files changed, 6 insertions(+) create mode 100644 src/builtin/list.rs create mode 100644 src/builtin/map.rs create mode 100644 src/builtin/math.rs create mode 100644 src/builtin/meta.rs create mode 100644 src/builtin/selector.rs create mode 100644 src/builtin/string.rs diff --git a/src/builtin/list.rs b/src/builtin/list.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/builtin/map.rs b/src/builtin/map.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/builtin/math.rs b/src/builtin/math.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/builtin/meta.rs b/src/builtin/meta.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/builtin/mod.rs b/src/builtin/mod.rs index 3f4eb52..33fa519 100644 --- a/src/builtin/mod.rs +++ b/src/builtin/mod.rs @@ -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 Option + Send + Sync>; diff --git a/src/builtin/selector.rs b/src/builtin/selector.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/builtin/string.rs b/src/builtin/string.rs new file mode 100644 index 0000000..e69de29