Class ReflectionElement
Basic class for reflection elements.
Defines a variety of common methods. All reflections are descendants of this class.
- TokenReflection\ReflectionBase implements TokenReflection\IReflection
- TokenReflection\ReflectionElement
Direct known subclasses
TokenReflection\ReflectionClass, TokenReflection\ReflectionConstant, TokenReflection\ReflectionFileNamespace, TokenReflection\ReflectionFunctionBase, TokenReflection\ReflectionParameter, TokenReflection\ReflectionProperty
final public
|
#
__construct(
Constructor. |
final protected
|
#
parseStream(
Parses the token substream. |
public
string
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
null
|
|
public
boolean
|
|
public
string
|
|
public
integer
|
|
public
integer
|
|
protected
array
|
|
protected
|
#
processParent(
Processes the parent reflection object. |
protected
|
#
parseDocComment(
Find the appropriate docblock. |
abstract protected
|
#
parse(
Parses reflected element metadata from the token stream. |
abstract protected
|
|
protected
|
#
parseChildren(
Parses child reflection objects from the token stream. |
string |
DOCBLOCK_TEMPLATE_START
|
'/**#@+' |
#
Docblock template start. |
string |
DOCBLOCK_TEMPLATE_END
|
'/**#@-*/' |
#
Docblock template end. |
protected
integer
|
$startPosition |
|
#
Start position in the file token stream. |
protected
array
|
$docblockTemplates | array() |
#
Stack of actual docblock templates. |
$docComment,
$name
|