Return the current element.
546991
def current_item(self):
        """"""
        if self._history and self._index >= 0:
            self._check_index()
            return self._history[self._index]
10455
def look(self):
        """"""
        old_token = next(self)
        result = self.current
        self.push(result)
        self.current = old_token
        return result
960147
def _get_current_label(self):
        """"""
        if len(self._last) == 0:
            raise StopIteration
        return self._last[:self._last.find(":")]
905080
def get_current_line(self):
        """"""
        if not self.has_space():
            return None

        pos = self.pos - self.col
        string = self.string
        end = self.length

        output = []
        while pos < len(string) and string[pos] != '\n':
            output.append(string[pos])
            pos += 1
            if pos == end:
                break
        else:
            output.append(string[pos])

        if not output:
            return None

        return SourceLine(''.join(output), self.row)
1173950
def get_current(self):
        
        suffix = self._separator + "%s" % str(self._counter_curr)

        return self._base_name + suffix
244726
def _select(self):
        """"""

        for element in self.browser.find_elements_by_xpath(self.xpath):
            if self.filter_displayed:
                if not element.is_displayed():
                    continue

            if self.filter_enabled:
                if not element.is_enabled():
                    continue

            yield element
959091
public function current()
    {
        if (!$this->valid()) {
            return null;
        }

        $index = $this->index;
        $front = $this->front;
        $cap = $this->cap;
        $offset = ($index + $front) % $cap;

        return $this->items[$offset];
    }
411536
public function current()
    {
        $line = fgets($this->handle);
        $this->length = strlen($line);
        fseek($this->handle, $this->offset);

        return $line;
    }
980040
public function current()
    {
        if (is_callable($this->currentCallback)) {
            $return = call_user_func($this->currentCallback, parent::current());
            return $return;
        } else {
            return parent::current();
        }
    }
458156
def get_current_data(self):
        """"""
        if self.current_imuid in self.calibration_data:
            return self.calibration_data[self.current_imuid]

        return {}
444470
def get_current_user(self):
        """"""
        url = self.current_user_url
        result = self.get(url)
        return result
1214053
public function current()
    {
        $this->currentData['stream'] = $this->repository->getBucket()->openDownloadStream($this->currentData['_id']);
        return parent::current();
    }
1001781
public function current()
    {
        $currentKey = $this->keys[$this->position];

        return isset($this->items[$currentKey]) ? $this->items[$currentKey] : null;
    }
1041239
public function current()
	{
		$doc = new DOMDocument();
		$object = simplexml_import_dom($doc->importNode($this->reader->expand(), true));
		return json_decode(json_encode($object));
	}
519076
public function current()
    {
        if ($this->type == self::KEYS) {
            return $this->current->key;
        } else {
            return $this->current->value;
        }
    }
238635
def element(self, name, attrs=None):
    """"""
    self.open(name, attrs)
    yield
    self.close()
381023
def measured_current(self):
        
        self._measured_current, value = self.get_attr_int(self._measured_current, 'current_now')
        return value