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.utils.math.math2html.HybridFunction Class Reference
Inheritance diagram for docutils.utils.math.math2html.HybridFunction:
Inheritance graph
[legend]
Collaboration diagram for docutils.utils.math.math2html.HybridFunction:
Collaboration graph
[legend]

Public Member Functions

 parsebit (self, pos)
 
 writeparams (self, writetemplate)
 
 writepos (self, pos)
 
 writeparam (self, pos)
 
 writefunction (self, pos)
 
 readtag (self, pos)
 
 writebracket (self, direction, character)
 
 computehybridsize (self)
 
- Public Member Functions inherited from docutils.utils.math.math2html.ParameterFunction
 readparams (self, readtemplate, pos)
 
 paramdefs (self, readtemplate)
 
 getparam (self, name)
 
 getvalue (self, name)
 
 getliteralvalue (self, name)
 
- Public Member Functions inherited from docutils.utils.math.math2html.CommandBit
 setcommand (self, command)
 
 parseparameter (self, pos)
 
 parsesquare (self, pos)
 
 parseliteral (self, pos)
 
 parsesquareliteral (self, pos)
 
 parsetext (self, pos)
 
- Public Member Functions inherited from docutils.utils.math.math2html.FormulaCommand
 detect (self, pos)
 
 parsewithcommand (self, command, pos)
 
 parsecommandtype (self, command, type, pos)
 
 extractcommand (self, pos)
 
 emptycommand (self, pos)
 
 parseupgreek (self, command, pos)
 
- Public Member Functions inherited from docutils.utils.math.math2html.FormulaBit
 __init__ (self)
 
 setfactory (self, factory)
 
 add (self, bit)
 
 skiporiginal (self, string, pos)
 
 computesize (self)
 
 clone (self)
 
 __str__ (self)
 
- Public Member Functions inherited from docutils.utils.math.math2html.Container
 process (self)
 
 gethtml (self)
 
 escape (self, line, replacements=EscapeConfig.entities)
 
 escapeentities (self, line)
 
 searchall (self, type)
 
 searchremove (self, type)
 
 searchprocess (self, type, process)
 
 locateprocess (self, locate, process)
 
 recursivesearch (self, locate, recursive, process)
 
 extracttext (self)
 
 group (self, index, group, isingroup)
 
 remove (self, index)
 
 tree (self, level=0)
 
 getparameter (self, name)
 
 getparameterlist (self, name)
 
 hasemptyoutput (self)
 

Public Attributes

 contents
 
 translated
 
 size
 
- Public Attributes inherited from docutils.utils.math.math2html.ParameterFunction
 params
 
- Public Attributes inherited from docutils.utils.math.math2html.CommandBit
 command
 
 translated
 
- Public Attributes inherited from docutils.utils.math.math2html.FormulaCommand
 output
 
- Public Attributes inherited from docutils.utils.math.math2html.FormulaBit
 contents
 
 output
 
 factory
 
 size
 
 original
 
- Public Attributes inherited from docutils.utils.math.math2html.Container
 contents
 

Static Public Attributes

 commandmap = FormulaConfig.hybridfunctions
 
- Static Public Attributes inherited from docutils.utils.math.math2html.FormulaCommand
list types = []
 
 start = FormulaConfig.starts['command']
 
 commandmap = None
 
- Static Public Attributes inherited from docutils.utils.math.math2html.FormulaBit
 type = None
 
int size = 1
 
str original = ''
 
- Static Public Attributes inherited from docutils.utils.math.math2html.Container
 partkey = None
 
 parent = None
 
 begin = None
 

Detailed Description

A parameter function where the output is also defined using a template.
The template can use a number of functions; each function has an associated
tag.
Example: [f0{$1},span class="fbox"] defines a function f0 which corresponds
to a span of class fbox, yielding <span class="fbox">$1</span>.
Literal parameters can be used in tags definitions:
  [f0{$1},span style="color: $p;"]
yields <span style="color: $p;">$1</span>, where $p is a literal parameter.
Sizes can be specified in hybridsizes, e.g. adding parameter sizes. By
default the resulting size is the max of all arguments. Sizes are used
to generate the right parameters.
A function followed by a single / is output as a self-closing XHTML tag:
  [f0/,hr]
will generate <hr/>.

Member Function Documentation

◆ parsebit()

docutils.utils.math.math2html.HybridFunction.parsebit (   self,
  pos 
)

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