1.7.6 Module anvl_plugin

An ANVL API for managing plugins.

1.7.6.1 Callbacks

init_for_project/1
-callback init_for_project(anvl_project:t()) -> ok.
init()
-callback init() -> ok.
conditions/1
-callback
     conditions(anvl_project:t()) -> [[anvl_condition:t()]].
project_model()
-callback project_model() -> lee:lee_module().
model()
-callback model() -> lee:lee_module().

1.7.6.2 Types

t()
-type t() :: module().

1.7.6.3 Functions

list_conf(Key)
-spec list_conf(lee:model_key()) -> term().

List tool configuration with the specified key.

conf(Key)
-spec conf(lee:key()) -> term().

Get tool configuration with the specified key.

includes_dir()
-spec includes_dir() -> file:filename_all().

Return location of anvl.hrl and other ANVL headers.

loaded(A)
-spec loaded(atom()) -> anvl_condition:t().

Condition: Plugin has been loaded.


JavaScript license information