# Functions
ContainsTag checks if /* */ comments contain annotations, which may mean that it is phpdoc, but there is a mistake when there is one asterisk instead of two at the beginning of a comment.
IsPHPDoc checks if the string is a doc comment.
IsPHPDocToken checks if the token is a doc comment.
IsSuspicious checks that phpdoc starts with /* but has tags inside it.
No description provided by the author
Parse returns parsed doc comment with interesting parts (ones that start "* @").
# Constants
ExprArray is `elem[]` or `[]elem` type.
ExprGeneric is a parametrized `expr<T,...>` type.
ExprInt is a digit-only type expression.
ExprInter is `x&y` type.
ExprInvalid represents "failed to parse" type expression.
ExprKeyVal is `key:val` type.
ExprLiteral is a single quoted string value.
ExprMemberType is access to member.
ExprName is a type that is identified by its name.
ExprNot is `!expr` type.
ExprNullable is `?expr` type.
ExprOptional is `expr?` type.
ExprParen is `(expr)` type.
ExprSpecialName is a special name-like type node.
ExprTypedCallable is a parametrized `callable(A,...):B` type.
ExprUnion is `x|y` type.
ExprUnknown is a garbage-prefixed type expression.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author