moved option parsing into the decoder module,trying to get as much implementation outside the interface module as possible

This commit is contained in:
alisdair sullivan 2010-08-23 13:36:53 -07:00
parent 00baba4dc7
commit 1f1cb04cfd
3 changed files with 73 additions and 74 deletions

View file

@ -24,15 +24,6 @@
%% opts record
-record(opts, {
comments = false,
escaped_unicode = codepoint,
multi_term = false,
encoding = auto
}).
-spec parser() -> jsx_parser().
-spec parser(Opts::jsx_opts()) -> jsx_parser().