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.parsers.rst.states.QuotedLiteralBlock Class Reference
Inheritance diagram for docutils.parsers.rst.states.QuotedLiteralBlock:
Inheritance graph
[legend]
Collaboration diagram for docutils.parsers.rst.states.QuotedLiteralBlock:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, state_machine, debug=False)
 
 blank (self, match, context, next_state)
 
 eof (self, context)
 
 indent (self, match, context, next_state)
 
 initial_quoted (self, match, context, next_state)
 
 quoted (self, match, context, next_state)
 
 text (self, match, context, next_state)
 
- Public Member Functions inherited from docutils.parsers.rst.states.RSTState
 runtime_init (self)
 
 goto_line (self, abs_line_offset)
 
 no_match (self, context, transitions)
 
 bof (self, context)
 
 nested_parse (self, block, input_offset, node, match_titles=False, state_machine_class=None, state_machine_kwargs=None)
 
 nested_list_parse (self, block, input_offset, node, initial_state, blank_finish, blank_finish_state=None, extra_settings={}, match_titles=False, state_machine_class=None, state_machine_kwargs=None)
 
 section (self, title, source, style, lineno, messages)
 
 check_subsection (self, source, style, lineno)
 
 title_inconsistent (self, sourcetext, lineno)
 
 new_subsection (self, title, lineno, messages)
 
 paragraph (self, lines, lineno)
 
 inline_text (self, text, lineno)
 
 unindent_warning (self, node_name)
 
- Public Member Functions inherited from docutils.statemachine.StateWS
 add_initial_transitions (self)
 
 known_indent (self, match, context, next_state)
 
 first_known_indent (self, match, context, next_state)
 
- Public Member Functions inherited from docutils.statemachine.State
 unlink (self)
 
 add_transitions (self, names, transitions)
 
 add_transition (self, name, transition)
 
 remove_transition (self, name)
 
 make_transition (self, name, next_state=None)
 
 make_transitions (self, name_list)
 
 nop (self, match, context, next_state)
 

Public Attributes

 messages
 
 initial_lineno
 
 quoted
 
- Public Attributes inherited from docutils.parsers.rst.states.RSTState
 nested_sm_kwargs
 
 memo
 
 reporter
 
 inliner
 
 document
 
 parent
 
- Public Attributes inherited from docutils.statemachine.StateWS
 patterns
 
 ws_patterns
 
 ws_initial_transitions
 
- Public Attributes inherited from docutils.statemachine.State
 transition_order
 
 transitions
 
 state_machine
 
 debug
 

Static Public Attributes

dict patterns
 
tuple initial_transitions = ('initial_quoted', 'text')
 
- Static Public Attributes inherited from docutils.parsers.rst.states.RSTState
 nested_sm = NestedStateMachine
 
list nested_sm_cache = []
 
- Static Public Attributes inherited from docutils.statemachine.StateWS
 indent_sm = None
 
 indent_sm_kwargs = None
 
 known_indent_sm = None
 
 known_indent_sm_kwargs = None
 
dict ws_patterns
 
tuple ws_initial_transitions = ('blank', 'indent')
 
- Static Public Attributes inherited from docutils.statemachine.State
 patterns = None
 
 initial_transitions = None
 
 nested_sm = None
 
 nested_sm_kwargs = None
 

Detailed Description

Nested parse handler for quoted (unindented) literal blocks.

Special-purpose.  Not for inclusion in `state_classes`.

Constructor & Destructor Documentation

◆ __init__()

docutils.parsers.rst.states.QuotedLiteralBlock.__init__ (   self,
  state_machine,
  debug = False 
)
Initialize a `StateSM` object; extends `State.__init__()`.

Check for indent state machine attributes, set defaults if not set.

Reimplemented from docutils.parsers.rst.states.RSTState.

Member Function Documentation

◆ blank()

docutils.parsers.rst.states.QuotedLiteralBlock.blank (   self,
  match,
  context,
  next_state 
)
Handle blank lines. Does nothing. Override in subclasses.

Reimplemented from docutils.statemachine.StateWS.

◆ eof()

docutils.parsers.rst.states.QuotedLiteralBlock.eof (   self,
  context 
)
Handle end-of-file. Return empty result.

Override in subclasses.

Parameter `context`: application-defined storage.

Reimplemented from docutils.statemachine.State.

◆ indent()

docutils.parsers.rst.states.QuotedLiteralBlock.indent (   self,
  match,
  context,
  next_state 
)
Handle an indented text block. Extend or override in subclasses.

Recursively run the registered state machine for indented blocks
(`self.indent_sm`).

Reimplemented from docutils.statemachine.StateWS.

◆ initial_quoted()

docutils.parsers.rst.states.QuotedLiteralBlock.initial_quoted (   self,
  match,
  context,
  next_state 
)
Match arbitrary quote character on the first line only.

◆ quoted()

docutils.parsers.rst.states.QuotedLiteralBlock.quoted (   self,
  match,
  context,
  next_state 
)
Match consistent quotes on subsequent lines.

Member Data Documentation

◆ patterns

dict docutils.parsers.rst.states.QuotedLiteralBlock.patterns
static
Initial value:
= {'initial_quoted': r'(%(nonalphanum7bit)s)' % Body.pats,
'text': r''}

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