* @author Falko Menge */ interface ezcReflectionDocCommentParser { /** * Initialize parsing of the given documentation fragment. * Results can be retrieved after completion by the getters provided. * * @param string $docComment * @return void */ public function parse($docComment); /** * Return all found annotations with the given name. * * @param string $name * @return ezcReflectionAnnotation[] */ public function getAnnotationsByName($name); /** * Retrieve all found annotations * * @return ezcReflectionAnnotation[] */ public function getAnnotations(); /** * Retrieve all param annotations * * @return ezcReflectionAnnotationParam[] */ public function getParamAnnotations(); /** * Retrieve all var annotations * * @return ezcReflectionAnnotationVar[] */ public function getVarAnnotations(); /** * Retrieve all return annotations * * @return ezcReflectionAnnotationReturn[] */ public function getReturnAnnotations(); /** * Checks whether an annotation was used in the parsed documentation fragment * * @param string $with name of used annotation * @return boolean */ public function hasAnnotation($with); /** * Returns short description * @return string */ public function getShortDescription(); /** * Returns long description * @return string */ public function getLongDescription(); } ?>