Packages

A native Elixir parser and evaluator for the Friendly Enough Expression Language defined by DMN.

Current section

Files

Jump to
boxic_feel lib boxic feel function.ex
Raw

lib/boxic/feel/function.ex

defmodule Boxic.FEEL.Function do
@moduledoc """
FEEL user-defined function closure.
"""
defstruct [:params, :body, :closure]
@type t :: %__MODULE__{
params: [{String.t(), String.t() | nil}],
body: term(),
closure: map()
}
end