• Louis Wilson's avatar
    Follow naming convention for parameter names in method docstrings (#352) · 0001a3e8
    Louis Wilson authored
    * Update parameter names in documentation
    
    Because parameter names may not be written in the same format between
    C++, Objective-C, and Java, it is impossible to have doxygen- or
    javadoc-style @param annotations that match for all languages. This
    change simply looks for "@param <PARAMNAME>" in the docstring and
    rewrites it the same way as the sourcecode does.
    
    * Replace all occurrences of parameter name in docstring
    
    * Also update Java for static methods
    
    * Add multi-word parameter name to test suite
    
    And reference it from the docstring.
    
    * Revert "Add multi-word parameter name to test suite"
    
    This reverts commit 785a22690ff14261fc7c4843984d467784956a47.
    
    * Add multi-word parameter name to test suite
    
    And reference it from the docstring.
    0001a3e8
CppGenerator.scala 12.6 KB