Lines Matching defs:taginfo
37 taginfo structure already carries the information about where the
147 Thus taginfo->name, and attr->name and attr->value for each
819 struct taginfo, and MAPARG.
833 void (*mapfun) (struct taginfo *, void *), void *maparg,
1108 struct taginfo taginfo;
1111 taginfo.name = pool.contents;
1112 taginfo.end_tag_p = end_tag;
1113 taginfo.nattrs = nattrs;
1123 taginfo.attrs = pairs;
1124 taginfo.start_position = tag_start_position;
1125 taginfo.end_position = p + 1;
1126 taginfo.contents_begin = NULL;
1127 taginfo.contents_end = NULL;
1136 taginfo.contents_begin = ts->contents_begin;
1137 taginfo.contents_end = tag_start_position;
1143 mapfun (&taginfo, maparg);
1173 test_mapper (struct taginfo *taginfo, void *arg)
1177 printf ("%s%s", taginfo->end_tag_p ? "/" : "", taginfo->name);
1178 for (i = 0; i < taginfo->nattrs; i++)
1179 printf (" %s=%s", taginfo->attrs[i].name, taginfo->attrs[i].value);