MatchTokenEmulator.php
Namespace
PhpParser\Lexer\TokenEmulatorFile
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ MatchTokenEmulator.php
View source
<?php
declare (strict_types=1);
namespace PhpParser\Lexer\TokenEmulator;
use PhpParser\PhpVersion;
final class MatchTokenEmulator extends KeywordEmulator {
public function getPhpVersion() : PhpVersion {
return PhpVersion::fromComponents(8, 0);
}
public function getKeywordString() : string {
return 'match';
}
public function getKeywordToken() : int {
return \T_MATCH;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
MatchTokenEmulator |