Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
myst_parser.mocking.MockInliner Class Reference

Public Member Functions

 __init__ (self, DocutilsRenderer renderer)
 
nodes.problematic problematic (self, str text, str rawsource, nodes.system_message message)
 
tuple[list[nodes.Node], list[nodes.system_message]] parse (self, str text, int lineno, Any memo, nodes.Node parent)
 
 __getattr__ (self, str name)
 

Public Attributes

 document
 
 reporter
 
 language
 
 parent
 
 rfc_url
 

Protected Attributes

 _renderer
 

Detailed Description

A mock version of `docutils.parsers.rst.states.Inliner`.

This is parsed to role functions.

Constructor & Destructor Documentation

◆ __init__()

myst_parser.mocking.MockInliner.__init__ (   self,
DocutilsRenderer  renderer 
)
Initialize the mock inliner.

Member Function Documentation

◆ __getattr__()

myst_parser.mocking.MockInliner.__getattr__ (   self,
str  name 
)
This method is only be called if the attribute requested has not
been defined. Defined attributes will not be overridden.

◆ parse()

tuple[list[nodes.Node], list[nodes.system_message]] myst_parser.mocking.MockInliner.parse (   self,
str  text,
int  lineno,
Any  memo,
nodes.Node   parent 
)
Parse the text and return a list of nodes.

◆ problematic()

nodes.problematic myst_parser.mocking.MockInliner.problematic (   self,
str  text,
str  rawsource,
nodes.system_message   message 
)
Record a system message from parsing.

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