lilypondfiletools.BookBlock

Inheritance diagram of abjad.tools.lilypondfiletools.BookBlock.BookBlock.BookBlock

class abjad.tools.lilypondfiletools.BookBlock.BookBlock.BookBlock[source]

New in version 2.0.

Abjad model of LilyPond input file book block:

abjad> book_block = lilypondfiletools.BookBlock()
abjad> book_block
BookBlock()
abjad> f(book_block)
\book {}

Return book block.

Read-only Properties

BookBlock.format

Note

Inherited from lilypondfiletools._NonattributedBlock

Read/write Properties

BookBlock.is_formatted_when_empty

Note

Inherited from lilypondfiletools._NonattributedBlock

Methods

BookBlock.append()

L.append(object) – append object to end

Note

Inherited from __builtin__.list

BookBlock.count(value) → integer -- return number of occurrences of value

Note

Inherited from __builtin__.list

BookBlock.extend()

L.extend(iterable) – extend list by appending elements from the iterable

Note

Inherited from __builtin__.list

BookBlock.index(value[, start[, stop]]) → integer -- return first index of value.

Raises ValueError if the value is not present.

Note

Inherited from __builtin__.list

BookBlock.insert()

L.insert(index, object) – insert object before index

Note

Inherited from __builtin__.list

BookBlock.pop([index]) → item -- remove and return item at index (default last).

Raises IndexError if list is empty or index is out of range.

Note

Inherited from __builtin__.list

BookBlock.remove()

L.remove(value) – remove first occurrence of value. Raises ValueError if the value is not present.

Note

Inherited from __builtin__.list

BookBlock.reverse()

L.reverse() – reverse IN PLACE

Note

Inherited from __builtin__.list

BookBlock.sort()

L.sort(cmp=None, key=None, reverse=False) – stable sort IN PLACE; cmp(x, y) -> -1, 0, 1

Note

Inherited from __builtin__.list

Special Methods

BookBlock.__add__()

x.__add__(y) <==> x+y

Note

Inherited from __builtin__.list

BookBlock.__contains__()

x.__contains__(y) <==> y in x

Note

Inherited from __builtin__.list

BookBlock.__delattr__()

x.__delattr__(‘name’) <==> del x.name

Note

Inherited from __builtin__.object

BookBlock.__delitem__()

x.__delitem__(y) <==> del x[y]

Note

Inherited from __builtin__.list

BookBlock.__delslice__()

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

Note

Inherited from __builtin__.list

BookBlock.__eq__()

x.__eq__(y) <==> x==y

Note

Inherited from __builtin__.list

BookBlock.__ge__()

x.__ge__(y) <==> x>=y

Note

Inherited from __builtin__.list

BookBlock.__getitem__()

x.__getitem__(y) <==> x[y]

Note

Inherited from __builtin__.list

BookBlock.__getslice__()

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

Note

Inherited from __builtin__.list

BookBlock.__gt__()

x.__gt__(y) <==> x>y

Note

Inherited from __builtin__.list

BookBlock.__iadd__()

x.__iadd__(y) <==> x+=y

Note

Inherited from __builtin__.list

BookBlock.__imul__()

x.__imul__(y) <==> x*=y

Note

Inherited from __builtin__.list

BookBlock.__iter__() <==> iter(x)

Note

Inherited from __builtin__.list

BookBlock.__le__()

x.__le__(y) <==> x<=y

Note

Inherited from __builtin__.list

BookBlock.__len__() <==> len(x)

Note

Inherited from __builtin__.list

BookBlock.__lt__()

x.__lt__(y) <==> x<y

Note

Inherited from __builtin__.list

BookBlock.__mul__()

x.__mul__(n) <==> x*n

Note

Inherited from __builtin__.list

BookBlock.__ne__()

x.__ne__(y) <==> x!=y

Note

Inherited from __builtin__.list

BookBlock.__repr__()

Note

Inherited from lilypondfiletools._NonattributedBlock

BookBlock.__reversed__()

L.__reversed__() – return a reverse iterator over the list

Note

Inherited from __builtin__.list

BookBlock.__rmul__()

x.__rmul__(n) <==> n*x

Note

Inherited from __builtin__.list

BookBlock.__setattr__()

x.__setattr__(‘name’, value) <==> x.name = value

Note

Inherited from __builtin__.object

BookBlock.__setitem__()

x.__setitem__(i, y) <==> x[i]=y

Note

Inherited from __builtin__.list

BookBlock.__setslice__()

x.__setslice__(i, j, y) <==> x[i:j]=y

Use of negative indices is not supported.

Note

Inherited from __builtin__.list

BookBlock.__str__() <==> str(x)

Note

Inherited from __builtin__.object

Table Of Contents

This Page