moved option parsing into the decoder module,trying to get as much implementation outside the interface module as possible
This commit is contained in:
parent
00baba4dc7
commit
1f1cb04cfd
3 changed files with 73 additions and 74 deletions
|
@ -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().
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue