# class Tlf\Scrawl\Ext\DefaultExt\AllDoblocks

Extract all docblocks through simple regex. Extract their descriptions & all @tags. Associate these with file & line-number

In languages that have full AST support, this may not be as helpful.

Constants

Properties

  • protected $regData = [ 'StarStar' =>'/(\/\*\*(.*)\*\/)/ms', ];

Methods

  • public function onTemplateFileFound(\Tlf\Scrawl\File $templateFile) Find verbs in a source md file
  • public function matchStarStar($info, $templateFile, $verb, $argListStr)
  • public function matchVerb($info, $templateFile, $verb, $argListStr) Execute md verb extension methods & update output-content
  • public function writeMdFile(\Tlf\Scrawl\File $templateFile) Append the correct md file to the output, to later be written by Scrawl
  • public function parseArgListString(string $argListString): array Parse an arg list string & return it as an array

Each arg is trimmed. There is no special handling of any character. Commas may not appear in arguments, as they are argument separators.