Trellis

class supriya.tools.systemtools.Trellis[source]

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" [color=2, group=1, label=AbstractBase, shape=box]; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" [color=2, group=1, label=SupriyaObject, shape=box]; "supriya.tools.systemtools.Trellis.Trellis" [color=black, fontcolor=white, group=1, label=<<B>Trellis</B>>, shape=box, style="filled, rounded"]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" -> "supriya.tools.systemtools.SupriyaObject.SupriyaObject"; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" -> "supriya.tools.systemtools.Trellis.Trellis"; } "builtins.object" -> "supriya.tools.systemtools.SupriyaObject.AbstractBase"; }

Bases

Attribute summary

add(child[, parent])
children(expr)
copy()
is_acyclic()
parents(expr)
pop()
remove(expr)
__contains__(expr)
__eq__(expr)
__format__([format_specification]) Formats Supriya object.
__getitem__(expr)
__iter__()
__len__()
__repr__() Gets interpreter representation of Supriya object.

Methods

Trellis.add(child, parent=None)[source]
Trellis.children(expr)[source]
Trellis.copy()[source]
Trellis.is_acyclic()[source]
Trellis.parents(expr)[source]
Trellis.pop()[source]
Trellis.remove(expr)[source]

Special methods

Trellis.__contains__(expr)[source]
Trellis.__eq__(expr)[source]
(SupriyaObject).__format__(format_specification='')

Formats Supriya object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

Trellis.__getitem__(expr)[source]
Trellis.__iter__()[source]
Trellis.__len__()[source]
(SupriyaObject).__repr__()

Gets interpreter representation of Supriya object.

Returns string.