raesl.compile.instantiating.graph_data#

Classes for the instantiated component graph.

Module Contents#

Classes#

InstNode

Instance node that connects one or more elementary nodes that are connected

class raesl.compile.instantiating.graph_data.InstNode(name: str, variable: raesl.compile.ast.components.VarParam)#

Instance node that connects one or more elementary nodes that are connected through parameters.

Parameters:
  • name – Dotted variable name of the associated elementary type.

  • variable – Variable that created the node.

number#

Unique number for each instance nodes, mostly useful for debugging.

params#

Parameters connected to the variable through this node.

comments#

Comments from the connected variable and parameters.

next_num = 1000#
add_param(param: raesl.compile.ast.components.VarParam)#
add_comment(words: List[str])#
owners()#
check_owner(diag_store: raesl.compile.diagnostics.DiagnosticStore)#
get_comment()#
__repr__()#

Return repr(self).