PHP Class Google\Cloud\Dev\DocGenerator\Parser\CodeParser

Inheritance: implements Google\Cloud\Dev\DocGenerator\Parser\ParserInterface
Datei anzeigen Open project: GoogleCloudPlatform/gcloud-php

Public Methods

Method Description
__construct ( $path, $outputName, phpDocumentor\Reflection\FileReflector $reflector )
parse ( )

Private Methods

Method Description
buildDescription ( $docBlock, $content = null )
buildDocument ( $reflector )
buildExamples ( $examples )
buildExceptions ( $exceptions )
buildLink ( $content )
buildMagicMethod ( $magicMethod )
buildMagicMethods ( $magicMethods, $className )
buildMethod ( $method )
buildMethods ( $methods, $className )
buildNestedParams ( $nestedParams, $origParam ) PHPDoc has no support for nested params currently. this is a workaround until it is implemented.
buildParams ( $params )
buildResources ( $resources )
buildReturns ( $returns )
getReflector ( $fileReflector )
handleTypes ( $types )
hasNestedParams ( $description )
splitDescription ( $description )

Method Details

__construct() public method

public __construct ( $path, $outputName, phpDocumentor\Reflection\FileReflector $reflector )
$reflector phpDocumentor\Reflection\FileReflector

parse() public method

public parse ( )