bus_car_dsl v0.1.0 BusCarDsl

Summary

Functions

The map_rule macro defines a parse_map/2 function for the calling module. An example: map_rule(:filter, :term) injects a parse_map/2 function with the signature def parse_map([:filter, :term | rest], acc) do

Functions

branch_list_rule(root, stem) (macro)
get_handler(key)
get_key(mod)
list_rule(root, stem) (macro)
map_rule(root, stem) (macro)

The map_rule macro defines a parse_map/2 function for the calling module. An example: map_rule(:filter, :term) injects a parse_map/2 function with the signature def parse_map([:filter, :term | rest], acc) do

parse(dsl, acc \\ %{})