From 5513073a532e65db18907759ab7ea90c8222c2c6 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 1 May 2015 20:06:15 +0200 Subject: [PATCH] Drop Lexer::getPosition() This was a leftover from the original column info implementation. --- lib/PhpParser/Lexer.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/PhpParser/Lexer.php b/lib/PhpParser/Lexer.php index 25cb465..e6fb02a 100644 --- a/lib/PhpParser/Lexer.php +++ b/lib/PhpParser/Lexer.php @@ -214,15 +214,6 @@ class Lexer return $this->tokens; } - /** - * Get's the current token-index (position in tokens). - * - * @return int - */ - public function getPosition() { - return $this->pos; - } - /** * Handles __halt_compiler() by returning the text after it. *