PHP_CodeSniffer
[ class tree: PHP_CodeSniffer ] [ index: PHP_CodeSniffer ] [ all elements ]

Class: PHP_CodeSniffer_CommentParser_MemberCommentParser

Source Location: /PHP_CodeSniffer-0.1.0/CodeSniffer/CommentParser/MemberCommentParser.php

Class Overview

PHP_CodeSniffer_CommentParser_AbstractParser
   |
   --PHP_CodeSniffer_CommentParser_MemberCommentParser

Parses class member comments.


Author(s):

  • Squiz Pty Ltd

Methods


Inherited Variables

Inherited Methods

Class: PHP_CodeSniffer_CommentParser_AbstractParser

PHP_CodeSniffer_CommentParser_AbstractParser::__construct()
Constructs a Doc Comment Parser.
PHP_CodeSniffer_CommentParser_AbstractParser::getAllowedTags()
Returns a list of tags that this comment parser allows for it's comment.
PHP_CodeSniffer_CommentParser_AbstractParser::getComment()
Returns the comment element that appears at the top of this doc comment.
PHP_CodeSniffer_CommentParser_AbstractParser::getDeprecated()
Returns the deprecated element found in this comment.
PHP_CodeSniffer_CommentParser_AbstractParser::getLine()
Returns the line that the token exists on in the doc comment.
PHP_CodeSniffer_CommentParser_AbstractParser::getLinks()
Returns the link elements found in this comment.
PHP_CodeSniffer_CommentParser_AbstractParser::getSees()
Returns the see elements that appear in this doc comment.
PHP_CodeSniffer_CommentParser_AbstractParser::getSince()
Returns the since element found in this comment.
PHP_CodeSniffer_CommentParser_AbstractParser::parse()
Initiates the parsing of the doc comment.
PHP_CodeSniffer_CommentParser_AbstractParser::parseComment()
Parses the comment element that appears at the top of the doc comment.
PHP_CodeSniffer_CommentParser_AbstractParser::parseDeprecated()
Parses \@deprecated tags.
PHP_CodeSniffer_CommentParser_AbstractParser::parseLink()
Parses \@link tags.
PHP_CodeSniffer_CommentParser_AbstractParser::parseSee()
Parses see tag element within the doc comment.
PHP_CodeSniffer_CommentParser_AbstractParser::parseSince()
Parses \@since tags.
PHP_CodeSniffer_CommentParser_AbstractParser::parseTag()
Parses the specified tag.

Class Details

[line 43]
Parses class member comments.
  • Author: Squiz Pty Ltd


[ Top ]


Method Detail

getAllowedTags   [line 86]

array getAllowedTags( )

Returns the allowed tags for this parser.
  • Access: protected

Overrides PHP_CodeSniffer_CommentParser_AbstractParser::getAllowedTags() (Returns a list of tags that this comment parser allows for it's comment.)
[ Top ]

getVar   [line 74]

PHP_CodeSniffer_CommentParser_PairElement getVar( )

Returns the var tag found in the member comment.
  • Access: public

[ Top ]

parseVar   [line 61]

PHP_CodeSniffer_CommentParser_PairElement parseVar( array $tokens)

Parses Var tags.
  • Access: protected

Parameters:

array   $tokens   —  The tokens that represent this tag.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:44:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.