Module aop

This is a main module of AOP for Erlang tool.

Copyright © 2011 Alexei Krasnopolski

Version: 1.0.1

Introduced in: 2011-06-13

Authors: Alexei Krasnopolski (krasnop@bellsouth.net) [web site: http://crasnopolski.com/].

References

Description

This is a main module of AOP for Erlang tool. The module contains exported function compile/2 and compile/3.

Function Index

compile/2 Src_dirs = list(string()) - list of directory names these contain source files, Config_dirs = list(string()) - list of directory names these contain configuration files.
compile/3 Src_dirs = list(string()) - list of directory names these contain source files, Config_dirs = list(string()) - list of directory names these contain configuration files, Options = list() - Options determine the behavior of the compiler as defined in compile:file/2.
compile_files/2*compile list of files with Options.
compile_one_file/2*
get_configurations/2*Gets configuration files from list of directories and merges it to one config list.
get_source_files/2*
read_adf/1*reads adf file and converts its content to Erlang term.
read_adf/3*reads adf file and converts its content to Erlang term.

Function Details

compile/2

compile(Src_dirs::list(), Config_dirs::list()) -> ok

throws nothing

Src_dirs = list(string()) - list of directory names these contain source files, Config_dirs = list(string()) - list of directory names these contain configuration files. The function compiles a set of source files (*.erl) from source directories and applyes AOP weaving during compilation stage. Configuration files for AOP weaving are taken from configuration directories (*.adf)

compile/3

compile(Src_dirs::list(), Config_dirs::list(), Options::list()) -> ok

throws nothing

Src_dirs = list(string()) - list of directory names these contain source files, Config_dirs = list(string()) - list of directory names these contain configuration files, Options = list() - Options determine the behavior of the compiler as defined in compile:file/2. The function compiles a set of source files (*.erl) from source directories and applyes AOP weaving during compilation stage. Configuration files for AOP weaving are taken from configuration directories (*.adf)

compile_files/2 *

compile_files(FileList::list(), Options::list()) -> ok

throws nothing

compile list of files with Options.

compile_one_file/2 *

compile_one_file(File, Options) -> any()

get_source_files/2 *

get_source_files(Dirs, Result) -> any()

get_configurations/2 *

get_configurations(Dirs::list(), Result::list()) -> [#aspect{}]

throws nothing

Gets configuration files from list of directories and merges it to one config list.

read_adf/1 *

read_adf(Files::list()) -> [#aspect{}]

throws nothing

reads adf file and converts its content to Erlang term.

read_adf/3 *

read_adf(Files::list(), Bindings::list(), Result::list()) -> [#aspect{}]

throws nothing

reads adf file and converts its content to Erlang term.


Generated by EDoc, Aug 3 2012, 20:09:54.