Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TokenEmulator.php

function TokenEmulator::reverseEmulate

Parameters

Token[] $tokens Original tokens:

Return value

Token[] Modified Tokens

6 methods override TokenEmulator::reverseEmulate()
AsymmetricVisibilityTokenEmulator::reverseEmulate in vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
AttributeEmulator::reverseEmulate in vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php
ExplicitOctalEmulator::reverseEmulate in vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php
KeywordEmulator::reverseEmulate in vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/KeywordEmulator.php
NullsafeTokenEmulator::reverseEmulate in vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NullsafeTokenEmulator.php

... See full list

File

vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/TokenEmulator.php, line 24

Class

TokenEmulator
@internal

Namespace

PhpParser\Lexer\TokenEmulator

Code

public abstract function reverseEmulate(string $code, array $tokens) : array;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal