TagNode#

class tierkreis.core.tierkreis_graph.TagNode(tag_name: str)[source]#

Bases: TierkreisNode

Node to tag a value and return a tagged variant.

Methods

from_proto

Load from protobuf node.

is_copy_node

Whether this node is a copy function node.

is_discard_node

Delete nodes have some special behaviour, check for it.

is_unpack_node

Whether this node is an unpack struct function node.

to_proto

Convert to node protobuf message.

Attributes

tag_name

classmethod from_proto(node: Node) TierkreisNode#

Load from protobuf node.

is_copy_node() bool#

Whether this node is a copy function node.

is_discard_node() bool#

Delete nodes have some special behaviour, check for it.

is_unpack_node() bool#

Whether this node is an unpack struct function node.

to_proto() Node[source]#

Convert to node protobuf message.