FoscContext

Returns a FoscContext.


Description

A context.


Attributes Summary

Instance Properties

consistsCommands Set of LilyPond engravers to include in context definition.
lilypondType Gets and sets context name of context.
lilypondType_
lilypondContext Gets LilyPondContext associated with context.
removeCommands Set of LilyPond engravers to remove from context.
tag Gets tag.

Instance Methods: Special Methods

asCompileString !!!TODO: not yet implemented
copy
storeArgs


Instance Properties


consistsCommands

Set of LilyPond engravers to include in context definition.

Returns array.

  1. Example

    a = FoscStaff([]);
    a.consistsCommands.add('Horizontal_bracket_engraver');
    a.consistsCommands;
    List[ 'Horizontal_bracket_engraver' ]


lilypondType

Gets and sets context name of context.

Returns string.

  1. Example

    a = FoscStaff([]);
    a.lilypondType;
    'Staff'


lilypondType_


lilypondContext

Gets LilyPondContext associated with context.

Returns FoscLilypondContext instance.

  1. Example

    a = FoscStaff([]);
    a.lilypondContext.name;
    'Staff'


removeCommands

Set of LilyPond engravers to remove from context.

Returns set.

  1. Example

    a = FoscStaff([]);
    a.removeCommands.add('Horizontal_bracket_engraver');
    a.removeCommands;
    List[ 'Horizontal_bracket_engraver' ]


tag

Gets tag.


Instance Methods: Special Methods


asCompileString

!!!TODO: not yet implemented


copy


storeArgs