TimeloopFE
Loading...
Searching...
No Matches
timeloopfe.common.processor.SimpleProcessor Class Reference

An example simple processor. More...

Inheritance diagram for timeloopfe.common.processor.SimpleProcessor:
Collaboration diagram for timeloopfe.common.processor.SimpleProcessor:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 declare_attrs (self)
 Initialize the attributes that the processor handles.
 
 process (self, "Specification" spec)
 Process the specification.
 
- Public Member Functions inherited from timeloopfe.common.processor.Processor
 pre_parse_process (self, "Specification" spec)
 Process the specification before parsing.
 
 get_index (self, type processor_type, "Specification" spec)
 Get the index of the processor in the list of processors.
 
 must_run_after (self, type other, "Specification" spec, bool ok_if_not_found=False)
 Ensure that this processor runs after another processor.
 
 add_attr (self, Node target, *args, **kwargs)
 

Additional Inherited Members

- Public Attributes inherited from timeloopfe.common.processor.Processor
 logger = logging.getLogger(self.__class__.__name__)
 
 spec = spec
 
- Protected Attributes inherited from timeloopfe.common.processor.Processor
bool _initialized = True
 

Detailed Description

An example simple processor.

Constructor & Destructor Documentation

◆ __init__()

timeloopfe.common.processor.SimpleProcessor.__init__ ( self,
* args,
** kwargs )

Member Function Documentation

◆ declare_attrs()

timeloopfe.common.processor.SimpleProcessor.declare_attrs ( self)

Initialize the attributes that the processor handles.

Reimplemented from timeloopfe.common.processor.Processor.

◆ process()

timeloopfe.common.processor.SimpleProcessor.process ( self,
"Specification" spec )

Process the specification.

Remove attributes that this processor is responsible for.

Reimplemented from timeloopfe.common.processor.Processor.


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