protected function parseTypeModifiers(array $tokens)
	{
		$modifiers = 0;
	
		foreach($tokens as $tok)
		{
			if(is_array($tok))
			{
				switch($tok[0])
				{
					case T_ABSTRACT:
						$modifiers |= MetaInfo::IS_ABSTRACT;
						break;
					case T_FINAL:
						$modifiers |= MetaInfo::IS_FINAL;
						break;
				}
			}
		}
	
		return $modifiers;
	}
protected function parseTypeModifiers(array $tokens)
	{
		$modifiers = 0;
	
		foreach($tokens as $tok)
		{
			if(is_array($tok))
			{
				switch($tok[0])
				{
					case T_ABSTRACT:
						$modifiers |= MetaInfo::IS_ABSTRACT;
						break;
					case T_FINAL:
						$modifiers |= MetaInfo::IS_FINAL;
						break;
				}
			}
		}
	
		return $modifiers;
	}
protected function parseTypeModifiers ( array $ tokens ) { $ modifiers = 0 ; foreach ( $ tokens as $ tok ) { if ( is_array ( $ tok ) ) { switch ( $ tok [ 0 ] ) { case T_ABSTRACT : $ modifiers |= MetaInfo :: IS_ABSTRACT ; break ; case T_FINAL : $ modifiers |= MetaInfo :: IS_FINAL ; break ; } } } return $ modifiers ; }
Extract all type modifiers from the given tokens and combine them into a bit mask.

@param array $tokens
@return integer
Extract all type modifiers from the given tokens and combine them into a bit mask .