Method: YARD::Parser::SourceParser.after_parse_file
- Defined in:
- lib/yard/parser/source_parser.rb
permalink .after_parse_file {|parser| ... } ⇒ Proc
Registers a callback to be called after an individual file is parsed. The block passed to this method will be called on subsequent parse calls.
To register a callback that is called after the entire list of files is processed, see after_parse_list.
321 322 323 |
# File 'lib/yard/parser/source_parser.rb', line 321 def after_parse_file(&block) after_parse_file_callbacks << block end |