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

Breadcrumb

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

function ReverseEmulator::reverseEmulate

Overrides TokenEmulator::reverseEmulate

File

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

Class

ReverseEmulator
Reverses emulation direction of the inner emulator.

Namespace

PhpParser\Lexer\TokenEmulator

Code

public function reverseEmulate(string $code, array $tokens) : array {
    return $this->emulator
        ->emulate($code, $tokens);
}

API Navigation

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