automata v0.1.0 Automaton.Types.BT.Config.Parser

High level automaton_config parsing policy for BT specific user configs.

Link to this section Summary

Functions

Determines the node_type given the automaton_config.

Link to this section Functions

Link to this function

call(automaton_config)

Specs

call(type: atom(), node_type: atom()) :: tuple()

Determines the node_type given the automaton_config.

Returns node_type.

Examples

iex> automaton_config = [node_type: :selector]
iex> Automaton.Config.Parser.node_type(automaton_config)
:selector