version 1.28, 2019/04/15 00:34:15 |
version 1.33, 2019/04/24 18:38:02 |
|
|
CLASS_TRANS, /* Transparent: only the children are shown. */ |
CLASS_TRANS, /* Transparent: only the children are shown. */ |
CLASS_LINE, /* Generates only simple in-line macros. */ |
CLASS_LINE, /* Generates only simple in-line macros. */ |
CLASS_ENCL, /* Explicit or implicit partial blocks. */ |
CLASS_ENCL, /* Explicit or implicit partial blocks. */ |
CLASS_BLOCK /* Output linebreak before and after. */ |
CLASS_BLOCK, /* Output linebreak before and after. */ |
|
CLASS_NOFILL /* Block preserving leading whitespace. */ |
}; |
}; |
|
|
/* |
/* |
|
|
NODE_PARAMETER, |
NODE_PARAMETER, |
NODE_PERSONNAME, |
NODE_PERSONNAME, |
NODE_PREFACE, |
NODE_PREFACE, |
|
NODE_PRODUCTNAME, |
NODE_PROGRAMLISTING, |
NODE_PROGRAMLISTING, |
NODE_PROMPT, |
NODE_PROMPT, |
NODE_PUBDATE, |
NODE_PUBDATE, |
|
|
NODE_VARIABLELIST, |
NODE_VARIABLELIST, |
NODE_VARLISTENTRY, |
NODE_VARLISTENTRY, |
NODE_VARNAME, |
NODE_VARNAME, |
|
NODE_VOID, |
NODE_WARNING, |
NODE_WARNING, |
NODE_WORDASWORD, |
NODE_WORDASWORD, |
|
NODE_XREF, |
NODE_UNKNOWN, |
NODE_UNKNOWN, |
NODE_TEXT, |
NODE_TEXT, |
NODE_ESCAPE, |
NODE_ESCAPE, |
|
|
struct pnode { |
struct pnode { |
enum nodeid node; /* Node type. */ |
enum nodeid node; /* Node type. */ |
char *b; /* String value. */ |
char *b; /* String value. */ |
int spc; /* Whitespace before this node. */ |
|
struct pnode *parent; /* Parent node or NULL. */ |
struct pnode *parent; /* Parent node or NULL. */ |
|
int flags; |
|
#define NFLAG_LINE (1 << 0) /* New line before this node. */ |
|
#define NFLAG_SPC (1 << 1) /* Whitespace before this node. */ |
struct pnodeq childq; /* Queue of children. */ |
struct pnodeq childq; /* Queue of children. */ |
struct pattrq attrq; /* Attributes of the node. */ |
struct pattrq attrq; /* Attributes of the node. */ |
TAILQ_ENTRY(pnode) child; |
TAILQ_ENTRY(pnode) child; |