Lines Matching full:nodes
7 from docutils import nodes
113 repl.append(nodes.Text(t[done:m.start()]))
123 repl.append(nodes.Text(t[done:]))
146 target_text = nodes.Text(match.group(0))
157 lit_text = nodes.literal(classes=['xref', 'c', 'c-func'])
206 target_text = nodes.Text(match.group(0))
217 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
271 return nodes.Text(match.group(0))
290 return nodes.reference('', nodes.Text(text),
297 # The nodes.literal test catches ``literal text``, its purpose is to
300 if not isinstance(node, nodes.Text) or isinstance(node.parent, nodes.literal):
306 if isinstance(parent, nodes.Referential):
315 # kinds of nodes to prune. But this works well for now.
317 for para in doctree.traverse(nodes.paragraph):