function InputStream::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.
@TODO Move this to the scanner.
Return value
int The column number.
1 method overrides InputStream::columnOffset()
- StringInputStream::columnOffset in vendor/
masterminds/ html5/ src/ HTML5/ Parser/ StringInputStream.php - 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.
File
-
vendor/
masterminds/ html5/ src/ HTML5/ Parser/ InputStream.php, line 34
Class
- InputStream
- Interface for stream readers.
Namespace
Masterminds\HTML5\ParserCode
public function columnOffset();