View Source Spark.Igniter (spark v2.2.6)
Helpers for patching Spark DSLs.
Summary
Functions
Sets an option at a given path within in a DSL.
Functions
Link to this function
add_extension(igniter, path, type, key, extension, singleton? \\ false)
View Source
Link to this function
remove_extension(igniter, path, type, key, extension, singleton? \\ false)
View Source
Link to this function
set_option(igniter, spark, file_path, path, value, updater \\ &{:ok, &1})
View Source@spec set_option( Igniter.t(), spark :: module(), Path.t(), dsl_path :: [atom()], value :: term(), (Sourceror.Zipper.t() -> {:ok, Sourceror.Zipper.t()} | {:error, term() | [term()]} | :error) ) :: Igniter.t()
Sets an option at a given path within in a DSL.