FunctionyDeclaration

A thing and its corresponding doc block

interface FunctionyDeclaration
Copyright
2016 Appertly
License
Apache-2.0

Instance Methods

Public
ReturnsSignature and Description
ConstMap<string,ParameterTag>

Gets the parameter tags.

?TypedTag

Gets the returns tag.

ConstVector<TypedTag>

Gets the list of exceptions thrown.

ScannedFunctionAbstract

Gets the scanned token.

Method Details

getParameterTags

abstract public function getParameterTags()

Gets the parameter tags.

Returns
TypeDescription
ConstMap<string,ParameterTag>

The parameter tags

getReturnsTag

abstract public function getReturnsTag()

Gets the returns tag.

Returns
TypeDescription
?TypedTag

The return tag

getThrowsTags

abstract public function getThrowsTags()

Gets the list of exceptions thrown.

Returns
TypeDescription
ConstVector<TypedTag>

The throws tags

getToken

abstract public function getToken()

Gets the scanned token.

Returns
TypeDescription
ScannedFunctionAbstract

The scanned token