Method: YARD::DocstringParser.after_parse
- Defined in:
- lib/yard/docstring_parser.rb
.after_parse {|parser| ... } ⇒ void
This method returns an undefined value.
Creates a callback that is called after a docstring is successfully parsed. Use this method to perform sanity checks on a docstring’s tag data, or add any extra tags automatically to a docstring.
265 266 267 |
# File 'lib/yard/docstring_parser.rb', line 265 def self.after_parse(&block) after_parse_callbacks << block end |