function Error::hasColumnInfo
Returns whether the error has start and end column information.
For column information enable the startFilePos and endFilePos in the lexer options.
2 calls to Error::hasColumnInfo()
- Error::getEndColumn in vendor/
nikic/ php-parser/ lib/ PhpParser/ Error.php - Gets the end column (1-based) into the line where the error ended.
- Error::getStartColumn in vendor/
nikic/ php-parser/ lib/ PhpParser/ Error.php - Gets the start column (1-based) into the line where the error started.
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Error.php, line 95
Class
Namespace
PhpParserCode
public function hasColumnInfo() : bool {
return isset($this->attributes['startFilePos'], $this->attributes['endFilePos']);
}