Files
core/vendor/microsoft/tolerant-php-parser/src/TokenStreamProviderInterface.php
T
2020-05-01 15:26:54 +09:00

20 lines
676 B
PHP

<?php
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
namespace Microsoft\PhpParser;
interface TokenStreamProviderInterface {
public function scanNextToken() : Token;
public function getCurrentPosition() : int;
public function setCurrentPosition(int $pos);
public function getEndOfFilePosition() : int;
public function getTokensArray() : array;
}