예제 #1
0
    def list_known_languages():
        r"""Lists all note-input languages recognized by LilyPond parser.

        ::

            >>> for x in lilypondparsertools.LilyPondParser.list_known_languages():
            ...     print(x)
            ...
            catalan
            deutsch
            english
            espanol
            español
            français
            italiano
            nederlands
            norsk
            portugues
            suomi
            svenska
            vlaams

        Returns list.
        """
        from abjad.ly import language_pitch_names

        return sorted(language_pitch_names.keys())
예제 #2
0
    def list_known_languages():
        r'''Lists all note-input languages recognized by LilyPond parser.

        ::

            >>> for x in lilypondparsertools.LilyPondParser.list_known_languages():
            ...     print(x)
            ...
            catalan
            deutsch
            english
            espanol
            español
            français
            italiano
            nederlands
            norsk
            portugues
            suomi
            svenska
            vlaams

        Returns list.
        '''
        from abjad.ly import language_pitch_names
        return sorted(language_pitch_names.keys())
예제 #3
0
    def list_known_languages() -> typing.List[str]:
        """
        Lists all note-input languages recognized by LilyPond parser.

        ..  container:: example

            >>> class_ = abjad.parser.LilyPondParser
            >>> for language in class_.list_known_languages():
            ...     print(language)
            ...
            catalan
            deutsch
            english
            espanol
            español
            français
            italiano
            nederlands
            norsk
            portugues
            suomi
            svenska
            vlaams

        """
        from abjad.ly import language_pitch_names

        return sorted(language_pitch_names.keys())
예제 #4
0
    def list_known_languages() -> typing.List[str]:
        """
        Lists all note-input languages recognized by LilyPond parser.

        ..  container:: example

            >>> class_ = abjad.parser.LilyPondParser
            >>> for language in class_.list_known_languages():
            ...     print(language)
            ...
            catalan
            deutsch
            english
            espanol
            español
            français
            italiano
            nederlands
            norsk
            portugues
            suomi
            svenska
            vlaams

        """
        from abjad.ly import language_pitch_names

        return sorted(language_pitch_names.keys())