Lines Matching refs:nodes
7 from docutils import nodes
110 repl.append(nodes.Text(t[done:m.start()]))
120 repl.append(nodes.Text(t[done:]))
143 target_text = nodes.Text(match.group(0))
154 lit_text = nodes.literal(classes=['xref', 'c', 'c-func'])
203 target_text = nodes.Text(match.group(0))
214 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
268 return nodes.Text(match.group(0))
283 # The nodes.literal test catches ``literal text``, its purpose is to
286 if not isinstance(node, nodes.Text) or isinstance(node.parent, nodes.literal):
292 if isinstance(parent, nodes.Referential):
301 # kinds of nodes to prune. But this works well for now.
303 for para in doctree.traverse(nodes.paragraph):