#include "stralloc.h"
#include "alloc.h"
#include "genalloc.h"
#include "str.h"
#include "token822.h"
Go to the source code of this file.
|
void | token822_reverse (token822_alloc *ta) |
|
| GEN_ALLOC_ready (GEN_ALLOC_readyplus(token822_alloc, GEN_ALLOC_readyplus(struct token822, GEN_ALLOC_readyplus(t, GEN_ALLOC_readyplus(len, GEN_ALLOC_readyplus(a, GEN_ALLOC_readyplus(i, GEN_ALLOC_readyplus(n, GEN_ALLOC_readyplus(x, GEN_ALLOC_readyplus(30, token822_ready) |
|
int | token822_unparse (stralloc *sa, token822_alloc *ta, unsigned int linelen) |
|
int | token822_unquote (stralloc *sa, token822_alloc *ta) |
|
int | token822_parse (token822_alloc *ta, stralloc *sa, stralloc *buf) |
|
int | token822_addrlist (token822_alloc *taout, token822_alloc *taaddr, token822_alloc *ta, int(*callback)()) |
|
◆ ADDRLEFT
◆ FLUSH
#define FLUSH if (taaddr->len) if (!gotaddr(taout,taaddr,callback)) return -1; |
◆ FLUSHCOMMA
Value:if (taaddr->len) { \
if (!gotaddr(taout,taaddr,callback)) return -1; \
int token822_append(token822_alloc *, struct token822 *)
◆ NSUW
Value: s[0] = '\n'; s[1] = ' '; \
if (linee && (!linelen || (s - lineb <= linelen))) \
{ while (linee < s) { linee[0] = linee[2]; ++linee; } linee -= 2; } \
else { if (linee) lineb = linee + 1; linee = s; s += 2; }
◆ OUTLEFT
◆ GEN_ALLOC_ready()
◆ token822_addrlist()
int token822_addrlist |
( |
token822_alloc * |
taout, |
|
|
token822_alloc * |
taaddr, |
|
|
token822_alloc * |
ta, |
|
|
int(*)() |
callback |
|
) |
| |
◆ token822_parse()
int token822_parse |
( |
token822_alloc * |
ta, |
|
|
stralloc * |
sa, |
|
|
stralloc * |
buf |
|
) |
| |
◆ token822_reverse()
void token822_reverse |
( |
token822_alloc * |
ta | ) |
|
◆ token822_unparse()
int token822_unparse |
( |
stralloc * |
sa, |
|
|
token822_alloc * |
ta, |
|
|
unsigned int |
linelen |
|
) |
| |
◆ token822_unquote()
int token822_unquote |
( |
stralloc * |
sa, |
|
|
token822_alloc * |
ta |
|
) |
| |