Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhutilContextFreeGrammar

abstract class PhutilContextFreeGrammar
Phabricator Technical Documentation ()

Generate nonsense test data according to a context-free grammar definition.

Methods

abstract protected function getRules()

This method is not documented.
Return
wild

public function generateSeveral($count, $implode)

This method is not documented.
Parameters
$count
$implode
Return
wild

public function generate()

This method is not documented.
Return
wild

final protected function applyRules($input, &$count, $rules)

This method is not documented.
Parameters
$input
&$count
array$rules
Return
wild

private static function strPadLines($text, $num_spaces)

This method is not documented.
Parameters
$text
$num_spaces
Return
wild