Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.pyparsing.diagram.ElementState Class Reference

Public Member Functions

 __init__ (self, pyparsing.ParserElement element, EditablePartial converted, EditablePartial parent, int number, str name=None, typing.Optional[int] parent_index=None)
 
 mark_for_extraction (self, int el_id, "ConverterState" state, str name=None, bool force=False)
 

Public Attributes

 extract
 
 name
 
 element
 

Detailed Description

State recorded for an individual pyparsing Element

Member Function Documentation

◆ mark_for_extraction()

pip._vendor.pyparsing.diagram.ElementState.mark_for_extraction (   self,
int  el_id,
"ConverterState"  state,
str   name = None,
bool   force = False 
)
Called when this instance has been seen twice, and thus should eventually be extracted into a sub-diagram
:param el_id: id of the element
:param state: element/diagram state tracker
:param name: name to use for this element's text
:param force: If true, force extraction now, regardless of the state of this. Only useful for extracting the
root element when we know we're finished

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