erl_scan:string返回值的具体组成请看官方文档http://www.erlang.org/doc/man/erl_scan.html#type-token erl_scan:tokens的用法差不多,下面也给一个例子 erl_scan:tokens([],binary_to_list(Data),0,text). {done,{ok,[{'{',[{line,0},{text,"{"}]}, {atom,[{line,0},{text,"rssAPVg"}]...
erl_scan 模块 erl_scan 模块摘要 Erlang令牌扫描仪。 描述 该模块包含将字符标记(扫描)到Erlang令牌中的功能。 数据类型 category() = atom() error_description() = term() error_info() = {erl_anno:location(), module(),error_description()} ...
git clone https://github.com/technion/erlvulnscan.git Get prerequisiites ./rebar3 get-deps Compile ./rebar3 compile Static analysis ./rebar3 built-plt #First time only ./rebar3 dialyzer Generate release ./rebar3 generate Create edocs (only necessary after API change as these are ...