src/Mouf/Reflection/TypesDescriptor.php
public static function runLexer($line) {
		$tokens = array();
		$offset = 0;
		while($offset < strlen($line)) {
			$result = static::_match($line, $offset);
			if($result === false) {
				throw new MoufException("Unable to parse line '".$line."'.");
			}
			$tokens[] = $result;
			$offset += strlen($result['match']);
		}
		 
		return $tokens;
	}
public static function runLexer($line) {
		$tokens = array();
		$offset = 0;
		while($offset < strlen($line)) {
			$result = static::_match($line, $offset);
			if($result === false) {
				throw new MoufException("Unable to parse line '".$line."'.");
			}
			$tokens[] = $result;
			$offset += strlen($result['match']);
		}
		 
		return $tokens;
	}
public static function runLexer ( $ line ) { $ tokens = array ( ) ; $ offset = 0 ; while ( $ offset < strlen ( $ line ) ) { $ result = static :: _match ( $ line , $ offset ) ; if ( $ result === false ) { throw new MoufException ( "Unable to parse line '" . $ line . "'." ) ; } $ tokens [ ] = $ result ; $ offset += strlen ( $ result [ 'match' ] ) ; } return $ tokens ; }
Runs the analysis

@param $line
@throws MoufException
@return array
Runs the analysis