Signature

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=1]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; "abjad.system.AbjadValueObject.AbjadValueObject" [URL="../api/abjad/system/AbjadValueObject.html#abjad.system.AbjadValueObject.AbjadValueObject", label="Abjad\nValue\nObject", target=_top]; "abjad.system.Signature.Signature" [URL="../api/abjad/system/Signature.html#abjad.system.Signature.Signature", color=black, fontcolor=white, label=Signature, target=_top]; "abjad.system.AbjadObject.AbjadObject" -> "abjad.system.AbjadValueObject.AbjadValueObject"; "abjad.system.AbjadValueObject.AbjadValueObject" -> "abjad.system.Signature.Signature"; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjad.system.Signature.Signature(argument_list_callback=None, is_operator=None, markup_maker_callback=None, method_name=None, method_name_callback=None, string_template_callback=None, subscript=None, superscript=None)

Signature.

Decorates expression-enabled methods.


Attributes Summary

__call__ Calls signature decorator on method.
argument_list_callback Gets argument list callback.
is_operator Is true when method typesets like operator.
markup_maker_callback Gets markup maker callback.
method_name Gets method name.
method_name_callback Gets method name callback.
string_template_callback Gets string template callback.
subscript Gets subscript.
superscript Gets superscript.

Special methods

__call__(method)

Calls signature decorator on method.

Returns method with metadata attached.

(AbjadValueObject).__copy__(*arguments)

Copies Abjad value object.

Returns new Abjad value object.

(AbjadValueObject).__eq__(argument)

Is true when all initialization values of Abjad value object equal the initialization values of argument.

Returns true or false.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

(AbjadValueObject).__hash__()

Hashes Abjad value object.

Returns integer.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Read-only properties

argument_list_callback

Gets argument list callback.

Returns string or none.

is_operator

Is true when method typesets like operator.

Returns true, false or none.

markup_maker_callback

Gets markup maker callback.

Returns string or none.

method_name

Gets method name.

Returns string or none.

method_name_callback

Gets method name callback.

Returns string or none.

string_template_callback

Gets string template callback.

Returns string or none.

subscript

Gets subscript.

Returns string or none.

superscript

Gets superscript.

Returns string or none.