systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
parselib.primitives.TypeContext Class Reference
Inheritance diagram for parselib.primitives.TypeContext:
Collaboration diagram for parselib.primitives.TypeContext:

Public Member Functions

 __init__ (self, prefix=None, suffix=None, sep=None)
 
 update_not_none (self, that)
 

Static Public Member Functions

 merge_field_default_this (this, that)
 

Public Attributes

 prefix = prefix
 
 suffix = suffix
 
 sep = sep
 

Detailed Description

Type context provides a way to contextualize types, enabling generation of input ports and output ports

Definition at line 6 of file primitives.py.

Constructor & Destructor Documentation

◆ __init__()

parselib.primitives.TypeContext.__init__ ( self,
prefix = None,
suffix = None,
sep = None )

Definition at line 10 of file primitives.py.

Member Function Documentation

◆ merge_field_default_this()

parselib.primitives.TypeContext.merge_field_default_this ( this,
that )
static

Definition at line 16 of file primitives.py.

◆ update_not_none()

parselib.primitives.TypeContext.update_not_none ( self,
that )
merges fields of two contexts, throws error if both fields are non None

Definition at line 26 of file primitives.py.

Member Data Documentation

◆ prefix

parselib.primitives.TypeContext.prefix = prefix

Definition at line 11 of file primitives.py.

◆ sep

parselib.primitives.TypeContext.sep = sep

Definition at line 13 of file primitives.py.

◆ suffix

parselib.primitives.TypeContext.suffix = suffix

Definition at line 12 of file primitives.py.


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