Skip to content

Latest commit

 

History

History
130 lines (78 loc) · 3.16 KB

occi_mixin.md

File metadata and controls

130 lines (78 loc) · 3.16 KB

Module occi_mixin

.

Copyright (c) (C) 2016, Jean Parpaillon

Authors: Jean Parpaillon ([email protected]).

Data Types

abstract datatype: t()

Function Index

add_apply/2
add_depend/2
applies/1
depend/2
depends/1
from_map/1Load mixin from an AST.
new/2
rm_depend/2
tag/1
tag/2

Function Details

add_apply/2


add_apply(Apply::binary() | occi_category:id(), Mixin::t()) -> t()

add_depend/2


add_depend(Depend::binary() | occi_category:id(), Mixin::t()) -> t()

applies/1


applies(M::t()) -> [occi_category:id()]

depend/2


depend(CategoryId::occi_category:id(), Mixin::t()) -> boolean()

depends/1


depends(M::t()) -> [occi_category:id()]

from_map/1


from_map(Map::occi_rendering:ast()) -> t()

Load mixin from an AST

new/2


new(Scheme::binary(), Term::binary()) -> t()

rm_depend/2


rm_depend(CategoryId::occi_category:id(), Mixin::t()) -> t()

tag/1


tag(M::t()) -> boolean()

tag/2


tag(X1::boolean(), M::t()) -> t()