Searched refs:mdoc_node (Results 1 – 10 of 10) sorted by relevance
| /freebsd-10-stable/contrib/mdocml/ |
| D | mdoc.h | 344 struct mdoc_node { struct 345 struct mdoc_node *parent; /* parent AST node */ argument 346 struct mdoc_node *child; /* first child AST node */ argument 347 struct mdoc_node *last; /* last child AST node */ argument 348 struct mdoc_node *next; /* sibling AST node */ argument 349 struct mdoc_node *prev; /* prior sibling AST node */ argument 367 struct mdoc_node *pending; /* BLOCK */ argument 368 struct mdoc_node *head; /* BLOCK */ argument 369 struct mdoc_node *body; /* BLOCK */ argument 370 struct mdoc_node *tail; /* BLOCK */ argument [all …]
|
| D | mdoc.c | 91 static void mdoc_node_free(struct mdoc_node *); 93 struct mdoc_node *); 96 static struct mdoc_node *node_alloc(struct mdoc *, int, int, 99 struct mdoc_node *); 106 const struct mdoc_node * 107 mdoc_node(const struct mdoc *m) in mdoc_node() function 160 mdoc->last = mandoc_calloc(1, sizeof(struct mdoc_node)); in mdoc_alloc1() 233 struct mdoc_node *n; in mdoc_addeqn() 257 struct mdoc_node *n; in mdoc_addspan() 346 node_append(struct mdoc *mdoc, struct mdoc_node *p) in node_append() [all …]
|
| D | libmdoc.h | 37 struct mdoc_node *last; /* the last node parsed */ 38 struct mdoc_node *first; /* the first node parsed */ 117 enum mdoct tok, struct mdoc_node *body, 119 void mdoc_node_delete(struct mdoc *, struct mdoc_node *); 127 int mdoc_valid_pre(struct mdoc *, struct mdoc_node *);
|
| D | mdoc_macro.c | 60 static int make_pending(struct mdoc_node *, enum mdoct, 65 const struct mdoc_node *); 68 const struct mdoc_node *); 208 struct mdoc_node *n; in mdoc_macroend() 255 rew_last(struct mdoc *mdoc, const struct mdoc_node *to) in rew_last() 257 struct mdoc_node *n, *np; in rew_last() 342 const struct mdoc_node *p) in rew_dohalt() 443 struct mdoc_node *n; in rew_elem() 462 make_pending(struct mdoc_node *broken, enum mdoct tok, in make_pending() 465 struct mdoc_node *breaker; in make_pending() [all …]
|
| D | mdoc_validate.c | 43 #define PRE_ARGS struct mdoc *mdoc, struct mdoc_node *n 73 struct mdoc_node *, struct mdoc_argv *); 74 static void check_args(struct mdoc *, struct mdoc_node *); 75 static int concat(char *, const struct mdoc_node *, size_t); 351 mdoc_valid_pre(struct mdoc *mdoc, struct mdoc_node *n) in mdoc_valid_pre() 516 check_args(struct mdoc *m, struct mdoc_node *n) in check_args() 529 check_argv(struct mdoc *m, struct mdoc_node *n, struct mdoc_argv *v) in check_argv() 574 struct mdoc_node *node; in pre_display() 597 struct mdoc_node *np; in pre_bl() 771 struct mdoc_node *np; in pre_bd() [all …]
|
| D | mdoc_term.c | 45 const struct mdoc_node *n 57 const struct mdoc_node *, 58 const struct mdoc_node *); 64 const struct mdoc_node *); 253 const struct mdoc_node *n; in terminal_mdoc() 269 n = mdoc_node(mdoc); in terminal_mdoc() 582 const struct mdoc_node *bl, in print_bvspace() 583 const struct mdoc_node *n) in print_bvspace() 585 const struct mdoc_node *nn; in print_bvspace() 633 const struct mdoc_node *bl, *nn; in termp_it_pre() [all …]
|
| D | tree.c | 34 static void print_mdoc(const struct mdoc_node *, int); 43 print_mdoc(mdoc_node(mdoc), 0); in tree_mdoc() 57 print_mdoc(const struct mdoc_node *n, int indent) in print_mdoc()
|
| D | mdoc_man.c | 30 const struct mdoc_node *n, \ 265 const struct mdoc_node *n; in man_mdoc() 269 n = mdoc_node(mdoc); in man_mdoc() 284 const struct mdoc_node *prev, *sub; in print_node() 519 const struct mdoc_node *bln; in pre_it()
|
| D | mdoc_html.c | 39 const struct mdoc_node *n, \ 56 const struct mdoc_node *); 266 print_mdoc(mdoc_meta(m), mdoc_node(m), (struct html *)arg); in html_mdoc() 291 synopsis_pre(struct html *h, const struct mdoc_node *n) in synopsis_pre() 869 const struct mdoc_node *bl; in mdoc_it_pre() 1183 const struct mdoc_node *nn; in mdoc_bd_pre() 1361 const struct mdoc_node *nn; in mdoc_fa_pre()
|
| D | mdoc_argv.c | 427 struct mdoc_node *n; in mdoc_args()
|