src/FS/File/PHP/Parser/Regular.php
protected function parseMember( $parent, $matches, $docBlock = NULL )
	{
		$variable			= new ADT_PHP_Member( $matches[4], NULL, NULL );
		$variable->setParent( $parent );
		$variable->setLine( $this->lineNumber );
		if( isset( $matches[5] ) )
			$variable->setDefault( preg_replace( "@;$@", "", $matches[6] ) );
		if( !empty( $matches[2] ) )
			$variable->setAccess( $matches[2] == "var" ? NULL : $matches[2] );
		$variable->setStatic( (bool) trim( $matches[3] ) );

		if( $docBlock )
			if( $docBlock instanceof ADT_PHP_Variable )
				if( $docBlock->getName() == $variable->getName() )
					$variable->merge( $docBlock );
		return $variable;
	}
protected function parseMember( $parent, $matches, $docBlock = NULL )
	{
		$variable			= new ADT_PHP_Member( $matches[4], NULL, NULL );
		$variable->setParent( $parent );
		$variable->setLine( $this->lineNumber );
		if( isset( $matches[5] ) )
			$variable->setDefault( preg_replace( "@;$@", "", $matches[6] ) );
		if( !empty( $matches[2] ) )
			$variable->setAccess( $matches[2] == "var" ? NULL : $matches[2] );
		$variable->setStatic( (bool) trim( $matches[3] ) );

		if( $docBlock )
			if( $docBlock instanceof ADT_PHP_Variable )
				if( $docBlock->getName() == $variable->getName() )
					$variable->merge( $docBlock );
		return $variable;
	}
protected function parseMember ( $ parent , $ matches , $ docBlock = NULL ) { $ variable = new ADT_PHP_Member ( $ matches [ 4 ] , NULL , NULL ) ; $ variable -> setParent ( $ parent ) ; $ variable -> setLine ( $ this -> lineNumber ) ; if ( isset ( $ matches [ 5 ] ) ) $ variable -> setDefault ( preg_replace ( "@;$@" , "" , $ matches [ 6 ] ) ) ; if ( ! empty ( $ matches [ 2 ] ) ) $ variable -> setAccess ( $ matches [ 2 ] == "var" ? NULL : $ matches [ 2 ] ) ; $ variable -> setStatic ( ( bool ) trim ( $ matches [ 3 ] ) ) ; if ( $ docBlock ) if ( $ docBlock instanceof ADT_PHP_Variable ) if ( $ docBlock -> getName ( ) == $ variable -> getName ( ) ) $ variable -> merge ( $ docBlock ) ; return $ variable ; }
Parses a Class Member Signature and returns collected Information.
@access		protected
@param		ADT_PHP_Class		$parent			Parent Class Data Object
@param		array				$matches		Matches of RegEx
@param		array				$docBlock		Variable data object from Doc Parser
@return		ADT_PHP_Member
Parses a Class Member Signature and returns collected Information .