diff options
-rw-r--r-- | template/for.c | 3 | ||||
-rw-r--r-- | template/for.cpp | 3 | ||||
-rw-r--r-- | template/foreach.cpp | 3 | ||||
-rw-r--r-- | template/pit.perl | 7 | ||||
-rw-r--r-- | template/sub.perl | 5 |
5 files changed, 21 insertions, 0 deletions
diff --git a/template/for.c b/template/for.c new file mode 100644 index 0000000..210541e --- /dev/null +++ b/template/for.c @@ -0,0 +1,3 @@ +for (int n = 0; n < {{_input_:count}}; n++) { + {{_cursor_}} +} diff --git a/template/for.cpp b/template/for.cpp new file mode 100644 index 0000000..210541e --- /dev/null +++ b/template/for.cpp @@ -0,0 +1,3 @@ +for (int n = 0; n < {{_input_:count}}; n++) { + {{_cursor_}} +} diff --git a/template/foreach.cpp b/template/foreach.cpp new file mode 100644 index 0000000..411e066 --- /dev/null +++ b/template/foreach.cpp @@ -0,0 +1,3 @@ +BOOST_FOREACH(auto x, {{_input_:variable}}) { + {{_cursor_}} +} diff --git a/template/pit.perl b/template/pit.perl new file mode 100644 index 0000000..710aa50 --- /dev/null +++ b/template/pit.perl @@ -0,0 +1,7 @@ +use Config::Pit; + +my $config = pit_get("{{_input_:domain}}", require => { + "username" => "username of {{_input_:domain}}", + "password" => "password of {{_input_:domain}}", +}); +{{_cursor_}} diff --git a/template/sub.perl b/template/sub.perl new file mode 100644 index 0000000..32f0e6d --- /dev/null +++ b/template/sub.perl @@ -0,0 +1,5 @@ +sub {{_input_:function name}} { + my ($self{{_input_:arguments}}) = @_; + {{_cursor_}} +} + |