The Leex module should be considered experimental as it will be subject to changes in future releases.
leex
leex
Module
leex
Module summary
Lexical analyzer generator for Erlang
Description
A regular expression based lexical analyzer generator for Erlang, similar to lex or flex.
Note
Data types
ErrorInfo = {ErrorLine,module(),error_descriptor()} ErrorLine = integer() Token = tuple()
Exports
file(FileName, [, Options]) -> LeexRet
Types:
FileName = filename() Options = Option | [Option] Option = - see below - LeexRet = {ok, Scannerfile} | {ok, Scannerfile, Warnings} | error | {error, Errors, Warnings} Scannerfile = filename() Warnings = Errors = [{filename(), [ErrorInfo]}] Err