Skip to content
Commit 1598b957 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Generalize parsing of several @tags in DocParser.

Remove bunch of duplication by parsing similar tags with a more
generic functions.

Also avoid repeating regexes by not testing for the exact tagname
any more after the first initial check.  The new helper method
parse_tag_as() replaces in lots of places two lines of code with
just one.
parent c29a4284
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment