You are here

public function Scanner::columnOffset in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/src/HTML5/Parser/Scanner.php \Masterminds\HTML5\Parser\Scanner::columnOffset()

Returns the current column of the current line that the tokenizer is at.

Newlines are column 0. The first char after a newline is column 1.

Return value

int The column number.

File

vendor/masterminds/html5/src/HTML5/Parser/Scanner.php, line 206

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

public function columnOffset() {
  return $this->is
    ->columnOffset();
}