/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/ |
H A D | KeywordEmulator.php | 16 protected function isKeywordContext(array $tokens, int $pos): bool { 25 public function emulate(string $code, array $tokens): array { 38 private function getPreviousNonSpaceToken(array $tokens, int $start): ?Token { 50 public function reverseEmulate(string $code, array $tokens): array {
|
H A D | AsymmetricVisibilityTokenEmulator.php | 19 public function emulate(string $code, array $tokens): array { 44 public function reverseEmulate(string $code, array $tokens): array { 72 protected function isKeywordContext(array $tokens, int $pos): bool { 82 private function getPreviousNonSpaceToken(array $tokens, int $start): ?Token {
|
H A D | NullsafeTokenEmulator.php | 17 public function emulate(string $code, array $tokens): array { 56 public function reverseEmulate(string $code, array $tokens): array {
|
H A D | ExplicitOctalEmulator.php | 17 public function emulate(string $code, array $tokens): array { 41 public function reverseEmulate(string $code, array $tokens): array {
|
H A D | AttributeEmulator.php | 17 public function emulate(string $code, array $tokens): array { 34 public function reverseEmulate(string $code, array $tokens): array {
|
H A D | TokenEmulator.php | 18 abstract public function emulate(string $code, array $tokens): array; 24 abstract public function reverseEmulate(string $code, array $tokens): array;
|
H A D | ReverseEmulator.php | 26 public function emulate(string $code, array $tokens): array { 30 public function reverseEmulate(string $code, array $tokens): array {
|
H A D | EnumTokenEmulator.php | 20 protected function isKeywordContext(array $tokens, int $pos): bool {
|
H A D | ReadonlyTokenEmulator.php | 20 protected function isKeywordContext(array $tokens, int $pos): bool {
|
H A D | ReadonlyFunctionTokenEmulator.php | 27 public function reverseEmulate(string $code, array $tokens): array {
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | CommentAnnotatingVisitor.php | 14 private array $tokens; variable in PhpParser\\NodeVisitor\\CommentAnnotatingVisitor 23 public function __construct(array $tokens) {
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 39 private $tokens; variable in AnonymousClass0557d2a90100 42 public function setTokens(array $tokens): void {
|
/PHP-Parser/lib/PhpParser/ |
H A D | Lexer.php | 69 protected function postprocessTokens(array &$tokens, ErrorHandler $errorHandler): void {
|
H A D | ParserAbstract.php | 134 protected array $tokens; variable in PhpParser\\ParserAbstract
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | TokenStream.php | 14 private array $tokens; variable in PhpParser\\Internal\\TokenStream 23 public function __construct(array $tokens, int $tabWidth) {
|
/PHP-Parser/lib/PhpParser/Lexer/ |
H A D | Emulative.php | 125 private function fixupTokens(array $tokens): array {
|
/PHP-Parser/test/PhpParser/Lexer/ |
H A D | EmulativeTest.php | 121 private function assertSameTokens(array $expectedTokens, array $tokens): void {
|