drj826 / SML

This is the Perl 5 implementation of the SML code library. SML is a minimalistic plain text descriptive markup language which is human readable, enables continuous integration of documentation, expresses and validates semantic relationships, is easy to edit, is easy to generate automatically, and publishes professional documentation from plain text manuscripts.
GNU General Public License v3.0
2 stars 2 forks source link

SML::Parser 'parse_library_index_terms' method should belong to SML::Index #98

Closed drj826 closed 8 years ago

drj826 commented 8 years ago

The SML::Parser 'parse_library_index_terms' method should instead belong to SML::Index and be called 'parse_terms'. This method was originally made part of SML::Parser when the parser's 'create_string' was private. Now that it's public I should refactor some methods that use it.

drj826 commented 8 years ago

I wound up getting rid of this method altogether and parsing index terms into strings within the SML::IndexEntry BUILD method.