mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +01:00
Comment out code for handling new keywords
This commit is contained in:
parent
61574a1818
commit
3b4dd387b8
@ -112,7 +112,9 @@ class Emulative extends \PhpParser\Lexer
|
||||
}
|
||||
}
|
||||
|
||||
public function getNextToken(&$value = null, &$startAttributes = null, &$endAttributes = null) {
|
||||
// This method is currently commented out, because there are no keywords to be emulated.
|
||||
// Add it back once new keywords are added.
|
||||
/*public function getNextToken(&$value = null, &$startAttributes = null, &$endAttributes = null) {
|
||||
$token = parent::getNextToken($value, $startAttributes, $endAttributes);
|
||||
|
||||
// replace new keywords by their respective tokens. This is not done
|
||||
@ -128,5 +130,5 @@ class Emulative extends \PhpParser\Lexer
|
||||
}
|
||||
|
||||
return $token;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user