private function processUse($pos)
{
$list = array(';', '(');
$stack = $this->getTokensTill($pos, $list);
$stackSize = count($stack);
$ignore = array('(', T_CONST, T_FUNCTION);
if (in_array($stack[1][0], $ignore)) {
return $pos + $stackSize - 1;
}
if ($this->classBracket > 0) {
$this->parseUseOfTrait($stackSize, $stack);
} else {
$this->parseUseAsImport($stack);
}
return $pos + $stackSize - 1;
}