Homec4science

Improve Docblock parser handling of "@flags"

Authored by epriestley <git@epriestley.com> on Jan 27 2012, 23:13.

Description

Improve Docblock parser handling of "@flags"

Summary:
Allow the docblock parser to handle "@specials" with no value, like "@stable",
more gracefully, by treating them as flags.

Also improve extraction of docblock text from docblocks with mixed-order
specials and text.

Test Plan: This class is extensively covered by unit tests.

Reviewers: btrahan, nh, jungejason

Reviewed By: nh

CC: aran, epriestley

Maniphest Tasks: T795

Differential Revision: https://secure.phabricator.com/D1508

Details

Committed
epriestley <git@epriestley.com>Jan 27 2012, 23:13
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU470d2d13778f: Add a "concrete only" flag to PhutilSymbolLoader
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU54e2376ebf34: Improve Docblock parser handling of "@flags" (authored by epriestley <git@epriestley.com>).Jan 27 2012, 23:13