1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-29 08:08:32 +00:00
Files
ubf/doc/contract_parser.md
Joseph Wayne Norton ffd096a068 Update edocs
2012-08-01 23:58:52 +09:00

2.3 KiB

#Module contract_parser#

UBF(b) contract parser.

Parsing a UBF(b) contract is done via a compiler "parse transform"
during the usual compilation of an Erlang source module.

.

##Function Index##

make/0
make_lex/0
make_yecc/0
parse_file/1
parse_transform/2
parse_transform_contract/2
preDefinedTypes/0
preDefinedTypesWithAttrs/0
preDefinedTypesWithoutAttrs/0
tags/1
tags/2

##Function Details##

###make/0##

make() -> any()

###make_lex/0##

make_lex() -> any()

###make_yecc/0##

make_yecc() -> any()

###parse_file/1##

parse_file(F) -> any()

###parse_transform/2##

parse_transform(In, Opts) -> any()

###parse_transform_contract/2##

parse_transform_contract(In, Contract) -> any()

###preDefinedTypes/0##

preDefinedTypes() -> any()

###preDefinedTypesWithAttrs/0##

preDefinedTypesWithAttrs() -> any()

###preDefinedTypesWithoutAttrs/0##

preDefinedTypesWithoutAttrs() -> any()

###tags/1##

tags(P1) -> any()

###tags/2##

tags(P1, Imports) -> any()