def list_known_contexts() -> typing.List[str]: """ Lists all LilyPond contexts recognized by LilyPond parser. .. container:: example >>> class_ = abjad.parser.LilyPondParser >>> for context in class_.list_known_contexts(): ... print(context) ... ChoirStaff ChordNames CueVoice Devnull DrumStaff DrumVoice Dynamics FiguredBass FretBoards Global GrandStaff GregorianTranscriptionStaff GregorianTranscriptionVoice KievanStaff KievanVoice Lyrics MensuralStaff MensuralVoice NoteNames NullVoice PetrucciStaff PetrucciVoice PianoStaff RhythmicStaff Score Staff StaffGroup TabStaff TabVoice VaticanaStaff VaticanaVoice Voice """ from abjad.ly import contexts return sorted(contexts.keys())
def list_known_contexts(): r"""Lists all LilyPond contexts recognized by LilyPond parser. :: >>> for x in lilypondparsertools.LilyPondParser.list_known_contexts(): ... print(x) ... ChoirStaff ChordNames CueVoice Devnull DrumStaff DrumVoice Dynamics FiguredBass FretBoards Global GrandStaff GregorianTranscriptionStaff GregorianTranscriptionVoice KievanStaff KievanVoice Lyrics MensuralStaff MensuralVoice NoteNames PetrucciStaff PetrucciVoice PianoStaff RhythmicStaff Score Staff StaffGroup TabStaff TabVoice VaticanaStaff VaticanaVoice Voice Returns list. """ from abjad.ly import contexts return sorted(contexts.keys())
def list_known_contexts(): r'''Lists all LilyPond contexts recognized by LilyPond parser. :: >>> for x in lilypondparsertools.LilyPondParser.list_known_contexts(): ... print(x) ... ChoirStaff ChordNames CueVoice Devnull DrumStaff DrumVoice Dynamics FiguredBass FretBoards Global GrandStaff GregorianTranscriptionStaff GregorianTranscriptionVoice KievanStaff KievanVoice Lyrics MensuralStaff MensuralVoice NoteNames NullVoice PetrucciStaff PetrucciVoice PianoStaff RhythmicStaff Score Staff StaffGroup TabStaff TabVoice VaticanaStaff VaticanaVoice Voice Returns list. ''' from abjad.ly import contexts return sorted(contexts.keys())