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

Breadcrumb

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

function ReverseEmulator::emulate

Overrides TokenEmulator::emulate

File

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

Class

ReverseEmulator
Reverses emulation direction of the inner emulator.

Namespace

PhpParser\Lexer\TokenEmulator

Code

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

API Navigation

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