Skip to content

Latest commit

 

History

History
280 lines (125 loc) · 5.06 KB

scmd_parse.md

File metadata and controls

280 lines (125 loc) · 5.06 KB

Module scmd_parse

Data Types


filename() = file:filename()

posix() = file:posix()

yecc_ret() = {error, term()} | {ok, term()}

Function Index

binary/1
binary/2
binary/3
binary/4
file/1
file/3
format_error/1
iolist/1
iolist/2
iolist/3
iolist/4
parse/1
parse_and_scan/1
string/1
string/2
string/3
string/4

Function Details

binary/1


binary(X::binary()) -> {ok, term()} | {error, term()}



binary/2


binary(X::binary(), LineNo::pos_integer()) -> {ok, term()} | {error, term()}



binary/3


binary(Leex::module(), Yecc::module(), X::binary()) -> {ok, term()} | {error, term()}



binary/4


binary(Leex::module(), Yecc::module(), X::binary(), LineNo::pos_integer()) -> {ok, term()} | {error, term()}



file/1


file(Filename::filename()) -> {ok, term()} | {error, Reason}
  • Reason = posix() | badarg | terminated | system_limit | term()

file/3


file(Leex::module(), Yecc::module(), Filename::filename()) -> {ok, term()} | {error, Reason}
  • Reason = posix() | badarg | terminated | system_limit | term()

format_error/1


format_error(Message::any()) -> [char() | list()]



iolist/1


iolist(X::iolist()) -> {ok, term()} | {error, term()}



iolist/2


iolist(X::iolist(), LineNo::pos_integer()) -> {ok, term()} | {error, term()}



iolist/3


iolist(Leex::module(), Yecc::module(), X::iolist()) -> {ok, term()} | {error, term()}



iolist/4


iolist(Leex::module(), Yecc::module(), X::iolist(), LineNo::pos_integer()) -> {ok, term()} | {error, term()}



parse/1


parse(Tokens::list()) -> yecc_ret()



parse_and_scan/1


parse_and_scan(X1::{function() | {atom(), atom()}, [term()]} | {atom(), atom(), [term()]}) -> yecc_ret()



string/1


string(X::string()) -> {ok, term()} | {error, term()}



string/2


string(X::string(), LineNo::pos_integer()) -> {ok, term()} | {error, term()}



string/3


string(Leex::module(), Yecc::module(), X::string()) -> {ok, term()} | {error, term()}



string/4


string(Leex::module(), Yecc::module(), X::string(), LineNo::pos_integer()) -> {ok, term()} | {error, term()}