alef 0.24.12

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
    {{ method_name }} = function({{ params }}) {
{%- if action_type == "skip" %}
      "Skip"
{%- elif action_type == "continue" %}
      "Continue"
{%- elif action_type == "preserve_html" %}
      "PreserveHtml"
{%- elif action_type == "custom" %}
      list(Custom = "{{ action_value }}")
{%- endif %}
    },