Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
docutils.transforms.universal.SmartQuotes Class Reference
Inheritance diagram for docutils.transforms.universal.SmartQuotes:
Inheritance graph
[legend]
Collaboration diagram for docutils.transforms.universal.SmartQuotes:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, document, startnode)
 
 get_tokens (self, txtnodes)
 
 apply (self)
 

Public Attributes

 unsupported_languages
 
 literal_nodes
 
 nodes_to_skip
 
- Public Attributes inherited from docutils.transforms.Transform
 document
 
 startnode
 
 language
 

Static Public Attributes

int default_priority = 855
 
tuple nodes_to_skip = (nodes.FixedTextElement, nodes.Special)
 
tuple literal_nodes
 
str smartquotes_action = 'qDe'
 
- Static Public Attributes inherited from docutils.transforms.Transform
 default_priority = None
 

Detailed Description

Replace ASCII quotation marks with typographic form.

Also replace multiple dashes with em-dash/en-dash characters.

Constructor & Destructor Documentation

◆ __init__()

docutils.transforms.universal.SmartQuotes.__init__ (   self,
  document,
  startnode 
)
Initial setup for in-place document transforms.

Reimplemented from docutils.transforms.Transform.

Member Function Documentation

◆ apply()

docutils.transforms.universal.SmartQuotes.apply (   self)
Override to apply the transform to the document tree.

Reimplemented from docutils.transforms.Transform.

Reimplemented in sphinx.transforms.SphinxSmartQuotes.

Member Data Documentation

◆ literal_nodes

tuple docutils.transforms.universal.SmartQuotes.literal_nodes
static
Initial value:
= (nodes.FixedTextElement, nodes.Special,
nodes.image, nodes.literal, nodes.math,
nodes.raw, nodes.problematic)

The documentation for this class was generated from the following file: