Method Protocols.IMAP.parse_line()->get_token()
- Method get_token
mapping
get_token(int
eol
,int
accept_options
)- Description
Parses an object that can be a string, an atom (possibly with options in brackets) or a list.
eol can be 0, meaning no end of line or list expected, a positive int, meaning a character (e.g. ')' or ']' that terminates the list, or -1, meaning that the list terminates at end of line.